Skip to main content

InvalidDeploymentLocation: The deployment name is tied to another location

You reused a subscription deployment name but supplied a different location. The deployment location stores deployment metadata and isn't necessarily the location of the resources.

What to check​

  1. Compare the location in the error with the location passed to the deployment command.
  2. Reuse the original deployment location or choose a new deployment name. Don't move resources just to match the deployment metadata location.

Official reference​