Open TRViana opened 5 years ago
The ARM template is defined in generic way to support any VM OS. But looks like in Windows 2016 Datacenter is taking more time to get Guest Agent available and hence configure protection is failing. I don't think there's way to add time-wait in ARM template. Let me check and get back on why on this specific OS version there's delay in Guest Agent availability.
are there any news on this one?
Templates: [azure-quickstart-templates / 101-recovery-services-create-vm-and-configure-backup / azuredeploy.json] (https://github.com/Azure/azure-quickstart-templates/blob/master/101-recovery-services-create-vm-and-configure-backup/azuredeploy.json)
Issue Details
Customer that is using a Microsoft template deployment to automatically create the VM and enable the backup. The template deployment is failing with the following error: 'code': 'UserErrorGuestAgentStatusUnavailable', 'message': 'VM agent is unable to communicate with the Azure Backup Service.' The issue occurs only when OS selected is Windows 2016 Datacenter, if we choose Windows 2012 R2 the deployment is successful. After VM creation the agent is not ready, which leads to a failure in the backup configuration
Probably adding a time-wait (if possible) after configuring and deployment to allow the VM Guest agent to be ready, it could solve the issue.
Thanks!