Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Change text on button Sign In screen

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

  • Suggested answer
    Justinjose Profile Picture
    Justinjose 2,707 on at
    RE: Change text on button Sign In screen

    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

  • RE: Change text on button Sign In screen

    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
    Justinjose 2,707 on at
    RE: Change text on button Sign In screen

    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

  • Verified answer
    - Matt Bayes - Profile Picture
    - Matt Bayes - 890 on at
    RE: Change text on button Sign In screen

    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

  • RE: Change text on button Sign In screen

    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?

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Change text on button Sign In screen

    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.

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