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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sachinkrsah1995
Microsoft Employee
Microsoft Employee

Automate the process of creating connection in Power BI

Hi Team,

Is there an API or any other way to automate the process of creating and managing a connection in PowerBI.

 

 

sachinkrsah1995_1-1714036980013.png

 

1 ACCEPTED SOLUTION
Expiscornovus
Super User
Super User

Hi @sachinkrsah1995,


I believe the Power BI REST APIs has some options.

 

But afaik for creation of a data source it is limited to the On-premises connection type:

https://learn.microsoft.com/en-gb/rest/api/power-bi/gateways/create-datasource



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

View solution in original post

2 REPLIES 2
Expiscornovus
Super User
Super User

Hi @sachinkrsah1995,


I believe the Power BI REST APIs has some options.

 

But afaik for creation of a data source it is limited to the On-premises connection type:

https://learn.microsoft.com/en-gb/rest/api/power-bi/gateways/create-datasource



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
Anonymous
Not applicable

Hi @sachinkrsah1995 
We haven’t heard from you on the last response and was just checking back to see if your query has been resolved. Otherwise, will respond back with the more details and we will try to help.
Thanks

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.