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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.