The subscription xxx is not allowed to create or update the serverfarm.

Cyril AUQUIER 0 Reputation points
2024-04-18T14:48:53.8366667+00:00

Bonjour à tous et toutes,

J'essaie de déployer une API C# sur Azure, en créant une "Application Web", je remplis bien ce qu'il faut. Mais au moment de déployer l'application j'ai une ressource où j'ai un statut BadGateway. Quand je regarde un peu plus les détails j'ai un message "The subscription 'XXXX-XXXXX-XXXXX' is not allowed to create or update the serverfarm.".

J'ai un abonnement gratuit étudiant mais il me que ce type de compte à le droit de faire cela.

Comme solution j'ai essayer diverses choses, comme me reconnecter plusieurs fois, recréer plusieurs fois l'application, ou encore ce qu'on trouve sur ce post stack overflow: https://stackoverflow.com/questions/78101504/azure-app-service-deployment-failing-the-subscription-xxxx-xxxx-xxxx-is-not-al.
Mais rien n'y fait, je n'arrive pas à corriger mon problème.

Est-ce que quelqu'un saurait m'aider?

Merci,

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

1 answer

Sort by: Most helpful
  1. Patchfox 3,786 Reputation points
    2024-04-18T20:26:15.1266667+00:00

    Hi Cyril AUQUIER I want to help you with this question.

    I have answered a similar question in another thread recently.

    Please check out the thread: https://learn.microsoft.com/en-us/answers/questions/1655729/im-getting-502-badgateway-and-cannot-create-or-upd

    I hope this helps you to solve the problem.

    If none of my approaches helps you, try to deploy the resources in another region.

    And lastly, I recommend opening an official support ticket.


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