ADF SHIR how to use with different data factory

897456 106 Reputation points
2022-10-14T15:08:50.337+00:00

Hello Experts,
I have multiple data factories and use SHIR from my local machine. When I try to use the same SHIR(from my local machine) to a different ADF, I need to un-install and install SHIR again to update the key. Is there any easy way to do this?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,100 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bhargava-MSFT 31,201 Reputation points Microsoft Employee
    2022-10-14T22:14:42.833+00:00

    Thank you @Nandan Hegde ,

    <in addition to Nandan's answer>

    Hello @897456 ,
    In case, if you want to update the Integration run time key(from a different data factory), please follow the below steps.

    After installing the SHIR, a PowerShell script is placed in the installation directory

    From the machine hosting the IR, open the Windows PowerShell ISE as Administrator

    Within the ISE click File, Open, and navigating to: C:\Program Files\Microsoft Integration Runtime\5.0\PowerShellScript(your installation path)

    Open the RegisterIntegrationRuntime.ps1 PowerShell script.

    update the below parameter

    $gatewayKey is the registration key of the new ADF resource that you want to register the IR with. Remove the $throw, so it’s just a string of the key.

    After you update, run the powershell script

    once successful you’ll see the message ‘Integration Runtime registration is successful'

    ------------------------------

    • Please don't forget to click on 130616-image.png and upvote 130671-image.png button whenever the information provided helps you. 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
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Nandan Hegde 33,241 Reputation points MVP
    2022-10-14T15:34:15.577+00:00
    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.