-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Labels
bug-externalMicrosoft's bug in underlying moduleMicrosoft's bug in underlying module
Description
Describe the bug
If we try to upgrade from Windows Server 2022 to 2025, which updates Windows PowerShell from 5.1.20348.3932 to 5.1.26100.4768, then we get the following error:
Starting: Validate ADF files: "Validate all" from ADF
==============================================================================
Task : Build Azure Data Factory code
Description : Validates all JSON files of ADF (v2) (adftools)
Version : 1.35.1778
Author : Kamil Nowinski (AzurePlayer)
Help : [More Information](https://github.com/Azure-Player/azure.datafactory.devops)
==============================================================================
PowerShell: 5.1.26100.4768 Desktop
Invoking Test-AdfCode (https://github.com/SQLPlayer/azure.datafactory.tools) with the following parameters:
RootFolder: D:\a\1\s\data-factory
Action: Export
ConfigFolder: D:\a\1\s
=== Preparing package.json file...
=== File 'package.json' created.
=== Check NPM Version...
##[error]The property 'Statement' cannot be found on this object. Verify that the property exists.
Finishing: Validate ADF files: "Validate all" from ADF
To Reproduce
We are using SQLPlayer.DataFactoryTools.BuildADF.BuildADFTask@1 in an Azure DevOps pipeline.
Expected behaviour
Windows Server 2022 works fine.
Version of PowerShell module of:
Windows PowerShell 5.1.26100.4768
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug-externalMicrosoft's bug in underlying moduleMicrosoft's bug in underlying module