Forum Discussion

Zuv's avatar
Zuv
Frequent Visitor
9 years ago
Solved

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...
  • Eric_Zhang's avatar
    9 years ago

    Zuv

    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.GetBoundGatewayDatasources

    Please review your code and ensure that the collectionName, workspaceId and datasetId(some one put a report id here) are all correct.