Forum Discussion
djpirra
5 years agoHelper III
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
- lbendlinSuper User
Does it work with the "Try it out" button in the sandbox?