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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.