I try to update RDL report data source via API (using service principal).
And I receive this return message:
"message": "Update datasource JIRADB is unauthorized"
I can not find solution. Service principal is admin in workspace.
But I can not set service principal as owner on data gateway data source (error msg no email address) - is this the problem?
Solved! Go to Solution.
Our paginated reports are directly from Oracle (through data gateway). Maybe this API can be used to rebind dataset - Reports - Rebind Report In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn.
But we didn"t test this.
AFAIK, update dataset should work for power bi reports. If you are work with RDL files, please try to use the update data source API if helps:
hello @DavidPi Thanks for these great info'! Does this also work for a paginated report that point to a PBI dataset - assuming old and new pbi dataset are in different workspace?
Yes, I use this API, but receive message - Update datasource JIRADB is unauthorized.
I do not know which permision I should have more. In Doc I see -
What does this mean? How to set owner of data source in RDL? I am confused.
Get a sneak peek into this year's Power Platform Conference Keynote.
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!