web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    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.

  • Chris Vine Profile Picture
    on at

    Did this hide the Button underneath as well?

  • Suggested answer
    Community Member Profile Picture
    on at

    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
    on at

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

  • kphenix Profile Picture
    4 on at

    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>

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans