Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
djpirra
Helper III
Helper 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 6
lbendlin
Super User
Super User

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

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

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

Power BI Report Server also has the REST support.

I am able to use to retrieve reports, datasources, datasets etc...

What do you mean?

I mean that the REST API for Power BI service is rather different than the REST API for Power BI Report Server. I don't think I can help you further since I have no access to Report Server.

 

I understand. Hopefully someone will be able to clarify but it does not seem to have alot of traction at this point.

 

Thanks for your help.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.