Setting up default authentication provider in PowerApps/ Dynamics 365 Portals using identity provider configuration UI

In this blog, I will set-up the default portal authentication provider using the new PowerApps/ Dynamics 365 Portal identity provider configuration UI. If you are not aware of the preview feature, please visit the previous blog to know more about this new preview feature.

So below is the identity provider screen.

Advertisements
image_thumb[5]

And by default, Azure Active directory and Local sign in is enabled. Say we want to enable Azure Active Directory as the default authentication. Before this UI, came into effect we needed to create some site setting configurations to do the same. But now it’s quite easy. All we need to do is click the three dots in Azure Active Directory and mark it as default

image

You will get a confirmation box. Just click OK.

Once done, you will see a tick in pink with the associated provider which basically means it is the default provider.

image

What exactly happened here. In-fact your simple click on the UI level actually created a site setting-

Advertisements

Authentication/Registration/LoginButtonAuthenticationType with the appropriate authorization provider URL.

image

Previously you would need to find the appropriate guid and create the site setting  on your own. Procedure described here. If you go through the blog, you will see there is one more site setting that you need modify. You need to disabled external login.

Advertisements

So do I need to go back to old way of modifying it. Well no. You can do through this UI only.

All you need to do is modify the Authentication settings. Save it.

image

And you are done. And now when you click Sign In, you would be automatically signed in using Azure AD.

Advertisements

Hope this helps!

Debajit Dutta

(Business Solutions MVP)

For trainings/ consulting, reach out to info@xrmforyou.com

Published by

Debajit

I am a Dynamics CRM Most Valuable Professional (MVP) with 12 years of experience in Microsoft .NET Technologies and 9 years of dedicated experience in Microsoft Dynamics CRM. I have worked with companies like Microsoft, SanDisk, PwC, TMF Group and have extensive experience of implementing complex CRM solutions from both offshore and client side. Currently the face of XrmForYou.com with significant experience in delivering corporate training on Dynamics CRM and have already delivered multiple projects to client through XrmForYou.com Author of multiple tools on codeplex including the 'Role Based Views' and 'CRM-Sharepoint Metadata manager & Attachment Extractor' which are available for commercial use under XrmForYou.com For consulting/ training, drop me a note at info@xrmforyou.com or visit our website www.xrmforyou.com

One thought on “Setting up default authentication provider in PowerApps/ Dynamics 365 Portals using identity provider configuration UI”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s