Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Dear Mahza06,
Thanks for updating! I'm so glad to hear that you have managed to fix the issue. I think your solution can help others who are facing the same situation, so I made some summary about the scenario:
Symptom: Trying to run Connect-ExchangeOnline from Powershell and got this error -
Error Acquiring Token:
Unknown Status: Unexpected
Error: 0xffffffff80070520
Context: (pii)
Tag: 0x21420087 (error code -2147023584) (internal error code 557973639)
OperationStopped: Unknown Status: Unexpected Error: 0xffffffff80070520 Context: (pii) Tag: 0x21420087 (error code -2147023584) (internal error code 557973639)
Solution: Resolved by installing the PowerShell version 7.5.0 and running this command -
Connect-ExchangeOnline -UserPrincipalName < > -device
The information can provide much reference to other users in this forum, would you please help vote on this reply, so that others can see the information and get benefit from it. Thanks in advance!
At this point, we highly appreciate your precious time and kind cooperation. Thank you.
Sincerely,
Microsoft Community Moderator