Currently using the BuildADFTask with Action: Export in the build for Pull Requests in Azure DevOps to validate the Data Factory configuration. It clearly shows any Validation errors, so it is working very well for that, but I expected that if the validation failed that the Task would fail as well, but instead it finishes as if it succeeded.
Is that the expected behaviour?

Currently using the BuildADFTask with Action: Export in the build for Pull Requests in Azure DevOps to validate the Data Factory configuration. It clearly shows any Validation errors, so it is working very well for that, but I expected that if the validation failed that the Task would fail as well, but instead it finishes as if it succeeded.
Is that the expected behaviour?