Re: Environment Unique Name
you need to change the env name through dynamics 365 admin page:
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/edit-properties-instance
Fast Url To instance selector:
https://port.crm.dynamics.com/G/Instances/InstancePicker.aspx
For example
Here are the resulting changes If you renamed your D365 instance related to the CDS enviroment "Model Drive Production" to "MdpEnv":
"Model Drive Production (org3...)"
"Model Drive Production (MdpEnv)"
Http://or3...crm.dynamics.com
Http://MdpEnv.crm.dynamics.com
Note: The url change will work immedately. However, it will take a long time for reflection to visually change throughout all of O365.
Mine took over a week to display correctly...so I am guessing its at the mercy of some scheduled sync session.
If you also want to change the root Business Unit (BU) that is automatically created on deployment, then you cannot currently use D365 to do it. (every time you try and change the record through D365's edit record window it will refuse to save your BU changes due to a Business Requirement on the form stating that a parent business unit record is required)
A current workaround ive found is to create a microsoft flow that updates the BU record with the terrible name with what you want. This change will update immediately.
Step 1: get the Record Identifier of the BU with the terrible name:

Step 2: Create a Microsoft Flow document that updates the record with your new name. I am not sure if the updated CDS connector works, but I do know that the Dynamics 365 connector does!
