Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Team,
Is there an API or any other way to automate the process of creating and managing a connection in PowerBI.
Solved! Go to Solution.
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
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
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
Check out the November 2025 Fabric update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!