Reputation: 570
I am deploying Tabular Model via CICD, using this approach , however every time it deploys using different IP addresses. I have to disable the firewall rule in Azure Analysis Services for deployment. Is there any workaround for this or a specific IP range to whitelist?
Upvotes: 0
Views: 193
Reputation: 28196
For Self-hosted agent:
You can configure one specific Self-hosted agent for deployment purpose, so that you only need to add the IP address of the agent machine to allow list.
For Microsoft-hosted agent:
And if you prefer to using cloud-hosted agents, you need to dynamically modify the firewall rule in each continuous deployment.
(Since every time you get a new hosted agent instance, you then get a different IP address.)
We can use a Azure Powershell task right before the deploy task to configure the firewall rule of your Analysis Service. About how to write the content of PS script, you can refer to AddDevOpsIpToAAS.ps1 for some help.
Here's one detailed blog from Arthur about "How to add your DevOps IP to Azure Analysis Services Firewall", it should be helpful for you. (Thanks to Arthur!)
Upvotes: 1