Re-protection of VM after failing over Azure

Anonymous
2021-12-04T00:26:18.38+00:00

Received the following error when tried re-protecting the vm after doing a failover. Can someone please point me in the right direction?

Error Details
Installing Mobility Service and preparing target
Error ID
539
Error Message
The requested action couldn't be performed by the Replication Provider.
Possible causes
The Provider action failed. Check other errors for more information.
Recommendation
Resolve the issue and retry the operation.
First Seen At
12/3/2021, 4:12:55 PM
Error ID
28089
Error Message
Virtual machine 'dev-web-001' under resource group 'dev' could not be updated. Details: 'The requested size for resource '/subscriptions/****/resourceGroups/dev/providers/Microsoft.Compute/virtualMachines/dev-web-001' is currently not available in location 'canadaeast' zones '' for subscription '***'. Please try another size or deploy to a different location or zones. See https://aka.ms/azureskunotavailable for details.'.
Possible causes
Check Azure error message for more information.
Recommendation
Resolve any errors and retry the operation.
First Seen At
12/3/2021, 4:12:55 PM

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

Accepted answer
  1. SadiqhAhmed-MSFT 49,326 Reputation points Microsoft Employee Moderator
    2021-12-07T07:57:09.013+00:00

    Once the test failover is successful, you should be able to re-protect VMs.

    Regarding VM size availability, there could be two reasons:

    1. There could be region availability constraints
    2. There could be limitations for regions availability at subscription level

    For the first one, you need to choose a different region as a workaround
    For the second one, you need to contact Azure subscription management team by raising a support request to enable region availability for your subscription.

    For your reference - https://learn.microsoft.com/en-us/answers/questions/644707/azure-site-recovery-vm-sizes.html?childToView=654045#answer-654045

    Once the regions are enabled for your subscription you can re-protect your VMs in the desired region.

    If re-protect option is grayed out:

    Go to "Site recovery job" check for failed jobs and restart it. That way you can re-protect VMs.

    ----------------------------------------------------------------------------------------------------------------------

    If the response helped, do "Accept Answer" and up-vote it

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Manu Philip 20,206 Reputation points MVP Volunteer Moderator
    2021-12-04T03:52:17.883+00:00

    As the error message indicates, the zone which you are trying to has, the sku is not available. To verify it through PowerShell, try the following command and see the SKU is listed there.

    Get-AzVMSize -Location canadaeast 
    

    If the above command lists the VM size, the issue can be something related to the azure subscription's limitation. Another possibility is you are trying this in a 'spot instance', which is not currently available at the location

    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.