Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Fragmaticx
Frequent Visitor

Creating a sql connecting in Poer bi service/fabric - not working in pipeline

Hi 

I have create a connection to a sql server, and it accepts the connection.

BUt trying to use it via a pipeline i get this error:
An exception occurred: DataSource.Error: Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server


image.png



image.png


Onyl this one connection acting like this. Any ideas?


1 ACCEPTED SOLUTION

Here you can download the list of all ip addresses Microsoft uses: https://www.microsoft.com/en-us/download/details.aspx?id=56519. You can add all Fabric addresses as trusted IPs in your source. However, I recommend you to create one static IP address for your environment as the IP addresses above are also changing (and is a big list which every Fabric user uses). You can set a static IP with the following steps:

Create a VM with static IP

Install a Fabric on-premises gateway in the VM.

Add the static IP address from the VM to your data source as a trusted connection

Use the gateway in DataFlow gen2 (or pipeline for that matter)

 

View solution in original post

4 REPLIES 4
Fragmaticx
Frequent Visitor

Hi @FabianSchut 

its a cloud connection, and its the same cloud connection i use from the pipeline?

if I need to whitelist something, how do I find the ip/service to whitelist?

Here you can download the list of all ip addresses Microsoft uses: https://www.microsoft.com/en-us/download/details.aspx?id=56519. You can add all Fabric addresses as trusted IPs in your source. However, I recommend you to create one static IP address for your environment as the IP addresses above are also changing (and is a big list which every Fabric user uses). You can set a static IP with the following steps:

Create a VM with static IP

Install a Fabric on-premises gateway in the VM.

Add the static IP address from the VM to your data source as a trusted connection

Use the gateway in DataFlow gen2 (or pipeline for that matter)

 

Hi @FabianSchut 

This is good advice thank you, ill try and take a look at that thank you 🙂

FabianSchut
Super User
Super User

Hi, does the connection that works use a gateway to connect to the source?
Or you may have added the IP address of Power BI , but did not add the IP address of Fabric.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.