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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
jisaac
Helper I
Helper I

Pipeline giving LSROBOTokenFailure after developer password reset.

Before I begin, this post is not about data connections in pipeline activities, those are working fine.

This morning, the password for my Entra account was expired and I changed it. I logged out of Fabric and back in, now every one of my pipelines fails to run immediately giving the following error on initial tasks:

UUIDs and Timestamps redacted. 

BadRequest Error fetching pipeline default identity userToken, response content: {
  "code": "LSROBOTokenFailure",
  "message": "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 '0000-00-00T00:00:00.0000000Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '0000-00-00T00:00:00.0000000Z'. Trace ID: 00000000-0000-0000-0000-000000000000 Correlation ID: 00000000-0000-0000-0000-000000000000 Timestamp: 0000-00-00 00:00:00Z",
  "target": "PipelineDefaultIdentity-00000000-0000-0000-0000-000000000000",
  "details": null,
  "error": null
}. FetchUserTokenForPipelineAsync

 

This is similar to these two posts:

Solved: Fabric Data Pipeline fails with "LSROBOTokenFailur... - Microsoft Fabric Community

Sudden pipeline authorization issues - using crede... - Microsoft Fabric Community 

This bug will presumably happen whenever a person who last edited a pipeline has their password reset.

I can fix them by manually making a minor change, saving, reverting the change, and saving again, but this is not a solution. I have too many pipelines to be able to do this every time a developer's password is reset.

 

I believe this is a bug and pipelines should not be self-destructing when their creator's account is deactivated. Can anyone confirm this?

I need a solution to refresh all authentication tokens on pipelines (wherever those are accessed?) in my workspaces. I cannot afford to make minor edits to all of my pipelines.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jisaac 

 

The issue you're experiencing with Microsoft Fabric pipelines failing due to the "LSROBOTokenFailure" error after a password reset is a known problem. It occurs because the authentication tokens associated with the pipelines become invalid when the password of the account that last edited the pipeline is changed or reset. Here are some insights and potential solutions:

 

The error message indicates that the authentication grant (token) has expired or been revoked due to the password reset. This is tied to the pipeline's default identity, which relies on the credentials of the user who last modified the pipeline.

 

As you've mentioned, making a minor change to the pipeline, saving it, and then reverting the change refreshes the token. However, this is not practical for a large number of pipelines.

 

Unfortunately, there isn't a built-in feature in Microsoft Fabric to refresh tokens for all pipelines in bulk. However, you can automate this process using the Microsoft Fabric API or PowerShell scripts to programmatically update and save pipelines. This would simulate the manual "tickling" process for all pipelines.

 

To avoid this issue in the future, consider using a service principal for pipeline authentication instead of a user account. Service principals are not tied to individual user credentials and are unaffected by password resets.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-mdharahman
Community Support
Community Support

Hi @jisaac,

Thanks for reaching out to the Microsoft fabric community forum.

It looks like you are facing authentication issue in your pipelines after you reset your password. As @Anonymous already responded to your query, please go through his response and confirm if it answers your query or you need further help. 

 

I would also take a moment to thank @Anonymous, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

 

If this post helps then please mark it as a solution, so that other members find it more quickly.

Thank you.

Hi @jisaac,

As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.


If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.

Anonymous
Not applicable

Hi @jisaac 

 

The issue you're experiencing with Microsoft Fabric pipelines failing due to the "LSROBOTokenFailure" error after a password reset is a known problem. It occurs because the authentication tokens associated with the pipelines become invalid when the password of the account that last edited the pipeline is changed or reset. Here are some insights and potential solutions:

 

The error message indicates that the authentication grant (token) has expired or been revoked due to the password reset. This is tied to the pipeline's default identity, which relies on the credentials of the user who last modified the pipeline.

 

As you've mentioned, making a minor change to the pipeline, saving it, and then reverting the change refreshes the token. However, this is not practical for a large number of pipelines.

 

Unfortunately, there isn't a built-in feature in Microsoft Fabric to refresh tokens for all pipelines in bulk. However, you can automate this process using the Microsoft Fabric API or PowerShell scripts to programmatically update and save pipelines. This would simulate the manual "tickling" process for all pipelines.

 

To avoid this issue in the future, consider using a service principal for pipeline authentication instead of a user account. Service principals are not tied to individual user credentials and are unaffected by password resets.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous,

 

Thanks for letting me know. It's good to hear that it's a known issue. Do you know if it will be addressed and fixed in the future?

 

For Service Principal accounts, I understand using a Service Principal for data connections, but is there documentation you can send me on how to use a Server Principal to own Fabric pipelines and other items? For instance, if a developer needs to change a pipeline and they do it from their account, they become the owner, correct? How can I make it so the Service Principal is always the owner even if a developer makes a change, or am I looking at it the wrong way?

 

Thanks,

Jacob Isaac

Helpful resources

Announcements
May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 2025 Fabric update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Solution Authors
OSZAR »