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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Most Valuable Professional
Most Valuable Professional

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
Most Valuable Professional
Most Valuable Professional

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Free Fabric Certifications

Free Fabric Certifications

Get Fabric certified for free! Don't miss your chance.

January Fabric Update Carousel

Fabric Monthly Update - January 2026

Check out the January 2026 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.