Hi,
When a VM that has Azure Automation State Configuration enabled stops, you can simply start it again. The Azure Automation State Configuration will ensure that the VM is configured according to the desired state as defined in your configuration. Here are the steps to follow:
- Start the VM: You can start the VM from the Azure portal, Azure CLI, or PowerShell.
- Verify Configuration Compliance: Once the VM is running, Azure Automation State Configuration will automatically apply the latest configuration to the VM. You can verify the compliance status in the Azure portal under the Automation Account -> State Configuration (DSC) -> Nodes.
Please check below docs for more ref
https://learn.microsoft.com/en-us/azure/automation/tutorial-configure-servers-desired-state
Kindly let us know if any further questions
Thanks
Deepanshu