Forum Discussion
Zuv
9 years agoFrequent Visitor
help need on updating dataset credentials on PowerBI Embedded
I am using PowerBI embedded with rest api calls, all the datasets sits under Azure Sql. I have written easily rest api calls with php and cURL, like -- detele dataset, upload reports, get workspaces...
- 9 years ago
Those GetBoundGatewayDatasources and GatewayDatasource both work in my test.
When reviewing your code, I've found the the API url is wrong, you're missing the highlighted part.
https://api.powerbi.com/v1.0/collections/{collectionName}/workspaces/{workspaceId}/datasets/{datasetKey}/Default.GetBoundGatewayDatasourcesPlease review your code and ensure that the collectionName, workspaceId and datasetId(some one put a report id here) are all correct.
Eric_Zhang
Microsoft Employee
9 years agoThose GetBoundGatewayDatasources and GatewayDatasource both work in my test.
When reviewing your code, I've found the the API url is wrong, you're missing the highlighted part.
https://api.powerbi.com/v1.0/collections/{collectionName}/workspaces/{workspaceId}/datasets/{datasetKey}/Default.GetBoundGatewayDatasources
Please review your code and ensure that the collectionName, workspaceId and datasetId(some one put a report id here) are all correct.