Share via

Trying to create a Function App and receiving this error: The subscription 'subscription id' is not allowed to create or update the serverfarm

PJ Casey 0 Reputation points
2024-04-24T03:06:40.94+00:00

New Azure subscription, attempting to create a Function App (Create a Resource-->Function App, select new Resource Group, input Function App name, new Storage resource) multiple times from different browsers and tried incognito, attempted to select different regions, but each time I receive the same error:

The subscription 'subscription id' is not allowed to create or update the serverfarm

As soon as I click 'Review and create' the deployment starts and within 1 second, the ASP-(resourcegroupname) shows a status of 'Bad Gateway' and the Operation Details shows:

 "status": "Failed",
    "error": {
        "code": "Forbidden",
        "message": "The subscription 'subscription id guid' is not allowed to create or update the serverfarm.",
        "details": [
            {
                "message": "The subscription 'subscription id guid' is not allowed to create or update the serverfarm."
            },
            {
                "code": "Forbidden"
Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,721 Reputation points Moderator
    2024-04-24T07:18:21.23+00:00

    @PJ Casey As Its suggested here- https://learn.microsoft.com/en-us/answers/questions/1657059/the-subscription-is-not-allowed-to-create-or-updat, try the following:

    • Retry to provision the App Service after a few hours
    • If your requirement fits, try deploying in a different region.
    • If you continue to receive this error, please raise a a support ticket for a closer investigation, in case not able to create support please let us know here.

    Users with a similar issue, resolved with the suggestions provided.

    Please let us know if further query or issue remains.

    Was this answer helpful?

    0 comments No comments

Your answer

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