Connect-ExchangeOnline Error using AccessToken

John P 0 Reputation points

Im trying to connect using Connect-ExchangeOnline -DelegatedOrganization $upnDomain -AccessToken $accessToken -UserPrincipalName $upn -ShowProgress $false

But for few tenants getting below error. Please help

Unexpected character encountered while parsing value: F. Path '', line 1, position 1

A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,132 questions
{count} votes