Forum Discussion
Power BI REST API "An error occurred when invoking the authorization extension."
- 5 years ago
Thank you for that information.
I went thourgh it and it didn't solve my issue.
I put users are the 'root' or top level and no change was made.
I did stumble on this though.
When I use the API and add a ItemID I get a valid result.
https://servername/reports/api/v2.0/folders({id})
Janey;
Thank you for your reply.
We use the api to get a list of all the folders in our Power BI instance. As it stands, only server admins can access the data the api should provide.
It is not really a valid option to grant power users administrative privileges
Is there some server permission or role I need to assign users to inorder for them to access the the api data?
- v-janeyg-msft5 years agoCommunity Support
Hi, pdunbar
Not sure if it is a permission problem, have you tried to give users other permissions, such as browser?
Reference:Role definitions - predefined roles - SQL Server Reporting Services (SSRS) | Microsoft Docs
If it doesn't solve your problem, Please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- pdunbar5 years agoRegular Visitor
Thank you for that information.
I went thourgh it and it didn't solve my issue.
I put users are the 'root' or top level and no change was made.
I did stumble on this though.
When I use the API and add a ItemID I get a valid result.
https://servername/reports/api/v2.0/folders({id})
- v-janeyg-msft5 years agoCommunity Support
Hi, pdunbar
It should be an error in the syntax of powerbi rest api at the beginning, I am glad you can solve it😀, so you can mark your answer as solution to help others.
Best Regards
Janey Guo