Tuesday, March 12, 2019

Microsoft Dynamics 365FO edit licence configurations

Even if you have admin rights you still may not able to edit licence configurations on your development VM. It is because the maintenance mode is disabled. You have to run the following command on VM to enable maintenance mode. Run CMD as administrator and execute following command:

C:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --metadatadir C:\AosService\PackagesLocalDirectory --bindir C:\AosService\PackagesLocalDirectory\Bin --sqlserver . --sqldatabase axdb --sqluser axdbadmin --sqlpwd AOSWebSite@123 --setupmode maintenancemode --isinmaintenancemode true

In the previous command the AOS is installed in 'C' drive, the database administrator user is 'axdbadmin' and its password is the default password of axdbadmin 'AOSWebSite@123'.

After running this command make sure to refresh your browser; in case it doesn't work reset IIS and login again it will work.

No comments:

Post a Comment