K:\AOSService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --setupmode importlicensefile --metadatadir K:\aosservice\PackagesLocalDirectory --bindir K:\aosservice\PackagesLocalDirectory --sqlserver . --sqldatabase axdb --sqluser axdbadmin --sqlpwd *** --licensefilename "C:\Temp\A.txt"
Trinh's AX Technical Blog
Thursday, March 13, 2025
Wednesday, March 12, 2025
Apply an ISV package on a Dev environment
1. Upload the compressed package to LCS > Asset Library > Software deployable package
2. Go to Dev environment > Maintain > Apply updates > select the package
Monday, July 8, 2024
Debug in a Tier-2 (UAT) environment
From time to time, you may have to debug a copy of the production database, but you are unable to export & import the DB to your dev machine, for example: the DB's size is too large, or it's an urgent issue, or the customer doesn't allow to export their Prod DB... Then you have to debug directly in the UAT environment.
There is an article from Microsoft that describes briefly about this here, but there is no screenshot and the information isn't detailed enough, so the purpose of this post is to guide you step by step to achive this :)
1. Find your ip address at https://nordvpn.com/what-is-my-ip/ and note it down
2. Enable just-in-time database access
Go to LCS > Select the Tier 2 environment > Maintain > Enable access
Thursday, November 23, 2023
Set up Onebox VM for D365 FO with non-organization microsoft account
With the release of the new VHD 10.0.37, I have tried to create a Onebox VM in my laptop instead of using the cloud hosted environment and found the below articles really helpful to setup the VM with my private Microsoft account:
https://alexdmeyer.com/2023/07/05/step-by-step-guide-to-deploy-a-local-vhd-of-d365fo/
https://community.dynamics.com/forums/thread/details/?threadid=01455e69-5d7e-4896-b2c6-673a49b28bfa
Thursday, October 19, 2023
Optimization advisor in D365 FO
https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/sysadmin/optimization-advisor-overview
Monday, February 27, 2023
Uninstall Store Commerce app using Power shell
1. Search for the full package name of the current MPOS using command
Get-AppxPackage -AllUsers
or
Get-AppxPackage *pos* --AllUser
then find the package of the Microsoft.Retails
2. Uninstall the package using below command
Remove-AppxPackage -AllUsers <Package name in step 1>
3. Go to Control Panel to find the Commerce app and uninstall it.
Wednesday, February 1, 2023
Creat DB snapshot in order to reuse the test data
--Taking the snapshot
Import an ISV licese file into Dev environment using Power Shell
K:\AOSService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --setupmode importlicensefile --metadatadir K:\aosservi...
-
If you faced this error when you tried to run any of the standard reports in D365FO, it's better to re-install the reporting extension i...
-
SalesFormLetter_Invoice SalesFormLetter; TmpFrmVirtual tmpFrmVirtual; List il; ; il = new List(Types::Recor...
-
When using the .net dll in X++, I faced an error "Method 'MethodName(System.Collections.Generic.List`1, System.Boolean)' is not...