How can we parametrize two different integration runtime in azure devops for synapse workspace.

Aakash Desai 16 Reputation points
2022-03-17T12:32:44.423+00:00

Hello,

We have two environment, dev and UAT. We have different integration runtime for dev and uat.
How can we parametrize inetgration runtime in devops pipeline.

We need to override below parameters

},
"connectVia": {
"referenceName": "Testingdev",
"type": "IntegrationRuntimeReference"
}
},
"dependsOn": [
"[concat(variables('workspaceId'), '/integrationRuntimes/Testinguat')]",
"[concat(variables('workspaceId'), '/linkedServices/cddev')]"

Thank You

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
255 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,364 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,965 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AnnuKumari-MSFT 30,676 Reputation points Microsoft Employee
    2022-03-21T09:47:28.427+00:00

    Hi @Aakash Desai ,

    Welcome to Microsoft Q&A platform and thankyou for posting your query.

    As per my understanding your requirement is to override parameter for your self hosted Integration Runtime to replace it for the higher environment , in your case UAT environment.

    For this requirement , you can use write a powershell script to replace any parameter for 'Integration Run time' Connection string and add a 'Run inline Powershell' task in your release pipeline to run the code .

     (Get-Content -path $(System.DefaultWorkingDirectory)/_SynapseRepo/annu-analytics/TemplateForWorkspace.json) -replace 'Testingdev','Testinguat ' | Set-Content -Path $(System.DefaultWorkingDirectory)/_SynapseRepo/annu-analytics/TemplateForWorkspace.json   
    

    Here , you need to replace the path where '_SynapseRepo' should be replaced by the artifact name that you provided for release pipeline and 'annu-analytics' should be replaced with your synapse workspace name

    Please refer to the following thread for more details: https://learn.microsoft.com/en-us/answers/questions/704741/index.html

    Hope this will help. Please let us know if any further queries.

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

    • Please don't forget to click on 130616-image.png or 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.