question

arkiboys avatar image
0 Votes"
arkiboys asked KranthiPakala-MSFT commented

linked service connection issue

Hello,
My linkedservice connects to adlsgen2 using AccountKey for which I have placed the URL which points to the storage and the storage account key which is the string I got from the portal.azure.com for this storage...
When I run the ADF pipeline using the debug botton, all is fine but when I click on trigger now, the error is:
Operation on target my activityName failed: The specified account key is invalid. Check your ADF configuration.
Any suggestions?
Thank you

azure-data-factory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KranthiPakala-MSFT avatar image
0 Votes"
KranthiPakala-MSFT answered KranthiPakala-MSFT commented

Hello @arkiboys,

Thanks for the question and using MS Q&A platform.

As per my understanding you have used an account key for your ADLS Gen2 linked service connection from ADF and when you do the test connection it works fine but when you do trigger now then it fails with above error.

Could you please confirm if you have published your pipeline and the linked service that you have created? If not, please publish your pipeline and linkeservice changes and then try re-testing it and see if it works.

The reason is when you do a debug run it will run on the local version of your pipeline/linked service, but when you trigger now, you pipeline will run on the code that is last published to ADF service.
This kind of issue occurs(debug runs but trigger run fails) when there is a mismatch between the local version of your ADF code and already published version.

Please try to publish all your changes and try to trigger now and see how it goes.

Thank you


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you
solved

0 Votes 0 ·

Hello @arkiboys,

Glad to know that the above response was helpful. If it answers your query, please do click “Accept Answer” and/or Up-Vote, as it might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

0 Votes 0 ·