69 个问题
无法使用az cli创建function app
Vincent(Feng Jingsheng)
20
信誉分
前几天我们的pipeline开始报错。
我们尝试把az cli的版本号从2.44.1升级到2.71.0
同时把az functionapp create的命令从
$script:webApp = az functionapp create --resource-group $targetResourceGroupName --plan $relevantAppServicePlanName --name $fqServiceName --os-type Linux --storage-account $fnAppStorageAccount --runtime dotnet-isolated --runtime-version 8 --functions-version 4 2>$warningaz functionapp config set --resource-group $targetResourceGroupName --name $fqServiceName --linux-fx-version '"DOTNET-ISOLATED|8.0"'
升级到
$script:webApp = az functionapp create --resource-group $targetResourceGroupName --plan $relevantAppServicePlanName --name $fqServiceName --os-type Linux --storage-account $fnAppStorageAccount --runtime dotnet-isolated --runtime-version 8 --functions-version 4 --linux-fx-version "DOTNET-ISOLATED|8.0" 2>$warning
但经过测试还是无法创建functionapp,而且warning跟webApp均为空值。
请求帮忙。感谢!
开发人员技术 | .NET | .NET 运行时
登录以回答