InvalidResourceType: The resource type is invalid
Azure didn't recognise the resource type in the deployment. This error doesn't identify which part of the type is wrong.
What to check
- Compare the resource's full
typewith the template reference, including its provider namespace and any child type segments. - Check that the selected API version is documented for that exact resource type.