question

63601761 avatar image
0 Votes"
63601761 asked Monalla-MSFT commented

Azure Migrate Replication

While we are running powershell script for migrate job we are getting error...I think we are not getting the disk Uuid ..pls help

azure-migrate
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@63601761 - Thanks for reaching out and apologies for the delay in response.

Can you please provide more info on the script that you are running for migration and the error details as well?

0 Votes 0 ·

@63601761 - Thanks for reaching out and apologies for the delay in response.

Can you please provide more info on the script that you are running for migration and the error details as well?

0 Votes 0 ·

1 Answer

Monalla-MSFT avatar image
0 Votes"
Monalla-MSFT answered Monalla-MSFT commented

@63601761 - Thanks for reaching out.
Since we havent heard back from you on exactly what type of replication script you are running, sharing few docs here for process of
1. Migrate to Azure VMs,
2. Migrate to Azure SQL
3. Migrate to App Service
4. Migrate to Azure VMware Solution



Hope this helps. And if you have any further questions or clarifications, please dont hesitate to reach out back to us.



If the above response is helpful, please feel free to "Accept as Answer" and "upvote' the same so it can be beneficial to the community.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello Team,

I still see this issue exists.

I'm following this document to migrate VMware VM to Azure using Powershell Module. When replicating VM i'm getting the below error. It appears disk UUID is not getting discovered. Please assist. Let me know if you Need any additional details.

Document using:
https://docs.microsoft.com/en-us/azure/migrate/tutorial-migrate-vmware-powershell

tried with Powershell 5.1.22581.1
Powershell Version 7.2.2

Start replication for a discovered VM in an Azure Migrate project


$MigrateJob = New-AzMigrateServerReplication -InputObject $DiscoveredServer -TargetResourceGroupId $TargetResourceGroup.ResourceId -TargetNetworkId $TargetVirtualNetwork.Id -LicenseType NoLicenseType -OSDiskID $DiscoveredServer.Disk[0].Uuid -TargetSubnetName $TargetVirtualNetwork.Subnets[0].Name -DiskType Standard_LRS -TargetVMName MyMigratedTestVM -TargetVMSize Standard_DS2_v2
Cannot index into a null array.
At line:1 char:1
+ $MigrateJob = New-AzMigrateServerReplication -InputObject $Discovere ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray

0 Votes 0 ·

@Ultra-2502 - Thanks for reaching out to us and sorry for the inconvenience caused to you.

I have looked into this in detail and looks like we need to troubleshoot further,

We would like to put you in touch with a support engineer so you can receive 1:1 support for a deeper investigation on this.

We would need you to send us an email at AzCommunity@Microsoft.com by providing below details.
Subject : ATTN:Monika
1) Subscription ID
2) A link to this thread.
Please email us these details and we will work with you closely to get this issue taken care of and also post any findings here in the thread so the community can benefit from it.
Thanks in advance. Looking forward for your email.

0 Votes 0 ·