none
error during cross-resource group migration RRS feed

  • Question

  • We are getting error during cross-resource group migration.

    We cannot find resource dependent to Azure KeyVault (which is not used in our environment and can be deleted). Based on error message I suppose it's availability set but I can't find any references to key vault in availability Set

    Error message:

    {"code":"ResourceMoveProviderValidationFailed","message":"Resource move validation failed. Please see details. Diagnostic information: timestamp '20190510T190733Z', subscription id '3446d33c-9f22-4071-920a-2933ee32434c', tracking id '8edcd835-d0fc-40f4-9e6b-b3f0d7ed8e77', request correlation id 'dff2d587-8dc0-413d-93da-c5025fbdda7b'.","details":[{"target":"Microsoft.Compute/availabilitySets","message":"{\"error\":{\"details\":[{\"code\":\"MissingMoveDependentResources\",\"message\":\"The move resources request does not contain all the dependent resources. Please check error details for missing resource ids.\",\"target\":\"/subscriptions/3446d33c-9f22-4071-920a-2933ee32434c/resourceGroups/HTSCAP-Migrated/providers/Microsoft.KeyVault/vaults/HTSCAP\"}],\"code\":\"MissingMoveDependentResources\",\"message\":\"The move resources request does not contain all the dependent resources. Please check error details for missing resource ids.\"}}"}]}”

     Best Regards
    Robert

    Wednesday, May 15, 2019 11:16 AM

All replies

  • Are you trying to move your resources after deleting your KeyVault ?  You may get this error when you try to move a resource which is pointing to a deleted Key Vault.

    Wednesday, May 15, 2019 7:41 PM
    Moderator
  • yes, this is an error when I delete key vault first and try to migrate to new subscription. I also recover using undo key vault and then during migration process I get similar error that key vault is used in one of the VM object and key vult migration is not supported

     
    Thursday, May 16, 2019 7:39 AM