Public IP is not attached to the VM After failover

Development Operation 1 Reputation point
2020-08-31T09:50:06.16+00:00

Public IP is not attached to the VM After failover.

I tried with this URL for automating test failover for this in runbook.

https://github.com/Azure/azure-quickstart-templates/blob/master/asr-automation-recovery/scripts/ASR-AddSingleNSGPublicIp.ps1

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

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 40,446 Reputation points Microsoft Employee
    2020-08-31T20:51:37.393+00:00

    @Development Operation You can provide the public IP address as an input in the ‘Compute and Network’ blade under VM -> Disaster Recovery. ASR will help attach the public IP address provided by you to the VM post failover.

    21692-asr-nic.jpg

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

    If an Answer is helpful, please “Accept Answer” and Up-Vote for the same which might be beneficial to other community members reading this thread.