Open brettnagy opened 5 months ago
Thank you for opening this issue, we will look into it.
Hi there,
I am experiencing a very similar issue. For some reason, the az functionapp
commands in Azure DevOps release pipelines have stopped working for all my existing Azure Function Apps and are now throwing the error "ERROR: (ResourceNotFound) The Resource 'Microsoft.Web/serverFarms/SouthCentralUSPlan'".
If I go to Azure Function App -> Automation -> Export template, I don't see any parameters being referenced to "/providers/Microsoft.Web/serverfarms/SouthCentralUSPlan" as shown in the picture below -
Does anyone know how to solve that issue?
Thank you for any advice that would help fix the issue!
@yonzhan - any way to get someone to take a quick look at this? It's definitely a bug. Thank you.
I'm facing this same issue today. I tried eastus, westus and westus2 and no luck.
Describe the bug
Using the Azure CLI to create a new consumption plan function in South Central US fails to create the associated app service plan, but the function is created successfully. Using the Azure Portal to create the function in SCUS (point and click, not cloud shell) works as expected and creates the Y1 plan.
Using the Azure CLI and South Central US location, after creating the consumption plan function, an app service plan name is shown:
Clicking on the app service plan name produces the following 404 error:
Using "az functionapp show" against the newly created function throws an error:
Using the Azure CLI and East US location, the function and its app service plan are created successfully and the app service plan can be viewed in the portal.
Related command
Repro Steps
Errors
Clicking on the app service plan name produces the following 404 error:
Using "az functionapp show" against the newly created function throws an error:
Issue script & Debug output
Can provide on request. It's big and did not show any errors.
Expected behavior
"az functionapp create", when using the --consumption-plan-location argument, should create a Y1 app service plan that can be viewed in the portal. The "az functionapp show" command should be able to retrieve details of the function.
Environment Summary
Same incorrect behavior seen when using the Azure Portal Cloud Shell & PowerShell.
Additional context
No response