Saturday, October 21, 2017

Microsoft Dynamics 365 for Finance & Operations - Change the standard URL in a VHD Machine

Hi All

In a Business scenario, we can setup several VHD all-in-one box Environments in the same Datacenter for various purpose.
One issue is the standard base URL that usually is https://usnconeboxax1aos.cloud.onebox.dynamics.com/ for all Envs.

In order to change it and allow the team to reach the different Envs, for each Dev Box replace “usnconeboxax1aos” with the desired URL like “XXXXXXX”:

1-  Modify Endpoint URL on IIS

2- Modify web.config files in the C:\AOSService\webroot and replace all standard “url name” entries with the new one (XXXXX)

3- Modify wif.services.config as per the previous step 

4- Again on the VHD VM, modify “Hosts” file on C:\Windows\System32\drivers\etc like that:
127.0.0.1           xxxxx.
cloud.onebox.dynamics.com

5-  Change the “hosts” file on C:\Windows\System32\drivers\etc in your Laptop, like:XX.XX.XX.XX     xxxx.cloud.onebox.dynamics.com 
where XX.XX.XX.XX will be the IP of the VHD Box
You have to add an entry for each VHD URL Env.

6- As the last step, make the Admin User Provisioning


Till Soon!


5 comments:

Gabriele Solieri said...

Ciao Denis,
edit file hosts of PC of collegue or customer can be difficult, for a customer I created a new DNS zone in Active Directory that is called exactly as url of the VM and inside I created a new record A, without name, with the IP of the VM

Gabriele

Denis Macchinetti said...

Great Gabriele, you are right.

As you know we share our first experience that for sure can be improve.
So again thank you!

Lastly, when you change the standard URL the Workflow and the Task Recorder download doesn't work.

I'm trying to find an workaround and I hope in the next days I came up with another post.

If you find an workaround feel free to share with us!

Greetings!

Gabriele Solieri said...

hi,
I know that it's important share experiance and my post is for improve it :)
I think in the next days I'll must work with workflow issue ...

see you soon.

Gabriele

Anime Lover said...

Hello , thanks for this post but it didn't work with me and the VHD crashed and gave me internal error 500, can you suggest what to do?

mahesh chemmala said...

usefull article. Thanks for sharing.
MS Power BI Training in Hyderabad