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 info@xrmforyou.com
Discover more from Debajit's Power Apps & Dynamics 365 Blog
Subscribe to get the latest posts sent to your email.
Reblogged this on Nishant Rana's Weblog.