Forum Discussion

SorenHElisa's avatar
SorenHElisa
Icon for Helper I rankHelper I
4 years ago
Solved

What are the minimum rights for the caller to access REST API on Power BI Report Server?

Hi,   Our on-prem PBIRS is January 2022. We are aiming to automate some routine processes and the REST API environment seems to have everything we need. We have configured WindowsNegotiate and Wind...
  • d_gosbell's avatar
    d_gosbell
    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