I cannot create a function app. It always says "The subscription 'xxxxxxxxxxxxxxxxxxxxxxxx' is not allowed to create or update the serverfarm."

Georgia 0 Reputation points
2025-02-20T07:36:09.77+00:00

I cannot create a function app. It always says "The subscription 'xxxxxxxxxxxxxxxxxxxxxxxx' is not allowed to create or update the serverfarm."

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,473 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Khadeer Ali 3,675 Reputation points Microsoft Vendor
    2025-02-20T11:00:19.9766667+00:00

    @Georgia ,

    Thanks for reaching out. This error message typically appears when you lack the required permissions to create or update a server farm.

    To resolve this issue, consider the following steps:

    • Verify Permissions: Ensure that your account has the necessary permissions, such as the Contributor or Owner role, for the resource group where you are attempting to create the function app.
    • Check Subscription Limits: If you've reached the maximum number of server farms allowed in your subscription, you may need to delete an existing one or request a limit increase.
    • Try a Different Region: The issue might be region-specific, so attempting to create the function app in another region could help resolve it.

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.