Issue with Enable Replication for Azure Site Recovery
Hi,
I am developed the attached script for enabling replication from Vmware(on-premise) to Azure. But I am not getting any response after invoking the rest api and when I check the replication items in azue portal, the protected item is there and trying to enable the replication but somehow it is getting failed with a error on Mobility service installation and preparing target step even the Mobility service is already installed on the source server and registered with configuration server.
Note: - There is not issue with the environment setup as I have already tested the replication with the help azure portal.
Please refer the screenshot for error.
[Enable-ReplicationVMwareToAzure.zip](https://github.com/Azure/azure-
powershell/files/1420874/Enable-ReplicationVMwareToAzure.zip)
Hi Shahabhjeet,
Did you take a look into the script?
Thanks, Shubham Gupta
@shubhamgupta514 I don't believe this fucntionality is due to be released until 11/7. Assigning to the SiteRecovery team to verify.
@viverm can you take a look?
@markcowl I am facing the same error for unplanned failover api on shutting down the source VM step. Please verify that also.
@shubhamgupta514
Method ASR-EnableReplicationAPI used in script is not present in zip .
Enable-ReplicationVMwareToAzure.txt
Please find the attached script.
@viverm authentication header is already added in the script.
@viverm Authentication header is already added
please find the attached script Enable-ReplicationVMwareToAzure.txt