SiteRecovery-Windows Extension - Provision Failed

Ranjith Velamala 20 Reputation points
2024-10-10T12:15:26.9033333+00:00

Hi Team ,

We are replicating the Azure VM in recovery Service vault , We can see health is critical . Up on Analysis, We found that vm agent SiteRecovery-Windows is in status Provision failed which is causing the issue . We tried to uninstall and install , but still same

Command :
Set-AzVMExtension -ResourceGroupName "

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
719 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 46,201 Reputation points Microsoft Employee
    2024-10-10T14:58:26.7166667+00:00

    @Ranjith Velamala Thank you for reaching out to us!

    The "Provision failed" status indicates that the VM agent is not installed or not running properly.

    Suggest you try the following steps:

    1. Check if the VM agent is installed on the source VM. You can do this by connecting to the VM and checking if the "Windows Azure VM Agent" service is running. If it is not running, try starting the service manually.

    If the VM agent is not installed, you can install it manually by following the steps in the Azure documentation: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-windows

    If the VM agent is installed but still not running, you can try restarting the VM to see if that resolves the issue.

    If the issue persists, you can try uninstalling and reinstalling the VM agent. To do this, you can follow the steps in the Azure documentation: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/vmaccess-windows#uninstall-the-vm-agent

    If none of these steps work, you may contact Azure technical support team by raising a support request for further assistance. The ticket enables you to work closely with the support engineers and get a quick resolution to your issue.

    Here is the link - https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request to create support case.

    Snippet from the troubleshooting guide - https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-troubleshoot-errors#vm-provisioning-state-isnt-valid-error-code-150019
    User's image

    Hope this helps!

    0 comments No comments

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.