使用VSTS中的手臂模板将Azure功能应用程序部署到Azure时出错

时间:2018-07-26 15:06:39

标签: azure azure-functions azure-pipelines arm-template

我正在使用json文件的github网址为https://github.com/morsh/functions。在这里,我试图在Azure中部署功能应用程序,但遇到如下问题

Here's the error detail:
{
"Code": "BadRequest",
"Message": "The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one.",
"Target": null,
"Details": [
{
"Message": "The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one."
},
{
"Code": "BadRequest"
},
{
"ErrorEntity": {
"ExtendedCode": "59314",
"MessageTemplate": "The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one.",
"Parameters": [],
"Code": "BadRequest",
"Message": "The requested app service plan cannot be created in the current resource group because it is hosting Linux apps. Please choose a different resource group or create a new one."
}
}
],
"Innererror": null
}

2 个答案:

答案 0 :(得分:1)

好吧,错误提示您应该在另一个资源组中创建您的应用程序服务计划。试试看,它应该可以解决所有问题。

https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-intro#limitations

答案 1 :(得分:0)

不幸的是,您不能在同一资源组中混合使用Windows和Linux Web Apps。

https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-intro#limitations