Skip to main content

InvalidResourceNamespace: The resource provider namespace is invalid

Azure couldn't resolve the provider namespace at the start of the resource's type, such as Microsoft.Storage in Microsoft.Storage/storageAccounts.

What to check​

  1. Compare the namespace in the error with the resource's entry in the template reference.
  2. Check any expression that constructs the resource type or resource ID. Make sure it emits the documented namespace rather than a display name.

Official reference​