Hi All,
I am trying to connect to exchange online through powershell from Powershell. But it is throwing below exception. While the same credentials and commands are working when executed directly from poweshell console. Any help is highly appreciated:
Error Acquiring Token:
Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: (pii)
Tag: 0x21420087 (error code -2147023584) (internal error code 557973639)
2025-08-28T14:45:13,344 ERROR http-nio-8080-exec-6 sailpoint.server.InternalContext:166 - output after adding user to DLUnknown Status: Unexpected
Error: 0xffffffff80070520
Context: (pii)
Tag: 0x21420087 (error code -2147023584) (internal error code 557973639)
At C:\Program
Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.8.0\netFramework\ExchangeOnlineManagement.psm1:754 char:21
-
- CategoryInfo : OperationStopped: (
, MsalServiceException - FullyQualifiedErrorId : Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: (pii)
Tag: 0x21420087 (error code -2147023584) (internal error code 557973639)
- CategoryInfo : OperationStopped: (