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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
rkatta
New Member

Power BI REST Api limitations while working with Gateways & Datasources

Hi,

I am working on a solution to automate the process of the PBIX files publish to Power BI premium workspaces/Groups and auto datarefresh of datasets from the onprem underlying datasources using the latest Power BI REST API.

 

Following are the limitations found with the Power BI REST API for the complete automation with out any manual intervention through Power BI Service.

 

1) There is no method to change the URL of the underlying Datasources(Eg. Web API Url) present in Pbix file while importing into workspaces, to fetch the client specific data by passing different clientId for different clients.

 

2) There is no api call to fetch the underlying datasources(Eg. .xlsx file, Web Api Url, OData,..) for a dataset in Pbix file.

 

3) There is no proper code to create a datasource for a Gateway for underlysing datasource is of type Web Url and with Windows authentication.

 

4) There is no api call to add/link a dataset to the onpremises Gateway configured. Currently we need to goto Power BI Service for manual linking.

 

I request any help in overcoming these scenario's.

 

2 REPLIES 2
KumarDarmesh
Helper IV
Helper IV

Where do you find those limitations?

These issues are found/lacking after exploring the different options given in latest Power BI REST API Reference given in MSDN

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.