In my previous blog posts, I have explained on how to enable custom authentication for your Dynamics 365 portals (ADX portals) with Identity providers like Azure Active Directory & Google/ facebook.
Link for those:
Below are the options my user get when they try to sign in or register in my portal.
So what in case you get a requirement to disable all these external authentication modes. Thinking that you might need to delete all the configurations. You worked so hard in setting this all up and you now need to delete them all. What if you need to re-enable again?
Well there is a life savior for you when it comes to D365 Portals. And believe me, it’s just creating a new site setting or changing the value if the site setting already exists.
Go to CRM –> Portals –> Site Settings.
In the list of Site Settings already present, search for the one with the Name = Authentication/Registration/ExternalLoginEnabled
If found open the existing record or create if not found.
Change the value of this record to false. Your setting should have the values in the below screenshot.
Save & Close the record.
Now go to your portal and refresh. You would see that the custom authentication options are no longer visible.
So in case you need to turn this back on, all you need to do is to go to your Site Settings and turn this flag back to true.
Simple isn’t it and I hope liked it.
-Debajit Dutta (Dynamics MVP)
For consulting & training, please drop a note to email@example.com
(Visit our products page – http://www.xrmforyou.com/products-1.html to know more about our offerings)