Forum Discussion

djpirra's avatar
djpirra
Helper III
5 years ago

Get all subscriptions using REST API returning empty

Hi everyone,

 

I am currently trying to use Powershell to call the REST API endpoint to get all subscriptions based on the following Swagger file:

https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/Subscriptions/GetSubscriptions

 

This method is currently returning zero subscriptions when I have thousands of them on the server. The method is being executed under the default credentials (my user) and I am an admin of the PBI RS portal.

 

What am I doing incorrectly?

 

Thank you

 

Regards,

LS

 

6 Replies

  • Does it work with the "Try it out" button in the sandbox?

    • djpirra's avatar
      djpirra
      Helper III

      Unfortunately the servers are isolated of internet access and I cannot access it to try.

      • lbendlin's avatar
        lbendlin
        Super User

        as I understand it the REST API works against the Power BI service.  I didn't realize you use Report Server.