Hi ,
Thanks for reaching out to Microsoft Q&A.
the error Cannot read properties of undefined (reading 'parameters') suggests that the ADF pipeline JSON being validated is missing parameter resolution at runtime, likely because of path or environment context issues. Below are some of the suggestsions that you can try if not yet.
- In GitHub Actions, the default working directory may differ. Ensure the path for ADF artifacts (
pwd) resolves correctly. Use$(pwd)instead of backticks or explicitly setworking-directoryin your YAML. - Though both use Node 22.x, GitHub runners may have extra security restrictions or missing global modules. Pin your Node version (e.g.,
22.15.1) usingactions/setup-node. - GitHub’s Linux runners are case sensitive, unlike Jenkins (if on windows). Check folder and file name casing in your ADF repo (especially
pipeline,linkedService, anddatasetJSONs). - Ensure
ADF_PATHorDATAFACTORY_IDinputs are correctly set and passed into the npm script.
To debug further, add set -x or echo $(pwd) before the validate cmd to confirm paths. In most cases, aligning working directory and node version resolves this validation failure.
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.