Hi, JeremyTBradshaw Here's the output, running under LocalSystem (commands in bold). Thanks for any advice you have - as I said, if I'm doing something wrong, I'm happy to fix it. I'll try playing around in psexec. Good ideas all.
dir cert:\LocalMachine\My
PSParentPath: Microsoft.PowerShell.Security\Certificate::LocalMachine\My
Thumbprint Subject
---------- -------
D2FC8B18A0F25752979903E4F94F793D9985E1D5 CN=Azure, O="XXX", In...
Connect-ExchangeOnline -CertificateThumbprint "D2FC8B18A0F25752979903E4F94F793D9985E1D5" `
-CertificatePassword (ConvertTo-SecureString -String "XXX" -AsPlainText -Force) `
-AppID "ca3af18d-86c7-45df-9346-XXXXXXXXXXXX" -Organization "XXX.onmicrosoft.com"
----------------------------------------------------------------------------
The module allows access to all existing remote PowerShell (V1) cmdlets in addition to the 9 new, faster, and more reliable cmdlets.
|--------------------------------------------------------------------------|
| Old Cmdlets | New/Reliable/Faster Cmdlets |
|--------------------------------------------------------------------------|
| Get-CASMailbox | Get-EXOCASMailbox |
| Get-Mailbox | Get-EXOMailbox |
| Get-MailboxFolderPermission | Get-EXOMailboxFolderPermission |
| Get-MailboxFolderStatistics | Get-EXOMailboxFolderStatistics |
| Get-MailboxPermission | Get-EXOMailboxPermission |
| Get-MailboxStatistics | Get-EXOMailboxStatistics |
| Get-MobileDeviceStatistics | Get-EXOMobileDeviceStatistics |
| Get-Recipient | Get-EXORecipient |
| Get-RecipientPermission | Get-EXORecipientPermission |
|--------------------------------------------------------------------------|
To get additional information, run: Get-Help Connect-ExchangeOnline or check https://aka.ms/exops-docs
Send your product improvement suggestions and feedback to exocmdletpreview@service.microsoft.com. For issues related to the module, contact Microsoft support. Don't use the fe ----------------------------------------------------------------------------
New-ExoPSSession : No certificate found for the given CertificateThumbprint : D2FC8B18A0F25752979903E4F94F793D9985E1D5
At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\2.0.3\Ex changeOnlineManagement.psm1:481 char:30
+ ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-ExoPSSession], Exception
+ FullyQualifiedErrorId : System.Exception,Microsoft.Exchange.Management.ExoPowershellSnapin.NewExoPSSession