You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[AppServices] RestoreAzureWebAppSnapshot fetch the data from Microsoft.Web RP similar to other commands (#26685)
* [AppServices] RestoreAzureWebAppSnapshot fetch the data from Microsoft.Web RP similar to other commands
* Add warning message
* Add change log and fix an issue
* Fix typo in ChangeLog.md file
---------
Co-authored-by: Yabo Hu <[email protected]>
WriteDebug($"Fetched the source app location and resource ID from Microsoft.Web RP for {InputObject.Name}, Location = {sourceAppLocation}, Id = {sourceAppArmResourceId}");
64
+
}
65
+
catch(Exceptionex)
66
+
{
67
+
WriteDebug($"Unable to fetch the source app location and resource ID from Microsoft.Web RP. {ex.Message}, An attempt will be made to retrieve the same from ARM cache");
68
+
}
69
+
70
+
// Fall back code to fetch the source app location and resource ID from ARM cache, Useful with disaster recovery scenaior's when Microsoft.Web RP is not accessible
0 commit comments