With Azure Automation Desired State Configuration (DSC), when a Node Configuration is registered for the first time, the configuration mode is displayed correctly in the Azure Portal. However, if a subsequent change is made to the configuration mode for the Node Configuration, the configuration mode is not updated as expected in the Azure Portal.
The configuration mode can be changed by either of the following methods:
By reregistering an AzureVM DSC Node from the portal and using a new value for the configuration mode
By reregistering an on-premises DSC Node from a modified DscOnboardingMetaconfig file
Either method modifies the configuration mode in the DscLocalConfigurationManager file on the DSC Node. However, in the Azure Portal, the configuration mode is still marked as “Unknown.” If the DSC Node and all configurations are removed from the Automation account before you reregister the DSC Node, the configuration mode is still displayed as “Unknown” in the Azure Portal. There is no workaround for this behavior.
This is known issue that affects only how the configuration mode is displayed in the Azure Portal. The DSC Node still functions correctly per the settings in DscLocalConfigurationManager.