Can't create Windows and Linux app service plans in same resource group

Daniel Stout 11 Reputation points
2023-01-17T19:48:16.1466667+00:00

The documentation at [https://learn.microsoft.com/en-us/azure/app-service/overview says "Linux and Windows App Service plans can now share resource groups. This limitation has been lifted from the platform and existing resource groups have been updated to support this."

However when I try to publish to a Linux app service plan that's in the same resource group as a windows plan, I see this error in Visual Studio:

User's image

Does our specific resource group need to be updated? If so, who can I contact to have that done?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,969 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Adam Zachary 2,936 Reputation points
    2023-01-17T21:55:18.6133333+00:00

    We had similar issue few weeks ago.

    We had few Linux Apps, and wanted to create a Windows ASP + .Net WebApp in the same resource group. but I wasn't able to. I tried to google the issue, but no luck!

    In the end I created new resource group and moved the old Linux ASP and 6 Linux WebApps into that newly created RG, and then created a new Windows ASP and .Net WebApp and worked fine for me.

    User's image

    0 comments No comments

  2. Grmacjon-MSFT 19,301 Reputation points Moderator
    2023-01-18T01:00:20.42+00:00

    Hi Daniel Stout, thanks for bringing this to our attention. Yes, you should be able to create Windows and Linux app service plans in same resource group as the Azure doc stated.

    Based on this related Q&A thread with a response from the engineering team "All resource groups created on or after January 21, 2021 do support this scenario. For resource groups created before January 21, 2021, the ability to add mixed platform deployments is being rolled out across Azure regions (including National cloud regions) we expect to be fully rolled out in the first half of 2021."

    Was your resource created after January 2021 and are you using a shared App Service Plan? Please keep in mind that App Service on Linux is not currently supported on Shared pricing tier.

    best,

    Grace


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.