Skip to main content

InvalidResourceLocation: The named resource exists in another location

In the storage account case Microsoft documents, an account with the same name already exists in the resource group, but the template specifies a different location.

What to check​

  1. Compare the locations in the error and confirm which existing resource Azure found.
  2. If you intend to use the existing storage account, keep its current location. If you need a new account in the requested location, choose a globally unique name.

Official reference​

Microsoft Learn: Invalid resource location for a storage account