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
- Compare the namespace in the error with the resource's entry in the template reference.
- Check any expression that constructs the resource type or resource ID. Make sure it emits the documented namespace rather than a display name.