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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
DebbieE
Community Champion
Community Champion

Power BI Admin APIs All returning Response Code: 500

I have tried a few of the Power BI admin APIS (I am Power BI admin on out tenant) and After logging in to try it all i get is reponse Code 500

 

{
  "error": {
    "code": "",
    "message": "An error has occurred."
  }
}

Just as one example, the one I have just tried is https://docs.microsoft.com/en-us/rest/api/power-bi/admin/datasets-get-datasources-as-admin#code-try-...

 

I have put the correct data set ID found in the URL but the very same response comes back. 

 

How do I get these working? I am at a loss with them  

5 REPLIES 5
lbendlin
Super User
Super User

error 500 indicates that there is something wrong on the service side, not necessarily with your request. Assuming you have a Pro license you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/

DebbieE
Community Champion
Community Champion

great I have raised a ticked. thanks for that

Anonymous
Not applicable

Hi @DebbieE,

Any update about this? If the issue is fixed, could you please share the workarounds? I think they will help others who faced similar issues.

If the issue still appers, please share more detailed information to help us clarify your scenario and test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

It was a really simple issue. I have a personal Microsoft account and a Work Microsoft account and at the time it had switched to the personal account and I couldnt tell till I had fully logged out and gone back in again.

 

So it was simply a case of the wrong microsoft account being used. very quick solution to this one

Anonymous
Not applicable

HI @DebbieE,

It sounds like related to the auto sign-in feature with saved account conflict when you work with multiple accounts.
In addition, thank you for sharing the detailed scenario and workarounds about your issues.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Fabric Data Days is here Carousel

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.