Skip to main content

StorageAccountInAnotherResourceGroup: The account is in another resource group

Azure found a storage account with the same name in another resource group in the subscription. Deploying the same name to a different resource group doesn't create a separate account.

What to check​

  1. Check which resource group contains the account and confirm whether the deployment should use it.
  2. Reference the existing account at its actual scope if that's what you need. If you're creating a different account, choose a globally unique name.

Official reference​

Microsoft Learn: Storage account in another resource group