Azure Function App Deployment Fails with ServerFarmCreationNotAllowed Error

Hendro Setyo Widodo 0 Reputation points
2026-12-06T00:44:58.47+00:00

Azure Function App Deployment Fails with ServerFarmCreationNotAllowed Error

Question:

Hello Microsoft Azure Community,

I am trying to create an Azure Function App through the Azure Portal, but the deployment consistently fails with the following error:

Error message:

The subscription 'e7eea625-5370-42ed-b698-ded5bf2d4ef2'
is not allowed to create or update the serverfarm.

Code: ServerFarmCreationNotAllowed

The deployment validation also reports an error involving:

Resource Provider: Microsoft.Web/sites

API Version: 2025-05-01

Deployment Template: Microsoft.Web-FunctionApp-Portal

What I have already checked:

Microsoft.Web resource provider is registered successfully.

I have attempted to create the Function App using Azure CLI.

I have tried checking available regions for the hosting plan.

The deployment still fails with the same ServerFarmCreationNotAllowed error.

My questions:

Is this restriction related to my Azure subscription type or subscription eligibility?

Does Microsoft need to enable permission for creating App Service Plans (Microsoft.Web/serverfarms) on my subscription?

Is there any way to resolve this issue without upgrading or changing my subscription?

Which hosting plan and Azure region would be supported for my subscription?

Should I contact Microsoft Azure Support to request removal of this restriction?

I am planning to use Azure Functions with a Consumption or Flex Consumption plan for an IoT project.

Any guidance or recommended solution would be greatly appreciated.

Thank you.

Azure Function App Deployment Fails with ServerFarmCreationNotAllowed Error

Question:

Hello Microsoft Azure Community,

I am trying to create an Azure Function App through the Azure Portal, but the deployment consistently fails with the following error:

Error message:

The subscription 'e7eea625-5370-42ed-b698-ded5bf2d4ef2'
is not allowed to create or update the serverfarm.

Code: ServerFarmCreationNotAllowed

The deployment validation also reports an error involving:

Resource Provider: Microsoft.Web/sites

API Version: 2025-05-01

Deployment Template: Microsoft.Web-FunctionApp-Portal

What I have already checked:

Microsoft.Web resource provider is registered successfully.

I have attempted to create the Function App using Azure CLI.

I have tried checking available regions for the hosting plan.

The deployment still fails with the same ServerFarmCreationNotAllowed error.

My questions:

Is this restriction related to my Azure subscription type or subscription eligibility?

Does Microsoft need to enable permission for creating App Service Plans (Microsoft.Web/serverfarms) on my subscription?

Is there any way to resolve this issue without upgrading or changing my subscription?

Which hosting plan and Azure region would be supported for my subscription?

Should I contact Microsoft Azure Support to request removal of this restriction?

I am planning to use Azure Functions with a Consumption or Flex Consumption plan for an IoT project.

Any guidance or recommended solution would be greatly appreciated.

Thank you.

Azure Functions
Azure Functions

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

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.