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

Join 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

Reply
jankuc
Frequent Visitor

TokenExpired Error Fails Invoke pipeline activity even when underlying pipeline finishes fine

In Fabric, our orchestration Data pipeline (DP) has an Invoke Pipline Activity that calls another pipeline with some ingestions and other tasks.

So we have orchestration DP that call Ingestion DP. It runs daily and the ingestion DP takes about 90 minutes.

What happens about once a week is that the Ingestion DP finishes successfuly, but the Invoke Activity in the Orchestration DP is marked as Failed with error: TokenExpired with message "Access token has expired, resubmit with a new access token".

What might be the issue and how to work around it? To me it seems that setting multiple retries is not the solution, because then we would run the Ingest DP 2 times.
1 ACCEPTED SOLUTION

Response from Microsoft Support: 

 

PG team has identified the cause, this issue is linked to the use of OAuth connections for pipelines, resulting in expired access tokens that require resubmission with new tokens. The bug work item is already deployed. It should get fixed by the end of this month.

View solution in original post

13 REPLIES 13
echaintreau
Frequent Visitor

Same problem here, let's hope it will be fix at the end of this month.
The workaround needing to deploy a notebook that check pipeline or notebook status through the API seem not ideal solution.

Jon_Murphy1
Regular Visitor

This exact issue has just occured for me too. Started last night. Same scenario; data pipeline uses the invoke pipeline activty to run another pipeline which takes 90 minutes to run. The invoked pipeline is successful , but the initial pipeline's "Invoke Pipeline" activity fails with the message below. 

 

{"requestId":"xxxx","errorCode":"TokenExpired","message":"Access token has expired, resubmit with a new access token"}

 

 

I think there might be an error. When DF is polling for the status of the invoked pipeline, they are signing it with a token that expires (lets say after 60minutes) and after that, they dont get the memo that the invoked ppln finished successfuly, but get an error with forbidden access, or some such. 

Yes I fully agree. I've raised a MS Support ticket. If I get a resolution I'll let you know. 

Respnse from Microsoft: "We already have a known issue reported for the similar issue, our Product Team is investigating the issue and I'll let you know when the fix is deployed."

Hi @jankuc ,

Thank you for the update. Once you receive further information from support, kindly share it here. It will be helpful for others in the community who may be facing similar issues.

 

Regards,

Yugandhar.

Response from Microsoft Support: 

 

PG team has identified the cause, this issue is linked to the use of OAuth connections for pipelines, resulting in expired access tokens that require resubmission with new tokens. The bug work item is already deployed. It should get fixed by the end of this month.

Do you still see these issues today? For us it seems MS has finally deployed some fix and the Invokes don't fail for us. 

That is good news jankuc. I was contacted by Microsoft yesterday to ask if I was still seeing the issue. I responded with this timeline of failures. So hopfully they applied a fix yesterday or today and I'll stop seeing failures moving forward. 

 

09/04/2025 – Fail - Access token has expired, resubmit with a new access token

11/04/2025 – Success

12/04/2025 – Success

13/04/2025 – Success

14/04/2025 – Fail - Access token has expired, resubmit with a new access token

15/04/2025 – Fail - Access token has expired, resubmit with a new access token

16/04/2025 – Fail - Access token has expired, resubmit with a new access token

17/04/2025 – Success

18/04/2025 – Success

19/04/2025 – Fail - Access token has expired, resubmit with a new access token

20/04/2025 – Fail - Access token has expired, resubmit with a new access token

21/04/2025 – Fail – Other Unrelated Issue.

22/04/2025 – Success

I continued to have the same issue , but with an internal error message instead of the Access Token Expired Message. It was escalated to the product team and as of last night it appear to now be working correctly. 

Message from Support below:

 

Jon_Murphy1_0-1745574175158.png

 

 

 

 

Same problem here.

@Microsoft , one month for the expected resolution... it's quite long!


Thanks for info. We already have a workaround. A notebook that runs if the InvokeActivity fails which gets the status of the pipeline run through rest api. Looking forward to not needing to use that workaround in the future. 


Wow, you have much faster MS Support than we do. I've filed it even before posting here. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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