Dynamics Portal - Hide 'Sign in with External Account' and 'AzureAD' button

Disable external accounts login for Dynamics 365 Portal


I came across a requirement in a project where we need to restrict portal users using AzureAD or External accounts to create login accounts. After some digging, I figured out the steps to be performed to disable external accounts and AzureAD.

Now, let’s look at steps
External Account

  •        Navigate to Portals -> Website -> Site Settings.
  •         Search/find record Authentication/Registration/ExternalLoginEnabled and then open the record.
  •         Update value to ‘false’ and save the record.

AzureAD

  •        Navigate to Portals -> Website -> Site Settings.
  •         Search/find record Authentication/Registration/AzureADLoginEnabled and then open the record.
  •         Update value to ‘false’ and save the record.

Once the updates are made, the changes are reflected in the portal in sometime. Make sure, your cache is cleared to see the changes.

Comments

Popular posts from this blog

Dynamics 365 - Dynamically create Custom Lookup View(JavaScript)

Dynamics 365 - Xrm WebAPI

Microsoft Portal JavaScript