Monday, February 11, 2019

d365FO - enable maintenance mode on local VM (to change Configuration keys)

Hi, you probably find the following warning message, when you try to change the Configuration keys first time on your d365FO local VM (onebox).









The official information about this issue can be found here https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/sysadmin/maintenance-mode

Or you can do it simply as follows.

  • Run command prompt as administrator
  • Execute this command
 C:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --metadatadir C:\AosService\PackagesLocalDirectory --bindir C:\AosService\PackagesLocalDirectory\Bin --sqlserver . --sqldatabase axdb --sqluser AOSUser --sqlpwd AOSWebSite@123 --setupmode maintenancemode --isinmaintenancemode true  
  • Restart AOS service in IIS
  • Go to and change those configuration keys

After finished, execute again above command with last parameter change to false. This is to disable the maintenance mode back to default.


The command prompt screen should show similar to this one.















Until the next post!








The reference URLs are here. Many thanks for the useful post.

http://axforum.info/forums/showthread.php?s=b503fc57fabe461a222753ed57cb4f8a&p=411569#post411569
https://d365technext.blogspot.com/2018/08/d365fo-one-box-vm-sql-password.html?showComment=1549887006363#c8948549465903155411


No comments:

Post a Comment