azure-data-factory-utilities 验证失败

azure-data-factory-utilities validation fails

节点模块 @microsoft/azure-data-factory-utilities 系统地无法验证数据工厂。

这里是使用的命令行:npm run start validate ../etl-dataplatform subscriptions/xxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxx/resourceGroups/DataPlatform-STAG/providers/Microsoft.DataFactory/factories/etl-dataplatform-stag

错误日志:

ERROR === CmdApiApp: Failed to run resource validation. Error: {"stack":"TypeError: Cannot read property 'concept' of undefined\n    at Function.<anonymous> (/Users/gt/Local/azure-datafactory-deploy/downloads/main.js:1271:27040)\n    at /Users/gt/Local/azure-datafactory-deploy/downloads/main.js:16:2243\n    at Object.next (/Users/gt/Local/azure-datafactory-deploy/downloads/main.js:16:2348)\n    at o (/Users/gt/Local/azure-datafactory-deploy/downloads/main.js:16:1087)","message":"Cannot read property 'concept' of undefined"}


=====ERROR=====
Error: Command failed: node  /Users/gt/Local/azure-datafactory-deploy/downloads/main.js validate ../etl-dataplatform subscriptions/xxxxx-xxxxxx-xxxx/resourceGroups/DataPlatform-STAG/providers/Microsoft.DataFactory/factories/etl-dataplatform-stag

Execution finished....

但是,当我在Azure数据工厂界面点击“验证”按钮时,验证成功。

此错误是由于 ADF 资源 ID 不正确造成的。您的资源 ID 开头似乎缺少 /,在 'subscriptions'.

之前

正确的命令是npm run start validate ../etl-dataplatform /subscriptions/xxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxx/resourceGroups/DataPlatform-STAG/providers/Microsoft.DataFactory/factories/etl-dataplatform-stag