If you get an error when you are creating your Recovery service like below,
New-AzureRmRecoveryServicesVault : Operation failed.
ClientRequestId: 3f3842bd-7638-469e-a14c-46c230221d9b-2018-07-03 07:49:41Z-P
One or more errors occurred.
At line:1 char:1
+ New-AzureRmRecoveryServicesVault
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzureRmRecoveryServicesVault], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.RecoveryServices.NewAzureRmRecoveryServicesVault
It may be because of the wrong information which you have provided.
I have run the command in debug mode and found that the given Resource group is not created in the tenant.
Created the Resource group and then verified by running Get-AzureRmResourceGroup command.
Then check whether the location entered without any spaces.
Other thing that I want to highlight is the Resource Group. You have to enter the existing Resource group name and if the given Resource group is a new one, then create the Resource group first.
Ran the recovery service creation command again. No errors found
No comments:
Post a Comment