LocationRequired: The resource needs a location
The resource needs a location value. The location of the deployment or its resource group doesn't fill in a missing value in the resource declaration.
What to check
- Find the resource in the error and check whether the
locationproperty is missing or evaluates to an empty value. - Supply a location supported by the resource type. Use the resource group's location only if it meets the resource's requirements.