Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Microsoft CRM Portals - Editing SignIn Page possible?

(0) ShareShare
ReportReport
Posted on by

Hi All,

I've been informed that with the latest release of Microsoft CRM Portals for Dynamics 365 that we cannot hide the 'Sign in with an external account' - Azure AD. 

We have updated the Site Settings which in previous versions would hide it - but now it's not possible.

Has anyone performed a workaround via JavaScript?

Also, has anyone ever completely re-done the SignIn page, as the designs provided by the Customer look nothing like the default...

*This post is locked for comments

  • kphenix Profile Picture
    kphenix 2 on at
    RE: Microsoft CRM Portals - Editing SignIn Page possible?

    Add this to your Footer web template

    <script>

    var signLocation = window.location.href;

     if(/signin/i.test(signLocation)) {

       $('form').parents(".col-md-6:last").remove();

     }

    </script>

  • Chris Vine Profile Picture
    Chris Vine on at
    RE: Microsoft CRM Portals - Editing SignIn Page possible?

    What would that code look like? I don't quite understand :-( Your help is greatly appreciated.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft CRM Portals - Editing SignIn Page possible?

    If this does not work, you can check the button by inspect element and use its id, class, title or any other attribute (which uniquely identifies it) to hide it.

  • Chris Vine Profile Picture
    Chris Vine on at
    RE: Microsoft CRM Portals - Editing SignIn Page possible?

    Did this hide the Button underneath as well?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft CRM Portals - Editing SignIn Page possible?

    Yes, we did it using JS. added JS to header and called a function using settimeout. You can hide it using below JS

    if (document.querySelector("a[title='Manage External Authentication']") != null)

           document.querySelector("a[title='Manage External Authentication']").style.display = "none";

    You can also use JQuery if you want.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans