question

Samy-7940 avatar image
0 Votes"
Samy-7940 asked KranthiPakala-MSFT commented

Data Factory linked Service

Hi All, I need to use linked services in multiple data factory, how can I do that. Please let me know for both

  1. Data factories residing on different subscriptions and tenants

  2. Data factories that are on same subscription and tenant.

I have gone through below post :

https://docs.microsoft.com/en-us/answers/questions/374702/azure-data-factory-export-and-import-linked-servic.html

But it didn't helped. Thanks a lot.



azure-data-factory
· 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.

Hey,
can you please clarify your ask :
Are you trying to use a linked service in one ADF in another ADF and which is the linked service type? Is that your ask ?

If yes, then Linked services are native to an ADF and cannot be shared across different ADFs.
You would need to reciprocate the LS in every ADF.

0 Votes 0 ·

Thanks NandanHegde-7720. I understand the self hosted integration run time can be shared across the data factories,

 and @MartinJaffer-MSFT has clearly mentioned below that there are some workaround to override the limitations.

https://docs.microsoft.com/en-us/answers/questions/374702/azure-data-factory-export-and-import-linked-servic.html

I would really appreciate if you could please list around them to use one linked service across the multiple data factories. Thanks again.


0 Votes 0 ·

1 Answer

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

Hi @Samy-7940 ,

Thanks for posting your query. Unfortunately you cannot reuse the same linked services across different data factories. As suggested by @MartinJaffer-MSFT in other post, you will have to export and use the JSON files of your linked services to create/replicate same linked service in different data factories. You may have to make adjustments to the JSON payload to make sure no errors with naming of your linked service dependencies.

You can use powershell to point to those linked service JSON payload files and recreate the same in different factories.
Sample can be found here : Create a linked service using powershell

Hope this clarifies.



  • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

  • Want a reminder to come back and check responses? Here is how to subscribe to a notification.



· 1
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.

Hi @Samy-7940 ,

We still have not heard back from you. Just wanted to check if the above suggestion 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 ·