Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
I delivered a set of pipelines to the client two months ago but they are reporting that the pipelines are failing. When I open up the pipeline and check the failed run, it fails when running activities for Notebook, Lookup and Get Metadata.
All of these activities have failure messages starting with "Failed to get User Auth access token. The error message is: Failed to get User Auth access token. The error message is: 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 '2025-02-12T20:24:50.5122150Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2025-03-31T16:00:07.0000000Z'."
I was able to fix these failures by opening up each activity and reconfiguring every activity with the same exact settings before saving and running. The pipeline is working now but I'm not sure how we can prevent this in the future as my work with the client is supposed to be finished.
I'm thinking what is happening is that the account I used to develop the pipelines ran into a password expiry a month after I left the project and that logging back in and reconfiguring set up a fresh token. Is this correct? As well, how do I keep the token refreshed after I leave the project?
Solved! Go to Solution.
Hi @BriefStop,
You're right most documentation around app registration is general to Microsoft Entra ID.
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi @BriefStop,
Thank you for reaching out to the Microsoft Fabric Forum Community.
Thanks for the detailed context this is a common issue in pipeline implementations where user-based authentication is used. You're right in your diagnosis: the failures you're seeing are caused by token revocation tied to a user account, and reconfiguring the activities re-established a fresh token using your credentials.
Occurs when an OAuth2 token issued to a user account is no longer valid. In your case, it likely happened due to a password reset or change, after your development work was completed. Since your user token was tied to the activities in the pipeline, those activities failed when the token was revoked.
Please refer the below links for your reference:
Error code AADSTS50173 - The Provided Grant Has Expired Due to it Being Revoked | Microsoft Learn
Microsoft Entra authentication & authorization error codes - Microsoft identity platform | Microsoft...
Refresh tokens in the Microsoft identity platform - Microsoft identity platform | Microsoft Learn
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Thank you very much! I'm looking up the documentation for your next steps and I'm not sure where to start:
Hi @BriefStop,
You're right most documentation around app registration is general to Microsoft Entra ID.
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.