Forum Discussion
clehnert
6 months agoFrequent Visitor
REST API BindToGateway returning 200OK but not using passed data source?
Hi all, For a couple of years now I've been working on a Power BI Embedded solution to give customers access to a handful of premade dashboards and give them the ability to make new reports based...
v-saisrao-msft
5 months agoCommunity Support
Hi clehnert,
The BindToGateway API returning a 200 OK status means the request was accepted. However, successful binding requires that the dataset’s server and database names match those in the gateway data source definition. If the server naming formats differ, the gateway association may fail. Make sure the service principal is included as a data source user, and if you’re using a gateway cluster, provide the primary gateway ID. To check the binding status, use the Get Datasources In Group API.
Datasets - Bind To Gateway In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Add or remove a gateway data source - Power BI | Microsoft Learn
Thank you.