Forum Discussion
Missing "Restore-RecoverableItems" from the Exchange Module
- May 28, 2018
I wrote about this topic in March https://www.petri.com/recovering-deleted-email-exchange-online. At that time, the cmdlets had been deployed in the U.S. and EMEA and probably elsewhere (except the sovereign clouds, which are always different). Some people complained at the time that they couldn't see the cmdlets, but no one has asked recently, so I assume that the roll-out is complete. Making sure that the account that logs into PowerShell has the Mailbox Import Export role (and admin permissions) is key. Is there any possibility that your account is missing the role? Perhaps you can remove the role, log out, wait five minutes, reassign the role, sign out again, and then try... Just to be sure.
An easy way to check whether the cmdlet is available for your tenant is to run this:
Get-ManagementRole -Cmdlet Restore-RecoverableItems Name RoleType ---- -------- Mailbox Import Export MailboxImportExport
And yes, as seen from the above that's the role you need. If it's missing from the output, then the rollout has not completed for your tenant, or perhaps there is a different issue that you should address with support.