Closed rypto closed 1 year ago
I added -UseRPSSession to line 57 in Get-GALContacts.ps1 and it works now
Connect-ExchangeOnline -UseRPSSession -ConnectionUri $ConnectionUri -CertificateFilePath $CertificatePath -CertificatePassword $CertificatePassword -AppId $ClientID -Organization $ExchangeOrg
Hi, I am also running it for a single user and I get the same problem.
I have tried what Rypto said but I get the same error.
Why is this error occurring?
It looks like you're using Exchange Online Powershell version 3.0.0. You need to use version 2.0.5 with the script. Please see the README.
Indeed, sorry for not checking. Using version 2.0.5 solved the problem and other problems related to the switches as well. So using version 2.0.5 you don't need to use that string I provided above
Hi,
I'm sure I'm doing something wrong. I get the following when testing the script to only one user. What could be the issue?