How can I migrate from Azure Automation State Configuration to Azure Machine Configuration while key feature such as reboot handling and using credentials in DSC configuration blocks remain unsupported?

Chris Hill 206 Reputation points
2025-06-26T13:03:45.23+00:00

I currently use Azure Automation State Configuration to deploy DSC configurations to resources in-cloud, using the ActiveDirectoryDsc and DFSDsc modules (amongst others)

We received a notification that it will be retired on September 30, 2027, and to transition to Azure Machine Configuration (which uses DSC 2.0) by that date.

Looking through the transition documents, there are a number of key features removed from DSC 2.0 (and therefore Azure Machine Configuration - see links in brackets below):

At present, our DSC configurations use most of these:

How do we migrate to Azure Machine Configuration in this situation? In particular, how can we:

  • Generate MOF files if our configurations currently contain parameters, flow control statements, ConfigurationData, Node keywords, and composite configurations (this is quite a lot of things to lose)
  • Manage reboots? (The documentation says reboot handling 'isn't available in the public preview release' - is it something we can expect Azure Machine Configuration to handle in advance of the predecessor's retirement on September 30, 2027?)
  • Use credentials in configuration blocks / do secrets management (again documentation says 'secrets management hasn't yet been implemented for machine configuration' - when is this being implemented?)

I cannot see how you can retire the existing service when the alternative you supply does not support these key pieces of functionality (such the ability to create and deploy an on-premises domain controller?)

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,366 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.