The customer noticed timeouts in Office 365 connector and PowerShell getting stuck.
There is a warning visible in the log (jcs_conn_outlook_office365-com.log and jcs_daily.log):
=============================================================Attention!You are currently using an older version of the Exchange Online PowerShell module which uses RPS. RPS deprecation has been announced and you will need to move to the latest V3 module by June 2023. Read more here: https://aka.ms/RPSDeprecation Please install our new REST-based PS V3 module downloadable from https://www.powershellgallery.com/packages/ExchangeOnlineManagement/, which is more secure and reliable.Please note that you will no longer be able to use -UseRPSSession after June 2023.============================================================
Release : 14.4
The solution was to upgrade ExchangeOnlineManagement module to version 3.1.0, after v2 was uninstalled.
"Office 365 connector supports Certificate-Based Modern Authentication in Exchange Online. If using Certificate-Based Modern Authentication to connect to the Exchange Online organization,
install Microsoft Exchange Online V3 Module (EXO V3 Module) for Windows PowerShell."