jlouie1

Results comments of jlouie1

@viverm - Any progress? I'm using Az module 2.2.0 and it's still broken.

Yes, VMware to Azure using ASR. This cmdlet has worked in the past and now I have no way of setting ASR recovered VM settings except via the web portal...

Set-AzureRmRecoveryServicesAsrReplicationProtectedItem -InputObject $vminfo01 -LicenseType WindowsServer -NicSelectionType SelectedByUser -PrimaryNic $vminfo01.NicDetailsList.NicId ` -RecoveryNetworkId /subscriptions/0c4b908f-4c31-4c3e-a3bf-50fdad9a7647/resourceGroups/RG-CRP01-DR01-SCUS-MasterRG/providers/Microsoft.Network/virtualNetworks/VN-DR01-SCUS ` -RecoveryNicStaticIPAddress $vmIP -RecoveryNicSubnetName $vmSubnet -UseManagedDisk True -Debug -------------------- Set-AzureRmRecoveryServicesAsrReplicationProtectedItem : Operation failed. ClientRequestId: 5463d9a7-34c1-4ad0-8012-506f0c9886f6-2019-06-11 13:35:01Z-Ps Object reference...

It works again in latest modules. Thanks! > Get-installedModule -Name Az 2.4.0 Az > Get-installedModule -Name Az.recoveryservices 1.4.2 Az.RecoveryServices

I had to update PowerShellGet: Install-Module –Name PowerShellGet –Force

Thanks for the fixes listed above. The error messages and documentation are no help in troubleshooting this issue. This needs to corrected as any previous scripts using this are now...