-
AZ-104 Section-Based – Manage Azure Identities and Governance, Question #6
-
“You can move TD-WebApp2 to TD-RG3”
<b style=”font-family: inherit; font-size: inherit;”>TD-WebApp2 is in TD-RG2, TD-RG2 is in the East US region; however, TD-RG3 is in North Europe. Regardless of the lock, an app service app can’t be moved to another region.
<b style=”font-family: inherit; font-size: inherit;”>So, I think this question should be “No”.
-
Hi JW2021,
Thanks for posting. We really appreciate users who double-check the technical details.
To clarify, Azure does allow moving a Web App to another resource group even if the resource group is in a different region. Accordingly, moving a resource to a new resource group does not change the resource’s region. The web app will remain in East US, regardless of the destination resource group’s region.
In this scenario, the move to TD-RG3 is allowed because the resource group uses a Delete lock, which still permits updates (and a move is considered an update). Only a Read-only lock would block the move.
So the correct answer for that item is Yes, the app can be moved to TD-RG3 without changing its region.
If you have any more questions or spot anything else you want to verify, feel free to let us know. We’re always happy to help!
Best,
Irene @ Tutorials Dojo
-
Thank you for the explanation!
However, from this Microsoft website:
Relocate Azure App Services to another region – Azure Resource Manager | Microsoft Learn
It says:
App Service resources are region-specific and can’t be moved across regions. You must create a copy of your existing App Service resources in the target region, then relocate your content over to the new app. If your source app uses a custom domain, you can migrate it to the new app in the target region after completion of the relocation.
Thanks!
-
Hello JW2021,
Thank you for sharing the Microsoft link, we really appreciate you taking the time to verify the documentation and raise this point.
You are absolutely right that Azure App Service resources cannot be moved across regions. The docs you referenced apply specifically to region relocation, where the App Service itself is being moved from one Azure region to another. In that scenario, Azure requires creating a new App Service in the target region and migrating the content manually.
In our exam question, the operation involved is different. The scenario is only moving the Web App to a different resource group, not to a different region. Accordingly, moving resources states that when a resource is moved to another resource group or subscription, the resource’s region does not change. The Web App stays in East US even if the destination resource group’s metadata lists a different region.
Because of that behavior, and because a Delete lock still permits updates, the move to TD-RG3 is allowed.
Your point is completely valid in the context of regional relocation, though, and we’re glad you brought it up. It helps us make the distinction clearer for other learners as well.
If you have any more questions about this item or any other scenarios, feel free to reach out anytime. We’re always happy to help and clarify.
Best regards,
Irene @ Tutorials Dojo
-
-
Log in to reply.