Subscription not allowed to create or update the serverfarm

Adriano Califano 20 Reputation points
2024-02-21T16:14:39.54+00:00

Hi everyone, i'm trying to create an azure app service resource (with the confguration for python runtime) to host my web-application. I have tried several configurations but i got the same error everytime. The message error is caused by an error during the creation of an app service plan resource. The message is "The subscription <subscription_id> is not allowed to create or update the serverfarm.". Is there a way to fix this issue? I'm using an azure students subscription.

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

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 19,001 Reputation points
    2024-02-24T00:06:44.6733333+00:00

    Hi @Adriano Califano Can you share how you tried creating your azure app service resource? what app service plan do you have? The error message "The subscription <subscription_id> is not allowed to create or update the serverfarm" means there is a permission issue with your subscription.

    Make sure that you have created an app service in the same region as your service plan. Also, you need to specify the service plan matched your app service

    Also, make sure you have the necessary permissions to create App Service Plans within your subscription. This usually requires "Contributor" or "Owner" access. If you're part of a group or organization with Azure resources, check with your administrator to verify your permission level.

    Lastly, if you're creating the App Service Plan within a specific resource group, try creating it in a different resource group where you might have more permissions. Alternatively, create a new resource group with the appropriate permissions and proceed with creating the App Service Plan there.

    Please let us know if you have further questions.


  2. Naseer Khan 15 Reputation points
    2024-10-08T05:36:20.3966667+00:00

    I have owner access at the subscription but still gets the above error.
    Tried deploying in another region, no luck!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.