Источник:
https://atinkerersnotebook.com/2024/...t-cheat-sheet/
==============
Creating a local virtual machine (VM) for Dynamics 365 Finance & Operations (F&O) or Supply Chain Management (SCM) can be a highly valuable setup for testing and development. Here’s a step-by-step guide to building and configuring a new VM using a demo database.
Step 1: Building a 10.0.39 VM
- Download the Archive Files: Begin by downloading the 10.0.39 version archive files from Microsoft’s Lifecycle Services (LCS).
- Extract the Files: After downloading, extract the files to a designated location on your system.
- Create a Virtual Hard Disk (VHD): Using Hyper-V Manager, create a new VHD for the VM. For optimal performance, allocate as much memory as possible (32,868MB is recommended for smoother operations).
- Start the VM: Once the VM is set up and configured, boot it up to initiate the virtual environment.
Step 2: Extend the VM License
- Rearm the VM: Open the Command Prompt as an Administrator and enter the following command:
slmgr /rearm
This will extend the licensing period for the VM.
- Reboot the VM: After rearming, restart the VM to apply the license extension.
Step 3: Configure Security and Admin User
- Create a Signed Certificate: Run the certificate creation batch file to establish a signed certificate for secure communications.
- Provision an Admin User: Execute the Admin User Provisioning Tool located at:
C:\AOSService\PackagesLocalDirectory\bin\AdminUserProvisioning.exe
This tool configures an administrator account for access and system management.
- Start the Azure Storage Emulator: Launch the Azure Storage Emulator to enable necessary storage for F&O operations.
- Test F&O with the Default Database: At this point, verify that the F&O environment runs smoothly with the default database. This ensures the VM setup is correctly configured before moving on to the demo database replacement.
Step 4: Replace the Demo Database
- Open SQL Server Management Studio (SSMS): Connect to the SQL Server instance where your F&O database is hosted.
- Replace the AXdb Database: Within SSMS, replace the existing AXdb database with the new demo database. This will refresh your VM with a demo environment suitable for testing.
- Re-run the Admin User Provisioning Tool: After updating the database, run the Admin User Provisioning Tool once more to ensure the admin settings apply to the new database configuration.
Summary
Congratulations! You’ve successfully set up a new local VM with the Dynamics 365 F&O demo database. This environment is now ready for testing and development, providing a robust local setup that can emulate a production or sandbox environment.
Источник:
https://atinkerersnotebook.com/2024/...t-cheat-sheet/