I am trying to restore a sandbox environment from a back I just created using PowerShell and I am keep getting the same error.
I verified all IDs are correct. Can anyone help me with this issue please?
[ERROR] Parameter set cannot be resolved using the specified named parameters.
[ERROR] + CategoryInfo : InvalidArgument: (:) [Restore-CrmInstance], ParentContainsErrorRecordException
[ERROR] + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.Xrm.OnlineManagementAPI.RestoreCrmInstance
Here is the command I used for the operation:
Restore-CrmInstance -SourceInstanceId $TargetInstanceID -TargetInstanceId $TargetInstanceID -BackupId $BackupID -ApiUrl $ApiUrl -Credential $Cred
Business Applications communities