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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

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
May FBC25 Carousel

Fabric Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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