Skip to main content

DeploymentNameInvalidCharacters: Invalid characters in the deployment name

A deployment name can contain only letters, digits, hyphens (-), dots (.) and underscores (_). This rule applies to the deployment name, not to the names of individual resources.

What to check​

  1. Inspect the actual name passed to the deployment command or generated for a nested deployment.
  2. Replace any unsupported characters, including spaces, before trying again.

Official reference​

Microsoft Learn: Common Azure deployment errors