Open MitchellGerdisch opened 4 months ago
Unfortunately, this validation and these errors are provided by the Azure API β we just pass on any error message as error output. This most likely needs addressing by Azure, then will be automatically surfaced by this provider.
Hello!
Issue details
Using the following code which has a rather subtle error for the
Domain
resource:One gets the following error:
error: Code="ResourceCreationValidateFailed" Message="The resource validation failed."
The cause of the error is that the
domainManagement
field should be set to the stringAzureManaged
or use the enumeration that is available. It took a bit of effort to figure this out and it would be a much better experience if the error included a reference to what is causing the validation to fail.Affected area/feature