We have Exchange 2013 on-premise with In-Place Archives hosted in Office365. I want to run get-mailboxstatistics against my hosted archive to check out statistics on the user of the archives.
I've connected to O365 with a new-pssession and imported the msonline module in PowerShell.
However, I get this error:
[PS] C:\Windows\system32>Get-Mailboxstatistics blahblahblah -archive
"The user 'blah blah blah' has a cloud-based archive. Currently, you can't run Get-MailboxStatistics -Archive on a
cloud-based archive."
Any ideas?