Hello,
Does anybody know how to change the text on the Azure AD button (see screenshot)?
Thanks!
*This post is locked for comments
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.
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?
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!
Matt
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
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?
Hi Timothy,
You must login with Administrator web role.
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/portals/clear-server-side-cache
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HR-09070029-0 2
UllrSki 2
ED-30091530-0 1