Error Moving Resources Between Azure Subscriptions: ResourceMovePolicyValidationFailed
I am trying to move several resources from one Azure subscription to another within the same directory. And I'm getting an error:
Resource move policy validation failed. Please see details. Diagnostic information: subscription id '5f2d4ddd-13eb-4ed1-9516-b524b22f93fe', request correlation id '59097575-bac5-47f7-9a90-d616e84881be'. (Code: ResourceMovePolicyValidationFailed) Property id '' at path 'properties.keyVaultId' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'. (Code: LinkedInvalidPropertyId, Target: Microsoft.Web/Microsoft.Web/certificates/nowen.xyz-nowen) Property id '' at path 'properties.keyVaultId' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'. (Code: LinkedInvalidPropertyId, Target: Microsoft.Web/Microsoft.Web/certificates/uat.nowen.xyz-nowen-uat) Property id '' at path 'properties.keyVaultId' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'. (Code: LinkedInvalidPropertyId, Target: Microsoft.Web/Microsoft.Web/certificates/ci.nowen.xyz-nowen-ci) (Code: ResourceMovePolicyValidationFailed)
The resources I am attempting to move include:
- App Service plans
- Certificates
- Azure Cosmos DB account
- Storage account
- Application Insights
- App Services
Both subscriptions are active and within the same directory and I should have the necessary permissions to perform the move as a Global Administrator, User Access Administrator, Owner & Contributor to each of the subscriptions respectively.
Despite this, the error persists. Based on the error message, it seems there is an issue with the properties.keyVaultId
paths, which are expected to be fully qualified resource IDs.
Could anyone guide me in resolving this issue? Need help on:
- Understanding the cause of the ResourceMovePolicyValidationFailed error
- Correcting the invalid properties.keyVaultId paths