Forum Discussion
Power BI Embedded - dynamic bindings
Good morning
Until now I have been working implementing power bi embedded 1: 1 report to dataset
All working
I get the authorization token via tenantAuthority (AutorityUrl + TenantId + AppID + AppSecret)
No user
I recently decided to use a single report and dynamically switch the dataset
I added the datasetID information on the js code on the config
By doing this I get a 403
The call I see passing through the network is this
The difference from the old call is that the parameter with name "datasetObjectId"
How come i get a 403?
Thanks in advance
Hi DavideBono97,
To rebind a report to a dataset, I would recommend the official Rebind REST API.
If the report is in My workspace, take Reports-Rebind Report REST API.
If the report is in other workspaces, then take Reports-Rebind Report In Group.
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
1 Reply
- v-cazheng-msftCommunity Support
Hi DavideBono97,
To rebind a report to a dataset, I would recommend the official Rebind REST API.
If the report is in My workspace, take Reports-Rebind Report REST API.
If the report is in other workspaces, then take Reports-Rebind Report In Group.
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun