Asked by:
Azure ASR encrypted VM from powershell - Virtual machine's OS disk is encrypted and there is no disk information found

Question
-
I am trying to configure Replication of an encrypted VM via powershell as I need to exclude few disk in replication. However the replication is throwing below error. I couldn't find any parameter to supply the target key vault.
Following MS technote of azure to azure exclude disks
Below error:
Virtual machine's OS disk is encrypted and there is no disk information found.
Possible cause: Disk encryption information like, secret identifier and its target KeyVault resource id are missing.
Please help?
All replies
-
-
Hi,
I am enabling for Windows VM and yes referring to Microsoft documentation for enabling replication and exclude disk but the tech note doesn't say where to supply information about target 'key vault' in powershell script. (While enabling from portal, it gives option to provide target keyvault)
I am unable to post images/screenshots as my account is not yet verified.
-
-
I am following below Microsoft documentation:
https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-exclude-disks
-
-
-
These are Standard Tier VMs where encrypted is applied.
We are able to replicate these VMs using ASR, however unable to exclude disks while replicating them.
I checked but couldnt find any document telling the exclude disk is not support in Disk encrypted Windows VMs