I'm getting 502 BadGateway and "cannot create or update serverFarm"

Jean Andre Mas 45 Reputation points
2024-04-14T03:44:18.25+00:00

I have an account that is used by learn.microsoft to create temp learn subscriptions as I go through the certification courses. All this works well, no problem.

Now I did create an additional pay as you go subscription so I could dig deeper into the course examples. But trying to create an App Service Plan fails every time with BadGateway and "cannot create or update serverFarm". So I tried different browsers, same thing. I tried incognito windows, same thing. I tried different computer, same thing.

Then I created a new account with a free subscription this time, and tired everything again. Same result.

Then I created another account with a pay as you go subscription, and you guessed it, same thing.

location is always same as subscription and I tried every tier possible and it's the same thing.

I can create resource groups and storage accounts but that's about it.

It really feels like azure has decided that I cannot create anything of importance in any account or subscription.

Anyone has any clue what might be going on? Did they blacklist my IP and why?

I really would like a working subscription so I can dig deeper into those exercises.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,982 questions
0 comments No comments
{count} votes

Accepted answer
  1. Patchfox 3,786 Reputation points
    2024-04-14T07:03:08.1733333+00:00

    Hi @Jean Andre Mas first of all, sorry that you had to make these experiences at the beginning with Azure.

    But I want to help you now, to solve your problem.

    I understand that you created several Azure subscriptions (free, pay.. ) but none of these works to create an AppServePlan, right?

    Could you please check the following things, first:

    1.) Is your app service created in the same region as your service plan? It has to be the same region, here

    2.) Please check if you have already the necessary permissions to do this action.

    More info here: https://learn.microsoft.com/en-us/azure/app-service/app-service-plan-manage

    3.) Check if you have reached a specific quota limit in this case. Search for app service here

    https://learn.microsoft.com/en-us/azure/quotas/view-quotas

    Additionally, you can try this "Quickstart" of Microsoft to deploy an ASP.NET app. Follow the step-by-step guide and in the worst case, tell us later at which point of the guide you got the error (send us the exact error message as well)


    If the reply was helpful, please don’t forget to upvote or accept it as an answer, thank you!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful