Connect to Exchange Online PowerShell with EXO V2 Powershell Module under Linux - Connect-IPPSSession

1.6k Views Asked by At

Im trying to connect to the Online PowerShell with the EXO V2 Powershell module using the Connect-IPPSSession Cmdlet with certificates. Under Windows everything works fine when using the 2.0.6-Preview5 PreRelease of the OnlineExchangeManagement Module. Under Linux I get the following error with the PreRelease version when executing Connect-IPPSSession:

ConnectExchangeOnline: A parameter cannot be found that matches parameter name 'CertificateThumbprint'.

The command used:

Connect-IPPSSession -CertificatePassword (ConvertTo-SecureString -String 'password' -AsPlainText -Force) -CertificateFilePath "/home/.../certificate.pfx"

Get-InstalledModule returns:

Version              Name                                Repository           Description
-------              ----                                ----------           -----------
2.0                  CredentialManager                   PSGallery            Provides access to credentials in the Windows Credential Manager
2.3.0                PSWSMan                             PSGallery            Module to install and manage the forked WSMan client libraries for Linux and macOS.…
2.0.6-Preview5       ExchangeOnlineManagement            PSGallery            This is a Public Preview release of Exchange Online PowerShell V2 module.…

Are the PreRelease versions not usable under Linux?

0

There are 0 best solutions below