Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Hide the Azure AD button into Singin page on Customer Service Portal

Posted on by Microsoft Employee

    Hi all, I have a question about portals,  we need to hide the Azure AD button into Singin page on Customer Service Portal

 

    What is the method supported to achieve it?

 

    Although Authentication/Registration/ExternalLoginEnabled key be set to false Azure AD button still appears.

 

    Thanks and regards.

*This post is locked for comments

  • Suggested answer
    Summer Garg Profile Picture
    Summer Garg 585 on at
    RE: Hide the Azure AD button into Singin page on Customer Service Portal

    Hi Juan......

    check this article to hide azure button.....

    crmhub.blogspot.in/.../Hide-AzureAD-Button-in-D365-Portal.html

    If you have performed all the steps which mention in this article....... then it must be problem of cache.........To resolve cache problem..... check this article......

    crmhub.blogspot.in/.../cache-problem-in-d365-portal-adx-studio-Portal.html

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Hide the Azure AD button into Singin page on Customer Service Portal

    Clearing the cache with "/_services/about" worked for me as well with d365 CRM portals.

    This information helped me solve my issue.

  • Nick.Doelman Profile Picture
    Nick.Doelman 1,947 Most Valuable Professional on at
    RE: Hide the Azure AD button into Singin page on Customer Service Portal

    I found on my portals I did NOT have to restart the portal.  Clearing the cache via the "/_services/about" is all I had to do.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: Hide the Azure AD button into Singin page on Customer Service Portal

    Hi,

    There is no need to write a code to achieve this. This is possible OOB:

    If you have already been made the value of site setting to 'False'Then Restart the Portal is the mandatory steps to get this reflected on Portal.

    See below:

    https://community.dynamics.com/crm/f/117/t/267151

    https://community.dynamics.com/crm/b/nishantranaweblog/archive/2018/02/15/hide-sign-in-with-an-external-account-from-dynamics-365-portal


    If found useful, please mark the answer as verified.

    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

  • Suggested answer
    Nick.Doelman Profile Picture
    Nick.Doelman 1,947 Most Valuable Professional on at
    RE: Hide the Azure AD button into Singin page on Customer Service Portal

    This appears to have been recently fixed in portals.  Add the following site setting and set to "false"

    Authentication/Registration/AzureADLoginEnabled

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Hide the Azure AD button into Singin page on Customer Service Portal


    Paul, first sorry for not answering before (I've been out of order for a few months), secondly this workaround was enough to cover my case, thank you very much.

  • Verified answer
    RE: Hide the Azure AD button into Singin page on Customer Service Portal

    I contacted Microsoft and they said to modify the theme.css by adding the following at the end of the file:

    .btn-line {

                    visibility: hidden;

    }

    This did hide the button... but you then need to blank out the "External Sign-in...." text.  The two lines are still there so I blanked out the "Sign In" text as well.  The lines are a little annoying but it is ok for a workaround... Hopefully they fix the "Authentication/Registration/ExternalLoginEnabled" parameter to work as expected.

  • Suggested answer
    sandeepc Profile Picture
    sandeepc 5,005 on at
    RE: Hide the Azure AD button into Singin page on Customer Service Portal

    docs.microsoft.com/.../active-directory-b2c-reference-ui-customization

  • Suggested answer
    philc79 Profile Picture
    philc79 90 on at
    RE: Hide the Azure AD button into Singin page on Customer Service Portal

    I had the same issue and followed zabbys idea of hiding the button and label using css - the post is at: community.dynamics.com/.../208312

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans