Forum Discussion
chad-at-danaher
Jul 12, 2023Copper Contributor
Error connecting to ExchangeOnline with PowerShell 7 - "Error Acquiring Token:...."
I can connect to EXO with PowerShell 5.1 fine. I just installed PS 7.3.5. When I run Connect-ExchangeOnline I get the following error: PS C:\> Connect-ExchangeOnline Error Acquiring Token: Syst...
Alexander_John
Mar 20, 2024Copper Contributor
I'm having the exact same problem. Tls 1.2 is active:
PS C:\Program Files\PowerShell\7> [Net.ServicePointManager]::SecurityProtocol
Tls12
PS C:\Program Files\PowerShell\7> Get-Module ExchangeOnlineManagement
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 3.2.0 ExchangeOnlineManagement {Add-VivaModuleFeaturePolicy, Get-ConnectionInfo…
Script 1.0 ExchangeOnlineManagement {Add-VivaModuleFeaturePolicy, Connect-ExchangeOn
PS C:\Program Files\PowerShell\7> [Net.ServicePointManager]::SecurityProtocol
Tls12
PS C:\Program Files\PowerShell\7> Get-Module ExchangeOnlineManagement
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 3.2.0 ExchangeOnlineManagement {Add-VivaModuleFeaturePolicy, Get-ConnectionInfo…
Script 1.0 ExchangeOnlineManagement {Add-VivaModuleFeaturePolicy, Connect-ExchangeOn