When trying to use this for validation of arm templates using deploymentMode: validate, the output does not contain any information about why the validation failed. Is this intentional? Could be there some sensitive information in the response?
The cause of this is this line: