Wednesday, 11 June 2025

Renaming root Business Unit in Dynamics crm

 There is a surprisingly easy solution for this.  

Go to the business unit form (where you normally change the name of businessunit name).  

Notices "Parent Business" unit field is required. We just need to remove that validation. We can do that with a harmless script.

Open browser DevTools (F12) -> open tab Console -> Write or paste following script: -> and press enter.

5756.script.png

Xrm.Page.getAttribute("parentbusinessunitid").setRequiredLevel("none")

The "Parent Business" field is no longer required!
Now change the name and press save. 

No comments:

Post a Comment

How to Call an Action through Power Automate(MS Flow)

  Introduction As Microsoft is providing us more flexibility with Power Automate (MS Flow), recently we found that now we can call the Actio...