Azure PowerShell - Request to a downlevel service failed
Issue:
· Sometime when
we run the PowerShell command, we get following error message,
o
Request
to a downlevel service failed
· Example: Switch-AzureWebsiteSlot
Solution:
The reason for
error message “Request to a downlevel service failed” is Deprecating Service Management APIs.
Issue
was happening
because your CmdLets are using the Service Management API which is deprecated for Azure App Service.
You can get
more information on below URLs,
To resolve this, You should implement the ARM equivalent.
Your command should
have “RM” e.g. Switch-AzureRmWebAppSlot instead
of
Switch-AzureWebsiteSlot
I hope this
helps.
No comments:
Post a Comment