Disabled Azure Site Recovery stuck, can't create another one

Steve Downey 5 Reputation points
2025-12-02T16:21:53.1633333+00:00

I had Azure Site Recovery working fine for a VM, but I needed to change the tier of the source VM hard drive, so for replication to work after I had to disable it and intend to enable it again, but it's struck on "You cannot modify any settings as replicated item current state doesn't allow it." for 2 days and I can't get rid of it.

What can i do?

In the site recovery vault this VM isn't listed anymore under replications.

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

3 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-02T16:22:11.48+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    If you're experiencing issues with Azure Site Recovery being stuck and unable to modify settings for your VM, here are some steps you can take to resolve the problem:

    1. Check for Resource Locks: Ensure that there are no resource locks on the VM or the resource group. If there are locks, they need to be removed before you can modify the settings.
    2. Remove Stale Configuration: If the VM isn't listed under replications in the Site Recovery vault, it might be due to stale configurations. You can use the script to remove stale Site Recovery configurations. Download the script from the provided GitHub link and run it with the appropriate parameters (Subscription ID, VM Resource Group, and VM name).
    3. Wait for Cleanup Jobs: Sometimes, Azure may take time to complete background cleanup jobs. If you have recently disabled replication, it may still be processing. You can check the Azure portal for any ongoing jobs related to the VM.
    4. Contact Azure Support: If the above steps do not resolve the issue, consider reaching out to Azure Support for further assistance, as they can provide more detailed insights into your specific situation.

    By following these steps, you should be able to troubleshoot and resolve the issue with Azure Site Recovery for your VM.


    References:


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Bharath Y P 2,560 Reputation points Microsoft External Staff Moderator
    2025-12-02T19:03:31.1433333+00:00

    Hello Steve Downey,

    It looks like you're having trouble with Azure Site Recovery after modifying the VM's hard drive tier. That can be frustrating! Here are some steps you can try to resolve the issue:

    1. Check the Status: Make sure the Azure Site Recovery replication job isn't running or stuck. Go to the Azure portal, navigate to your Recovery Services vault, and check under "Site Recovery Jobs" for any ongoing jobs related to your VM.
    2. Retry Disabling Replication: Sometimes, the Azure portal may take time to reflect changes. You can try to disable the replication again for the VM. Go to the "Replicated Items" in your Recovery Services vault, find the VM, and click on "Stop Replication." If it's unresponsive, wait a few more hours and try again.
    3. PowerShell Command: If the above steps don't work, you might need to use PowerShell to forcefully disable replication. You can use the Stop-AzSiteRecoveryProtection cmdlet. Here's a basic example:
      
         Stop-AzSiteRecoveryProtection -ResourceGroupName "YourResourceGroup" -VaultName "YourVaultName" -Name "YourVMName" -Force
      
      
      Make sure to replace the placeholders with your actual resource group, vault name, and VM name.
    4. Re-enable Replication: Once the replication has been successfully stopped, you should be able to set it up again by following the usual process in the UI or via PowerShell.

    I hope this helps you get unstuck! Let me know if you have further questions.

    Reference documents :

    Hope this helps, if you need further assistance. Feel free to reach out to us, thanks.


Your answer

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