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)

Change text on button Sign In screen

(0) ShareShare
ReportReport
Posted on by 65

Hello,

Does anybody know how to change the text on the Azure AD button (see screenshot)?

Thanks!

CopyButton.PNG

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    You can use jquery to make that change on the form:

    $('button:contains("Azure")').text("My custom text")

    Also, see this article for additional customizations:

    arpitmscrmhunt.blogspot.com/.../customise-registration-page-in-crm.html

    Hope this helps.

  • timothyploegmakers Profile Picture
    65 on at

    Thanks Aric, unfortunately I'm not sure how to implement the suggested jquery solution. I've made a custom content snippet for Account/Signin/PageCopy, but then I get stuck on the complete script. Can you help me out there as well?

  • Verified answer
    - Matt Bayes - Profile Picture
    890 on at

    Hey Timothy,

    To complete Aric's suggestion, if you open the Content Snippet you created and set the type to HTML, you should see a Source symbol (</>). Clicking this will change the HTML editor to a source editor, in which you can input the following code:

    <script>
    $(document).ready(function(){
      $('button:contains("Azure")').text("Azure Active Directory");
    });
    </script>


    This will essentially run when the page is ready and set the text accordingly. You can modify the code to say whatever you desire instead of Azure Active Directory as I have set here. The Sign In page may get cached so try logging out/in again, and if no change has occurred, then try in a different browser session.

    If you have any more questions please let me know!

    Thanks!

    Matt

  • Suggested answer
    Justinjose Profile Picture
    2,707 on at

    Hi timothy,

    Please correct the name from Account/Signin/PageCopy - Account/SignIn/PageCopy - 'I' should be in Caps

    Change Value (HTML) to script '<> ' by clicking button and enter following code. 

    <script>
    alert("Alert to Check Script is loaded"); $(':button').each(function() { var text = $(this).text(); $(this).text(text.replace('Azure AD', 'Replace external text')); }); }); </script>

    finally clear the cache - https://xxxxx.microsoftcrmportals.com/_services/about and reload the page


    Thanks

    Justin Jose

  • timothyploegmakers Profile Picture
    65 on at

    Hi Justin,

    I followed your advice but I won't get the clear cache option when I go to the location. Any ideas on how to fix this?

    Thanks!

    PortalCache.PNG

  • Suggested answer
    Justinjose Profile Picture
    2,707 on at

    Hi Timothy,

    You must login with Administrator web role.

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/portals/clear-server-side-cache

    Thanks

    Justin Jose

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