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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
roypa
New Member

Error while refresh data

Data source error: {"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","parameters":{"ConnectionDetails":"{\"kind\":\"SharePoint\",\"path\":\"https://nestle.sharepoint.com/teams/NCETeam6\"}","CredentialType":"OAuth2","DatasourceType":"SharePointList"},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS50057: The user account is disabled.\r\nTrace ID: d8960d52-707a-4aee-b29a-203dc06c2a00\r\nCorrelation ID: acb7a0a6-d620-4310-a72d-888663afd669\r\nTimestamp: 2023-02-23 16:04:05Z"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS50057: The user account is disabled.\r\nTrace ID: d8960d52-707a-4aee-b29a-203dc06c2a00\r\nCorrelation ID: acb7a0a6-d620-4310-a72d-888663afd669\r\nTimestamp: 2023-02-23 16:04:05Z"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2146233088"}}],"exceptionCulprit":1}}} Table: First Off Cleaned Data.
Cluster URI: WABI-NORTH-EUROPE-M-PRIMARY-redirect.analysis.windows.net
Activity ID: ae0b48d6-07ac-4929-840f-38135869d95a
Request ID: d6e09e6c-3b26-55b2-2142-9a46c713c0c2
Time: 2023-02-23 16:04:05Z

1 REPLY 1
Sahir_Maharaj
Super User
Super User

Hello @roypa,

 

This error message suggests that there is an issue with the OAuth token refresh process for the SharePoint data source. It specifically mentions that the user account is disabled, which means that the account that Power BI is using to access the data source has been disabled in SharePoint.

 

To resolve this issue, you will need to enable the user account in SharePoint. Once the user account is enabled, you will need to refresh the OAuth token in Power BI to establish a new connection to the SharePoint data source. 

 

Once refreshed, you should be able to access the SharePoint data source in your Power BI report or dashboard.

 

Let me know if you may require further guidance in this regard.


Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution? (Yes, its FREE!)
➤ Lets connect on LinkedIn: Join my network of 15K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ About: https://sahirmaharaj.com/about.html
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.