Hello JovanPop,
Thanks for the script. I tried and it ran for about an hour before returning the following error:
New-AzResource : InternalServerError : An unexpected error occured while processing the request. Tracking ID:
'857ea045-6dde-41ce-a6a0-59e7c34763f8'
At line:1 char:1
+ New-AzResource -ResourceId "subscriptions/$subscriptionId/resourceGro ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : CloseError: (:) [New-AzResource], ErrorResponseMessageException
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceCmdlet
At the end the database was not restored, is there any other way to restore a dropped MI database?
Thanks,
Jose