Microsoft Outlook 365 Connector | "Lifetime validation failed, the token is expired" error and not refreshing the access token automatically
Salesforce says this is fixed.
Summary
You have a Mule application that is using the Microsoft Outlook 365 Connector version 1.2.0 with the connection type OAuth client credentials and the below error is thrown intermittently and not able to refresh the access token and recover.
Lifetime validation failed, the token is expired.
at com.mulesoft.connector.outlook365.internal.service.Outlook365Service.handleResponse(Outlook365Service.java:180)
at com.mulesoft.connector.outlook365.internal.service.Outlook365Service.sendRequest(Outlook365Service.java:118)
at com.mulesoft.connector.outlook365.internal.service.Outlook365ApiServiceImpl.lambda$listMessages$3(Outlook365ApiServiceImpl.java:93)
at com.mulesoft.connector.outlook365.internal.connection.Outlook365Connection.execute(Outlook365Connection.java:68)
at com.mulesoft.connector.outlook365.internal.service.Outlook365ApiServiceImpl.listMessages(Outlook365ApiServiceImpl.java:80)
at com.mulesoft.connector.outlook365.internal.service.paging.ListMessagesPagingProvider.executeFirstRequest(ListMessagesPagingProvider.java:49)
at com.mulesoft.connector.outlook365.internal.service.paging.Outlook365PagingProvider.getPage(Outlook365PagingProvider.java:69)
at com.mulesoft.connector.outlook365.internal.service.paging.Outlook365PagingProvider.getPage(Outlook365PagingProvider.java:30)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderWrapper.getPage(PagingProviderWrapper.java:79)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.withConnection(PagingProviderProducer.java:157)
at org.mule.runtime.module.extension.internal.runtime.streaming.PagingProviderProducer.withConnection(PagingProviderProducer.java:150)
Workaround
We haven't loaded the full details for this issue yet. Check the official page.
History
First tracked here as Solution Deployed with 2 reports
Nov 30, 2026
Also open in Anypoint Connectors
SFTP Connector Write Operation Fails with SSH_FX_NO_SUCH_FILE Exception
Solution ScheduledMuleSoft / Anypoint ConnectorsReported Sep 10, 202559 reports59reports
Azure Event Hib listener not listening the events when it stoped and restarted due to checkpoint not created
Solution ScheduledMuleSoft / Anypoint ConnectorsReported Feb 14, 202422 reports22reports
JMS connector - enabling TLS cause problems with property socket.verifyHostName=false
Solution ScheduledMuleSoft / Anypoint Connectorsv1.9.1Reported Feb 28, 202419 reports19reports
Performance improvement for Sftp Connector 2.x
In ReviewMuleSoft / Anypoint ConnectorsReported Sep 26, 202416 reports16reports