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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Power BI Rest Api - 500 Internal Server Error - GetGroupsAsAdmin

Hi all,

Two days ago I started getting "500 Internal Server Error" when using the GetGroupsAsAdmin api endpoint.

It has been working fine until two days ago ( 18th January 2021 started to fail)

The GET request is the following:

  https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=1 

 

I have tried different %top values and I receive the same 500 Error until I hit %top=244. This value is changing over time, so I think that probably is related to the total number of workspaces.

We have 5028 workspaces, and we use this petition as a starting point to receive this count, handling the odata.count

Failed:

agarciagarcia_0-1642585183682.png

with %top=244:

agarciagarcia_1-1642585275605.png



Thanks in advance!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Update: Magically it is working fine again! 

It would be nice to have some place to check some kind of change log BTW.

Thanks everyone!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Update: Magically it is working fine again! 

It would be nice to have some place to check some kind of change log BTW.

Thanks everyone!

kevingauv
Advocate II
Advocate II

Hi, I got the same error as you.

 

However, my side, the error stop when I reached top 200 (https://api.powerbi.com/v1.0/myorg/admin/groups?%24top=200)

 

We have around 900 workspaces.

 

Any solutions so far?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.