I can't create a Function with the free subscription

brian obizi 20 Reputation points
2024-04-25T06:42:30.44+00:00

It's been 5 days now trying to create a function app on my free Microsoft Azure account but nothing is working. I have also tried to change regions but nothing is working. Please help me fix the issue.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,157 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,599 questions
{count} votes

Accepted answer
  1. v-vvellanki-MSFT 3,815 Reputation points Microsoft Vendor
    2024-04-25T19:38:25.02+00:00

    Hi @brian obizi,

    Thanks for contacting Microsoft Q&A platform.

    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.

    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.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. brian obizi 20 Reputation points
    2024-04-26T09:30:52.7633333+00:00

    Screenshot_20240426_113527

    Screenshot_20240426_113440

    Thanks to I was able to fix this issue of "The subscription is not allowed to create or update the serverfarm". I was advised by the Microsoft Support Engineer to go to my Subscription and under it, there's a Resource Provider tab with Registered and NotRegistered providers.

    I registered microsoft.visualstudio and microsoft.subscription and I was able to create a Function App.

    0 comments No comments