在Linux上部署Azure App Service时出错:资源组中不提供请求的功能 [英] Error while deploying Azure App Service for Linux: Requested feature is not available in resource group
问题描述
尝试将适用于Linux的Azure App Service部署到现有资源组时遇到以下错误:
{
代码":"BadRequest",
消息":请求的功能在资源组myNewResourceGroup中不可用.请尝试使用其他资源组或创建一个新的资源组.
"Target":null,
详细信息":[
{
消息":请求的功能在资源组myNewResourceGroup中不可用.请尝试使用其他资源组或创建一个新的资源组."
},
{
代码":"BadRequest"
},
{
" ErrorEntity" ;: {
"ExtendedCode":"59324",
"MessageTemplate":请求的功能在资源组{0}中不可用.请尝试使用其他资源组或创建一个新的资源组.
参数":[
" myNewResourceGroup"
],
代码":"BadRequest",
消息":请求的功能在资源组myNewResourceGroup中不可用.请尝试使用其他资源组或创建一个新的资源组."
}
}
],
" Innererror" ;: null
}
但是,如果我部署到新的资源组,则可以正常工作.
基本, 标准和高级 应用服务计划,并且没有 免费 或共享 tier.您不能在已经托管了非Linux Web Apps的App Service计划中为容器创建Web App.当前的限制是不将Windows和Linux应用程序混合在 相同的资源组. {
"Code": "BadRequest",
"Message": "Requested feature is not available in resource group myNewResourceGroup. Please try using a different resource group or create a new one.",
"Target": null,
"Details": [
{
"Message": "Requested feature is not available in resource group myNewResourceGroup. Please try using a different resource group or create a new one."
},
{
"Code": "BadRequest"
},
{
"ErrorEntity": {
"ExtendedCode": "59324",
"MessageTemplate": "Requested feature is not available in resource group {0}. Please try using a different resource group or create a new one.",
"Parameters": [
"myNewResourceGroup"
],
"Code": "BadRequest",
"Message": "Requested feature is not available in resource group myNewResourceGroup. Please try using a different resource group or create a new one."
}
}
],
"Innererror": null
}
However, if I deploy to a new resource group it works fine.
解决方案How exactly are you attempting to provision the WebApp? Are you deploying the app through an ARM template or via Portal UI?
App Service on Linux is only supported with Basic, Standard, and Premium app service plans and does not have a Free or Shared tier. You cannot create Web App for Containers in an App Service plan already hosting non-Linux Web Apps. There is a current limitation in regards to not mixing Windows and Linux apps in the same resource group as well.
Kindly ensure that the above conditions are met and then try to provision in the existing RG you are referring to or if the above prerequisites are not met, you may consider continuing the deployment in a new RG.
这篇关于在Linux上部署Azure App Service时出错:资源组中不提供请求的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!