Forum Discussion
What are the minimum rights for the caller to access REST API on Power BI Report Server?
- 4 years ago
SorenHElisa wrote:
As the user trying to use the API, I can see all reports. I can even set access rights on report and folder level as the user logged on.
So if you login as the user that is trying to use the API and then paste the following address into the address bar you should get a json response back
https://<report_server>/
reports/api/v2.0/ PowerBIReports If this works the issue could be with how you are calling curl, not with the API permissions. It could be similar to the issue here https://stackoverflow.com/questions/38353736/ntlm-handshake-rejected-curl
Have you tried with any other tools like Postman or using Invoke-RestMethod from Powershell
It depends on what specific API you are calling. The rights are controlled by the permissions set in Report Server you do not need to add the user to the server admin role.
If the user has Browser rights they will be able to list reports. If you want to alter reports or data sources you would probably need contribute rights. If you want to change subscriptions or permissions you would probably need Content Manager rights. Basically if a user can perform an action through the UI they can also do it with the REST API.