Azure Analysis Services firewall is blocking access from Synapse Analytics pipeline. ADF ip ranges have been whitelisted

Roel Evers 26 Reputation points
2024-03-15T10:11:04.41+00:00

Hi,

I'm having a hard time refreshing cubes in Azure Analysis Services from an Azure Analytics pipeline.

We have the firewall enabled on AAS and supposedly all I would have to is whitelist the ip ranges for the services that need acces.I downloaded the ranges from here: https://www.microsoft.com/en-us/download/details.aspx?id=56519 (Azure IP Ranges and Service Tags – Public Cloud).
There are no specific ranges for synapse analytics, only for ADF. So I whitelisted those.
When Synapse executes the pipeline at night ( from a trigger ) the connection to AAS fails. When I execute the pipeline manually it works ( my IP is whitelisted also).
I also checked what the current ip of the service is on several occassions by creating a pipeline with an web activity calling https://ipinfo.io/ip. The ip-adress returned is never within the ranges supplied for ADF.

So... should I whitelist different ranges for Synapse Analytics ? Or are they the same as the ADF ranges ? Could not find an answer to that question yet.
And I'm looking into dynamically adding the service ip through scripting or rest api, but I would really like to see the basic whitelisting solution work first.

For dynamic ip whitelisting I have found:

https://microsoft-bitools.blogspot.com/2020/11/process-analysis-service-with-firewall.html

https://github.com/mathwro/Scripts/blob/master/Azure/AllowAzure-AnalysisServer.ps1

Basically the same solutions, one from pipeline and rest api and the other from powershell.

Has anybody encountered the same issue before ? What's the (best or any) solution ?

Any help would be greatly appreciated !

Kind regards,

Roel
Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
439 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,413 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Roel Evers 26 Reputation points
    2024-03-19T10:17:55.82+00:00

    We figured it out. Turns out that for one activity we accidentally used a self-hosted integration runtime instead of the auto resolve runtime. Now the ADF whitelisting works.

    1 person found this answer helpful.

  2. Nandan Hegde 29,896 Reputation points MVP
    2024-03-15T10:50:49.65+00:00

    You can find the current list of IP addresses for Azure SQL/Synapse Analytics here: https://learn.microsoft.com/en-us/azure/azure-sql/database/connectivity-architecture#gateway-ip-addresses

    Similarly, Synapse pipelines share many attributes with Data Factory pipelines, and the IP addresses should match. You can find those in the document you linked.

    Keep in mind that this list doesn't change often, but it can change. Generally there will be an announcement ahead of time so you can update your firewalls

    So white listing the IP range of the synapse region should resolve ideally