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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ivan_tf
New Member

cannot refresh dataset after changing my O365 password

Hi,

 

I published some Power BI reports to app.powerbi.com and they were working fine, but after I changed my O365 password a few weeks ago, the datasets of the reports cannot be refreshed anymore and I got the error message below whenever I try to refresh any dataset. The data is stored in SharePoint. Can anyone suggest a solution to solve this problem? Thanks in advance.

 

Data source error: {"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","parameters":{"ConnectionDetails":"{\"kind\":\"SharePoint\",\"path\":\"https://mycompany.sharepoint.com/sites/ITAPPTeamPlanner\"}","CredentialType":"OAuth2","DatasourceType":"SharePointList"},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '2023-03-20T10:53:30.6492309Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2023-11-02T00:56:32.0000000Z'. Trace ID: 2e1bc75c-ea46-4efa-b6c0-80c7ed415800 Correlation ID: 09c69d1c-8159-48c2-8810-9172dbee1794 Timestamp: 2023-11-02 02:04:15Z"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '2023-03-20T10:53:30.6492309Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2023-11-02T00:56:32.0000000Z'. Trace ID: 2e1bc75c-ea46-4efa-b6c0-80c7ed415800 Correlation ID: 09c69d1c-8159-48c2-8810-9172dbee1794 Timestamp: 2023-11-02 02:04:15Z"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2146233088"}}],"exceptionCulprit":1}}} Table: CR Tracker.
Cluster URI: WABI-SOUTH-EAST-ASIA-redirect.analysis.windows.net
Activity ID: 980eb5c6-e664-45c3-ba24-178eb0e94445
Request ID: d1d5ac7f-028c-2046-8177-b663674e9f0b
Time: 2023-11-02 02:04:15Z

 

Best regards,

Ivan

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @ivan_tf 

 

You would need to go into each dataset, then click on the Dataset settings, and then click on Edit Credentials. When the window opens for your SharePoint file, select oAuth and then log in with your user account.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

2 REPLIES 2
GilbertQ
Super User
Super User

Hi @ivan_tf 

 

You would need to go into each dataset, then click on the Dataset settings, and then click on Edit Credentials. When the window opens for your SharePoint file, select oAuth and then log in with your user account.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi,

 

We have similar issue occurred when we changed MS Service acct password. We have 100+ reports in workspace with this ownership name. The refresh of these reports got failed due to the below error. Is there any way we can authenticate dynamically without manually checking each dataset.

 

vsub14_0-1726249989887.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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