Gang, I'm trying to remove some older mailbox export requests on Exchange Server 2016. They are about 2 months old. A couple of things:
- The mailboxes/users no longer exist
- The database was dismounted when I first tried and received the error that it couldn't connect to the database. I mounted and that error went away.
- I ran into this issue because I was trying to remove the database and it wouldn't let me because these existed.
Here's what I've tried so far:
Get-MailboxExportRequest | % {Remove-MailboxExportRequest -RequestGuid $_.RequestGuid -RequestQueue $_.RequestQueue -Confirm:$false}
and
Get-MailboxExportRequest | Remove-MailboxExportRequest -Confirm:$false -Force
and both give me the same error of "mailboxGuid must not be empty."