To move D365 F&O environment in maintenance
mode:
Below are few steps to move D365 F&O environment in "Maintenance mode".
1. User should have “Maintenance mode user” role in AX.
Below are few steps to move D365 F&O environment in "Maintenance mode".
1. User should have “Maintenance mode user” role in AX.
2.
Open Command prompt as Adminstrator and execute below
command
Command: J:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --metadatadir J:\AosService\PackagesLocalDirectory --bindir J:\AosService\PackagesLocalDirectory\Bin --sqlserver . --sqldatabase axdb --sqluser axdbadmin --sqlpwd ********* --setupmode maintenancemode --isinmaintenancemode false
Command: J:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe --metadatadir J:\AosService\PackagesLocalDirectory --bindir J:\AosService\PackagesLocalDirectory\Bin --sqlserver . --sqldatabase axdb --sqluser axdbadmin --sqlpwd ********* --setupmode maintenancemode --isinmaintenancemode false
Pass = true, to make environment in maintenance mode.
Restart AOS service from LCS.
3. To make environment out of maintenance mode pass = false.
3. To make environment out of maintenance mode pass = false.
Then restart AOS service from
LCS.
Put environment in Maintenance mode using SQL server:
In case if you face any issue, please feel free to reach me at my personal email, I would be happy to get your queries on "daxmanish@outlook.com".
Enjoy :)
Put environment in Maintenance mode using SQL server:
1. Open Sql Server Management Studio in the AX VM
2. Expend AXDB database
3. Either execute the following command, update SQLSYSTEMVARIABLES SET VALUE = 1 where PARM = 'CONFIGURATIONMODE'
or
Edit the table directly as below:
- Restart the Service Fabric service against all AOSs Node
In case if you face any issue, please feel free to reach me at my personal email, I would be happy to get your queries on "daxmanish@outlook.com".
Enjoy :)