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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
trimaverick
New Member

Can Fabric connect to an Azure SQL Virtual machine?

How would I got about connecting to an Azure SQL VM from Fabric?

 

thanks

john

2 ACCEPTED SOLUTIONS
FabianSchut
Super User
Super User

Hi, you could install the Fabric on-premises data gateway on the virtual machine and add that gateway in the connection section of Fabric. In Fabric Data Factory, you can access that connection with a data pipeline. Documentation about setting this up can be found here: https://learn.microsoft.com/en-us/fabric/data-factory/how-to-access-on-premises-data

View solution in original post

NandanHegde
Super User
Super User

Ideally it is recommended to have a seperate server hosted within the same VNet as the SQL server and you set up the On Premises data gateway on the new server which would act as a bridge between Fabric data pipeline and your IaaS SQL server.

 

Note : It is not preferred to have the gateway in the same server as the database




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

2 REPLIES 2
NandanHegde
Super User
Super User

Ideally it is recommended to have a seperate server hosted within the same VNet as the SQL server and you set up the On Premises data gateway on the new server which would act as a bridge between Fabric data pipeline and your IaaS SQL server.

 

Note : It is not preferred to have the gateway in the same server as the database




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com
FabianSchut
Super User
Super User

Hi, you could install the Fabric on-premises data gateway on the virtual machine and add that gateway in the connection section of Fabric. In Fabric Data Factory, you can access that connection with a data pipeline. Documentation about setting this up can be found here: https://learn.microsoft.com/en-us/fabric/data-factory/how-to-access-on-premises-data

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.