Exchange Online Spoke Actions Failing Due to Authentication Issues Issue Exchange Online Spoke actions fail during authentication when executed through the ServiceNow MID Server with Microsoft ExchangeOnlineManagement PowerShell module version 3.7.0 or later. The MID Server logs report the error: A window handle must be configured, due to WAM authentication requiring an interactive Windows session. Release Any with Microsoft ExchangeOnlineManagement PowerShell module version 3.7.0 or later in MID. Cause 1. The Exchange Online Spoke actions rely on the ExchangeOnlineManagement PowerShell module, which starting with version 3.7.0, uses Windows Web Account Manager (WAM) for authentication by default. WAM requires an interactive Windows session, which is unavailable in the MID Server's non-interactive environment, causing authentication failures.2. The module version 3.7.0 or later introduces compatibility issues with the MID Server's execution context, leading to errors such as 'A window handle must be configured'.3. The current implementation of the Exchange Online Spoke does not fully support WAM in non-interactive scenarios, requiring a downgrade to a supported module version as a temporary workaround. Resolution Install Microsoft ExchangeOnlineManagement PowerShell module version 3.6.0 on the Windows server hosting the MID Server. The Exchange Online Spoke mailbox actions currently support module versions up to 3.6.x. After installation, verify that the MID Server uses the supported module version and rerun the Exchange Online Spoke actions to confirm successful authentication and execution.