Forum Discussion
Persistant failed refresh for odata from d365
- 2 months ago
This is a credentials issue, not a refresh logic issue. AADSTS50173 means the refresh token tied to the D365 OData source was invalidated, usually because the account that signed into that data source had a password change, MFA reset, or had its sessions revoked by an admin. The TokensValidFrom timestamp in the error message tells you the exact cutoff.
To fix it, open the semantic model in the Power BI Service, go to Settings, expand Data source credentials, click Edit credentials on the D365 OData source, sign in again with OAuth2, then run a refresh. Once a fresh token is issued, the scheduled refresh will start working again.
One caveat: only the dataset owner can update those credentials. If the original owner cannot sign in (left the company, account disabled), use Take over from the dataset settings first, and then edit the credentials with the new owner.
If this helped, please give it a thumbs up and mark it as the accepted solution.
Thanks,
Shai Karmani
Hi omal
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.
Thank you.