Azure Funciton App Consumption Plan to App Service Plan

Dharmesh Joshi 41 Reputation points
2026-09-22T20:14:31.1566667+00:00

Hi all,

I have a large number of Function Apps on the Consumption plan. Is it possible to migrate them to an App Service plan so that all the resources are shared?

Azure Functions
Azure Functions

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

0 comments No comments

4 answers

Sort by: Most helpful
  1. Praveen Sreeram 11 Reputation points
    2026-09-28T11:16:58.16+00:00

    Do not attempt an in-place Consumption → Dedicated App Service Plan migration for the existing Function Apps. Microsoft's documented in-place migration support is limited to specific Consumption ↔ Premium scenarios on Windows; direct migration to a Dedicated/App Service Plan isn't supported.

    For non-production, create new Function Apps hosted on a shared Dedicated App Service Plan, along with the required supporting infrastructure, and deploy the workloads through CI/CD. This provides a controlled environment in which the new architecture can be validated before production migration.

    For production, follow the same pattern, but determine whether one or multiple App Service Plans are required based on workload characteristics, traffic, concurrency, CPU/memory requirements, and capacity planning.

    Because creating new Function Apps results in new endpoints, applications that directly consume Function App URLs will need to be updated. To minimize application changes and reduce downtime, use a stable endpoint such as Azure Front Door with a custom domain and route the existing endpoint to the old Function App initially. Once the new Function Apps have been validated, switch the Front Door origin/origin group to the new Function Apps. This provides a controlled cutover without requiring every consuming application to change its URL simultaneously.

    Was this answer helpful?

    0 comments No comments

  2. Tejaswini Billakurthi 760 Reputation points Microsoft External Staff Moderator
    2026-09-23T11:53:20.56+00:00

    Hello @Dharmesh Joshi ,

    Thank you for reaching out to Microsoft Q & A !

    Yes—multiple Function Apps can share the compute resources of one Dedicated App Service plan. However, there is an important distinction between sharing a plan and moving existing Consumption apps into it. [learn.microsoft.com]

    Microsoft’s plan migration guidance explicitly states:

    “Direct migration to a Dedicated (App Service) plan isn’t supported.”

    Therefore, I would not recommend changing serverFarmId as the supported migration method for this Consumption-to-Dedicated scenario. [learn.microsoft.com]

    For your consolidation goal, I recommend creating replacement Function Apps on the target App Service plan and redeploying your workloads, rather than attempting an in-place plan change:

    1. Create or reuse a suitable Dedicated App Service plan, then create the replacement Function Apps on it. Choose the appropriate operating system and region, and verify that each app references the intended plan. Functions supports Basic, Standard, Premium, and Isolated tiers—not Free or Shared tiers. [learn.microsoft.com]
    2. Deploy each app’s code and configure its dependencies, including application settings, storage connections, identity permissions, and networking. Validate each app’s triggers and downstream access before switching production workloads.
    3. Enable Always On for each replacement Function App, as Microsoft recommends for Dedicated hosting. Coordinate the cutover so the old and new apps do not unintentionally process the same events. Verify successful executions and monitoring before retiring the original apps. [learn.microsoft.com]

    Shared compute does not mean all settings and dependencies are automatically merged. Application settings and connection strings remain configured per Function App. Because the apps share the App Service plan’s compute capacity, size the plan for the combined workload and review its scaling configuration accordingly. [learn.microsoft.com]

    Reference: Dedicated hosting plans for Azure Functions.

    For a large number of apps, start with a representative workload, validate its behavior and resource usage on the shared plan, and then migrate the remaining apps in batches.

    Please "Upvote the Answer" if this information helped you. This will help us and others in the community as well.

    Was this answer helpful?

    0 comments No comments

  3. Marcin Policht 109.6K Reputation points MVP Volunteer Moderator
    2026-09-22T22:19:50.21+00:00

    In general, it's possible to migrate individual consumption function apps to to a dedicated App Service plan, including Basic, Standard, Premium, or Isolated tiers. Unfortunately, this is quite nuanced, as documented in https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-azure-function-app-settings?tabs=azure-portal%2Cto-premium#consumption-to-premium

    When migrating between plans, keep in mind the following considerations:

    • Direct migration to a Dedicated (App Service) plan isn't supported.
    • Migration isn't supported on Linux.
    • The source plan and the target plan must be in the same resource group and geographical region. For more information, see Move an app to another App Service plan.
    • State and other app-specific content is maintained, because the same Azure Files share is used by the app both before and after migration.

    The migration can be performed by using Azure CLI

    az functionapp plan create --name <NEW_PLAN_NAME> --resource-group <MY_RESOURCE_GROUP> --location <REGION> --sku EP1
    az functionapp update --name <MY_APP_NAME> --resource-group <MY_RESOURCE_GROUP> --plan <NEW_PLAN_NAME>
    

    If the prerequisites stated above are not satisfied in your case, you'd need to redeploy your function apps instead.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    Was this answer helpful?


  4. AI answer

    2026-09-22T20:14:43.93+00:00

    Yes. On Windows, a Function App can be migrated from a Consumption plan to a Premium plan in place, but not directly to a Dedicated App Service plan.

    For an App Service plan scenario where resources are shared, direct migration to a Dedicated (App Service) plan isn’t supported. The documented supported in-place migrations are only between Consumption and Premium on Windows. The source and target plans must also be in the same resource group and region, and downtime occurs during migration.

    If the goal is to have multiple apps share the same plan resources, multiple function apps can run in the same App Service plan.

    For Windows, the supported path from Consumption is:

    1. Create a new Elastic Premium plan in the same region and resource group.
    2. Move the existing Function App to that Premium plan.
    3. Repeat for other Function Apps that should share that same Premium plan.
    4. Delete the original unused Consumption plans after confirming migration.

    Azure CLI example for Consumption to Premium:

    az functionapp plan create --name <NEW_PREMIUM_PLAN_NAME> --resource-group <MY_RESOURCE_GROUP> --location <REGION> --sku EP1
    
    az functionapp update --name <MY_APP_NAME> --resource-group <MY_RESOURCE_GROUP> --plan <NEW_PREMIUM_PLAN>
    
    az functionapp plan list --resource-group <MY_RESOURCE_GROUP> --query "[?sku.family=='Y'].{PlanName:name,Sites:numberOfSites}" -o table
    
    az functionapp plan delete --name <CONSUMPTION_PLAN_NAME> --resource-group <MY_RESOURCE_GROUP>
    

    Notes:

    • Direct migration to a Dedicated App Service plan isn’t supported.
    • Migration isn’t supported on Linux.
    • Downtime occurs during the move.
    • State and app-specific content are maintained during supported plan migration because the same Azure Files share is used before and after migration.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.