Hi All,
I am trying to restore my back to my online CRM Instance using API and power-shell through DEVOPS. But when I try to restore using API I am getting below error.
I have CRM online 9.0.
"Restore-CrmInstance: Parameter set cannot be resolved using the specified named parameters."
Any assistance is highly appreciated.
Hi Hiren,
I haven't found Dev left any migration operations or alternative methods.
There are 3 esclalation tickets regarding this in latter half of FY19.
Dev Team gave the same feedback as follow:
Restore for 9.0x orgs is not available for use in powershell or Admin api. Feature not supported for v9 orgs at this team ....
There's one good new that the Restore API will be released in couple of weeks which will update following 2 API to support V9 after communnication with Dev:
Regards
Johnny
Ohhhh, Thanks Johnny for the clarifications.
Is there any other alternative which can be used to restore backup through DevOps pipeline?
Regards,
Hiren Modi
Hi Hiren,
I have helped validate the issue with key word 'Restore-CrmInstance' and found this as one known issue in MS internal Escalation ticket DB:
The Powershell cmdlet for backup and restore does not work for v9 orgs yet. It only supports old backups.
While there's still no any proper documentation available on any of the Microsoft site which can say that the Powershell cmdlet for backup and restore does not work for v9 orgs yet.
I am sorry but it's true. Dev Team are still working on this. Thanks.
Regards
Johnny
Hi Johnny, Yes I have followed exactly same format. Below is my syntax for the same. All variables are defined before this line. It gives proper error if any variable is missing or passing null or empty.
Restore-CrmInstance -ApiUrl $ApiUrl -Credential $Cred -BackupId $instanceBackup.Id -SourceInstanceId $sourceInstance.Id -TargetInstanceId $TargetInstance.Id
Regards,
Hiren
Hi Hiren,
Have you followed this power shell format requirements below?
Restore CRM Instance by PowerShell from the specified backup and instance restore point ids:
Restore-CrmInstance -BackupId <Guid> -SourceInstanceId <Guid> -TargetInstanceId <Guid> -ApiUrl $connectionhost -Credential $cred
docs.microsoft.com/.../restore-crminstance
Regards
Johnny
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156