作者:鹏63213 | 来源:互联网 | 2023-08-29 22:18
Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD)
 
Part I – Create and use Virtual machine
Life cycle services
 
1.     Login to Lifecycle services using your work account. URL: https://lcs.dynamics.com/
2.     Go to Shared asset library. Direct URL: https://lcs.dynamics.com/V2/SharedAssetLibrary
3.     Select Downloadable VHD.
4.     Microsoft publishes recent version of Dynamics 365 Operations VHD files from time to time here. Download the desired version files as indicated in below screenshot.
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/87cf9e19a07b72da.jpeg)
5.     Once all files are downloaded, extract the VHD by running “xxx01.exe” file.
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/e3d443b3d2a9a70e.jpeg)
6.     Once extracted you will see VHD file as below:
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/67e1cc5adc534b53.jpeg)
Windows Hyper-V Manager
 
Enable Hyper-V
1.     Enable Hyper-V manager role and restart windows. Go to control panel > programs.
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/e8a43ffdc5e7edc0.jpeg)
Create Virtual networks
 
2.     Open Hyper-V manager and create network switches
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/9f51f81ed998072e.jpeg)
External switch (To enable internet connection)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/7fa349b8d9049006.jpeg)
Internal switch (To enable local network connection)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/f90928bb83b4462c.jpeg)
Create new virtual machine
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/230cdc5847836b00.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/69d8fc3bc3bcd322.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/38936d5ab6ed19de.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/52f61132170fb8d3.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/25443701d9b66808.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/2ff1a30c4ab54975.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/aa4c7079c84b356b.jpeg)
Start Virtual machine
 
1.     Select the imported VM and click Start.
2.     Login to windows using:
User Id: Administrator
Password: pass@word1
 
Provision admin user
 
1.     On the desktop, double click “Admin user provisioning” tool.
2.     Enter your organization user account.
3.     Once user gets successfully provisioned, use below URL to access Dynamics 365 Operations: https://usnconeboxax1aos.cloud.onebox.dynamics.com
4.     Under login page use credentials for organization account user for provisioning. 
 
Part II – Configure Azure DevOps 
Azure DevOps, formerly known as Visual Studio Team Services, the source code management repository tool that's used with Dynamics 365 Operations to make. Workspaces require that every computer or VM have a unique name. DevOps team integration will fail if you have two or more VMs that have the same name. Therefore, it is crucial that you rename your VM.
1. Open the Windows Explorer, by clicking on the shortcut in the lower left corner:
2. Right click on My PC in the left and select properties.
3. Click on the "Change Settings" button.
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/1c1b82f97a2c0485.jpeg)
4. Click on the "Change" button in the System Properties -> Computer Name tab.
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/15d472f231f36b6b.jpeg)
5. Change the computer name to some unique name within your organization and click on the "OK" button.
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/35939feefbecde6e.jpeg)
6. You will be informed that you will have to restart your computer, click on the "OK" button. Then click on the "Close" button.
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/d52ed27110e829bb.jpeg)
7. You will then be prompted to restart the computer, click on the "Restart Now" button.
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/f0a94e3412c14367.jpeg)
Visual Studio (version control setup)
https://stoneridgesoftware.com/setting-up-version-control-in-dynamics-365-for-operations-with-visual-studio/
Reporting Services RS (change computer name in configuration)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/832c2fc42c86ba6e.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/5e27e8ff058f80ef.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/67ad5f9b156e5587.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/ac57b1e9bec0af40.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/c0d052d49e921b9b.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/5842fd3b62f4be13.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/ae8ed36d0a150bfd.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/148a3891b6362268.jpeg)
![Configure Dynamics 365 for Operations Virtual Machine/Virtual Hard Disk (VHD) - 文章图片](https://img7.php1.cn/3cdc5/ca23/711/63ad7ceb90e02f33.jpeg)
Activate or Rearm Windows license
By default windows license would be active for 180 days. In order to activate or rearm, follow below instructions.
Run command prompt as administrator.
slmgr –rearm
Check no of rearms left
slmgr -dlv