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.


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


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.


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


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


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.


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.


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


Hope this helps!

Debajit Dutta

(Business Solutions MVP)

For trainings/ consulting, reach out to

Published by


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 with significant experience in delivering corporate training on Dynamics CRM and have already delivered multiple projects to client through 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 For consulting/ training, drop me a note at or visit our website

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: Logo

You are commenting using your 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