D365/AX7:Enable maintenance mode on our Dynamics environment for license configuration

Overview

In Microsoft Dynamics 365 for finance & operations, enabling of maintenance mode allows you to change varieties of  settings like license configuration.By default, maintenance mode is turned off.When maintenance mode is turned off you cannot change or edit license configuration.

You can easily enable maintenance mode in development Or UAT Or testing environment but to turn on maintenance mode in a production environment, you must submit a service request.

Steps To Complete

There are two ways you can enable maintenance mode and edit license configuration :

  1. Execute below SQL query on transaction database of environment.After executing the query, restart the environment.                                                                               update dbo.SQLSYSTEMVARIABLES
    set dbo.SQLSYSTEMVARIABLES.VALUE = 1
    where dbo.SQLSYSTEMVARIABLES.PARM = ‘CONFIGURATIONMODE’
  2. RDP on your environment.Run command prompt as administrator. Execute below command in CMD.

K:\AosService\PackagesLocalDirectory\Bin\Microsoft.Dynamics.AX.Deployment.Setup.exe –metadatadir K:\AosService\PackagesLocalDirectory –bindir K:\AosService\PackagesLocalDirectory\Bin –sqlserver . –sqldatabase axdb –sqluser <SQL admin user id> –sqlpwd <SQL users password> –setupmode maintenancemode –isinmaintenancemode true

In my case the AOS service path is in K drive but it could be in J drive also.So ensure the correct path of AOS service directory.Once environment will be restarted, you will be able to edit the license configuration.

D365/AX7:Configuration key not enabled for the entity ‘XXXXX’

Issue

Configuration key not enabled for the entity ‘XXXXX’.

Observation

Data import/export framework requires entity list is up-to-date. Refresh of Entity list is pending.

Resolution

  1. Go to Workspaces.
  2. Select Data Management.
  3. Open “Framework parameters”.
  4. Under “Data import/export framework parameters”, select fast tab “Entity Settings” and click on “Refresh Entity List”.

D365/AX7:The configuration key on the data entity ‘XXXXX’ is disabled. The tables and fields in the data entity will not be available for use in data management

Issue

The configuration key on the data entity ‘XXXXX’ is disabled. The tables and fields in the data entity will not be available for use in data management.

Observation

Data import/export framework requires entity list is up-to-date. Refresh of Entity list is pending.

Resolution

  1. Go to Workspaces
  2. Select Data Management
  3. Open “Framework parameters”
  4. Under “Data import/export framework parameters”, select fast tab “Entity Settings” and click on “Refresh Entity List”

Microsoft Dynamics AX, Microsoft Dynamics 365 for Finance and Operations, D365 FO, Retail, SQL, Microsoft Power Apps, Microsoft Power BI, Microsoft Azure, Logic Apps, Microsoft Flow, Microsoft power automate, Microsoft Power Platform,.Net, X++, C#, Power BI DAX, Data Warehousing, Microsoft Analysis Services, SQL Server Reporting Services

%d bloggers like this: