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:
- 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.
- 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).
- 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.
- 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: