@Pradeep Patil , @John Aherne I have more news. Please check any Get Metadata activities in your pipeline. This can be caused by a Get Metadata with an empty dataset reference. We hope to have a remedy with better messaging soon.
Error while publishing: Cannot read property 'linkedService' of undefined
When trying to publish an ADF from master to adf_publish I am getting an error:
Error while publishing: Cannot read property 'linkedService' of undefined
There are no other details shown. I tried looking through the master branch and do not see anything that might be causing it, but also I am not sure what I need to be looking for.
Any ideas where to look?
Thanks!
1 additional answer
Sort by: Most helpful
-
Quinten Miller 1 Reputation point
2022-01-26T23:08:45.043+00:00 Hi @MartinJaffer-MSFT , i've sent an email with a bunch of details regarding a similar error to above. The key difference are that i'm seeing the error when using the Azure Data Factor utilities NPM package (https://www.npmjs.com/package/@microsoft/azure-data-factory-utilities)
I've used the subject ATTN: MartinJaffer-MSFT.
Incase anyone else searches for the error, this is what i'm getting in the CI pipeline:
Unexpected error during export template command: {"stack":"TypeError: Cannot read property 'getAllLinkedServiceConfigurations' of undefined\n at e.initialize (/home/vsts/work/1/s/build/downloads/main.js:3829:300025)\n at Function.<anonymous> (/home/vsts/work/1/s/build/downloads/main.js:3829:387692)\n at /home/vsts/work/1/s/build/downloads/main.js:16:2669\n at Object.next (/home/vsts/work/1/s/build/downloads/main.js:16:2774)\n at /home/vsts/work/1/s/build/downloads/main.js:16:1711\n at new Promise (<anonymous>)\n at l (/home/vsts/work/1/s/build/downloads/main.js:16:1456)\n at Function.e.initialize (/home/vsts/work/1/s/build/downloads/main.js:3829:385826)\n at /home/vsts/work/1/s/build/downloads/main.js:3829:390757\n at /home/vsts/work/1/s/build/downloads/main.js:16:2669","message":"Cannot read property 'getAllLinkedServiceConfigurations' of undefined"}