Can't move resource group from one subscription to another

David Tra 0 Reputation points
2024-04-16T00:59:28.54+00:00

Hi,

I've been trying to move a resource group from one subscription to another but keep on getting the below message. I followed the MS Guide => https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/move-resource-group-and-subscription to do the move.

  • I have full access to both subscriptions.
  • The source and destination locations are the same
  • Below are the resources I'm trying to move
  • I'm getting the same error for the 7 resources that I tried to move

TYPE

App Service plan

Smart detector alert rule

SQL server

Function App

Application Insights

SQL database

Storage account

Error message

For security reason, I replaced the actual name with "XXXXX"

{"message":"Resources with identifiers 'Microsoft.Web/serverFarms/ASP-XXXXX-8542,microsoft.alertsmanagement/smartDetectorAlertRules/Failure Anomalies - XXXXX,Microsoft.Sql/servers/XXXXX,Microsoft.Web/sites/XXXXX,microsoft.insights/components/ XXXXX,Microsoft.Storage/storageAccounts/ XXXXX ' were not found. The tracking Id is '1273a12c-fad9-4676-97d1-d4ed88faf71f'. (Code: ResourceNotFound)","code":"ResourceNotFound","name":"53397271-08ca-4cb3-b798-5361801ea029","status":400}

How do I fix this problem? Thank you

Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
203 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Monalla-MSFT 11,646 Reputation points
    2024-04-16T01:55:02.2866667+00:00

    @David Tra - Welcome to Microsoft Q&A and thanks for reaching out to us.

    Looks like Azure Resource Manager is unable to find the resources you are trying to move. This error can occur when the resource name, resource group name, or subscription is incorrect. Please ensure that the resource names you provided in the move operation are correct and match the actual names of the resources you are trying to move and that you are running the move operation in the correct subscription.

    If you are still encountering issues, you can try the following steps:

    1. Verify that the resources exist in the source subscription by checking the Azure portal or running the Get-AzResource command in PowerShell.
    2. Check if there are any dependencies between the resources you are trying to move and other resources in the subscription. If there are dependencies, you may need to move those resources first before moving the resources you are interested in.
    3. Check if there are any locks on the resources you are trying to move. If there are locks, you will need to remove them before moving the resources.

    Hope this helps. and please feel free to reach out if you have any further questions.


    Please don't forget to "Accept as Answer" and click "Yes" if the above response is helpful, so it can be beneficial to the community.

    0 comments No comments