Office365 Exchange Integration for Security incidents fails with execution of powershell scriptsIssue Docs link for integration : https://docs.servicenow.com/bundle/quebec-security-management/page/product/secops-integration-microsoft-exchange-online/task/ms-checklist.html During the integation, Servicenow executed a powershell script "ConnectO365ForEmails.ps1" to connect to Office 365, and execute fetch security incidentsReleaseAll versionsCauseWhile connecting, Servicenow uses MID server to communicate with Office 365 Exchange application, and we see below error in MID server logs : Worker-Standard:PowershellProbe-4309776887a6fcd021b443f90cbb35a5 DEBUG: Executing command: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -executionpolicy unrestricted -noninteractive -nologo -noprofile -command "& {& 'scripts\PowerShell\PSScript.ps1' -computer '127.0.0.1' -script 'E:\MidServer Application\nndev1.mid1\agent\scripts\PowerShell\SecurityApplications\ConnectO365ForEmails.ps1' 'use_mid_service_account' $false -useCred $true -ismid $true -isDiscovery $true -debug $false -logInfo $true -skipTest $false -executeRemote $false -processTimeout 600 -copyScriptToTarget $false; exit $LASTEXITCODE}" Worker-Standard:PowershellProbe-4309776887a6fcd021b443f90cbb35a5 DEBUG: With credential named : MID service account Worker-Standard:PowershellProbe-4309776887a6fcd021b443f90cbb35a5 DEBUG: Execution status: failed Worker-Standard:PowershellProbe-4309776887a6fcd021b443f90cbb35a5 SEVERE *** ERROR *** Failed to create remote PS session Worker-Standard:PowershellProbe-4309776887a6fcd021b443f90cbb35a5 SEVERE *** ERROR *** Failed while executing ConnectO365ForEmails.ps1 Worker-Standard:PowershellProbe-4309776887a6fcd021b443f90cbb35a5 Enqueuing: E:\MidServerResolutionOne of the reason for this behavior is that MID server is not enabled to use TLS 1.2 version. Please work with the admin managing the MID server to ensure TLS 1.2 is enabled. Below link might help with this requirement : https://support.citrix.com/article/CTX245765