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

Flow: how to change the style of your HTML table in Microsoft Flow

I built an HTML table in Flow and now I want to change its style. I want to add CSS style to the table rows. If we look at the  Data Operati...