Get-AzureWebSite : Requested value 'PremiumV2' was not found

℡╲_俬逩灬. 提交于 2019-12-13 03:39:32

问题


I added a new Premium V2 app service plan. Now when running Get-AzureWebSite in PowerShell I'm getting the following error message:

get-azurewebsite : Requested value 'PremiumV2' was not found.
At line:1 char:1
+ get-azurewebsite
+ ~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Get-AzureWebsite], ArgumentException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.GetAzureWebsiteCommand

What is the error about?


回答1:


The old CmdLets are no longer well supported, and don't know about new features like Premium V2.

Try using the ARM based CmdLets instead, like Get-AzureRmWebApp.



来源:https://stackoverflow.com/questions/46622582/get-azurewebsite-requested-value-premiumv2-was-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!