ttempting to move all Microsoft.Web resources in rg_MTA to a new resource group (rg-c1-mta-test-centralus). However, the move fails

Coleman, Jonathan 0 Reputation points
2025-07-09T05:15:39.95+00:00

Issue details

We are attempting to move all Microsoft.Web resources in rg_MTA to a new resource group (rg-c1-mta-test-centralus). However, the move fails with the following error message:

arduino

Copy

Edit

"This resource is located in resource group 'rg_MTA', but hosted in the resource group 'asp-mta-dev-centralus-basic-windows_group' (or 'asp-mta-prod-centralus-basic-windows_group')."

After investigating, we identified that both App Service Plans have an associated hosting "webspace" group that does not match their logical resource group:

asp-mta-prod-centralus-basic-windows → hosted in asp-mta-prod-centralus-basic-windows_group

asp-mta-dev-centralus-basic-windows → hosted in asp-mta-dev-centralus-basic-windows_group

Requested action

Please update or fix these App Service Plans so that their hosting "webspace" aligns with the resource group rg_MTA. This alignment is required in order to successfully move all resources as a single unit, per Microsoft.Web cross-resource move restrictions.

Additional notes

We cannot correct this ourselves, as Azure does not allow moving or editing the internal _group hosting group directly.

We are blocked from moving these resources into our test or production consolidated resource groups until this is resolved.

Urgency

This is a high priority as it is blocking our environment consolidation efforts.

Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. Surya Amrutha Vaishnavi Lanka (INFOSYS LIMITED) 335 Reputation points Microsoft External Staff
    2025-08-21T10:12:33.34+00:00

    You cannot directly move App Service Plans/Web Apps across webspaces. Instead, you need to recreate and redeploy:

    1. Check Current Dependencies

     List out the App Service Plans and the Web Apps linked to them. Note the region, SKU, and configuration.

    1. Create a New App Service Plan

    In the target resource group (rg-c1-mta-test-centralus), create a new App Service Plan in the same region as the old one. Ensure it has the same pricing tier (SKU).

    1. Move or Recreate Web Apps

    Option 1: Use “Clone App” (in the Azure Portal) to clone each Web App into the new App Service Plan.

    Option 2: Use Backup & Restore (if supported by your tier).

    Option 3: Redeploy your apps from source control / CI-CD pipeline into the new App Service Plan.

    1. Migrate Other Resources

     Settings like App Settings, Connection Strings, Managed Identities, Custom Domains, Certificates must be reconfigured or exported/imported manually.

    1. DNS / Traffic Swap

    Update DNS or use Traffic Manager / Front Door / Swap slots to minimize downtime. Verify apps are working in the new group.

    1. Clean Up

    Once tested, delete the old App Service Plan and apps from rg_MTA.


1 additional answer

Sort by: Most helpful
  1. Coleman, Jonathan 0 Reputation points
    2025-08-29T11:31:57.8633333+00:00

    This has been resolved. Thank you.

    0 comments No comments

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.