ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Errors Generating Refresh Token with Microsoft365 Mailbox


Article ID: 236851


Updated On:


CA Service Management - Service Desk Manager


An already configured Microsoft365 mailbox with OAuth2.0 stops processing emails.

The following error is seen in the logs:

2022-03-08 04:20:38:563 ERROR  [ForkJoinPool-1-worker-3] c.c.S.m.ConnectSession - Failed to get a fresh access token...can not proceed further.... Connection timed out: connect


Microsoft365/Office365/Azure Mailbox

Service Management 17.3 RU12


After allowing communication from Exchange Online Protection on port 443 by the customers Security team, the refresh token was generated.

Additional Information

Microsoft365 Exchange Online Protection

URLs and IP Addresses Ranges