Forum Discussion

Daniel Westerdale's avatar
Daniel Westerdale
Iron Contributor
Apr 25, 2017
Solved

Missing Search-Mailbox Command in my imported session

  I was asked today by a colleage to search ( and delete) and email sent accidently by one of the managers  to mulple recipients.    To do this in Exchange Online:  PowerShell I  normally open a r...
  • VasilMichev's avatar
    Apr 25, 2017

    You need to be a member of one of the following Roles:

     

    [21:18:56][O365]# Get-ManagementRole -Cmdlet Search-Mailbox

    Name                  RoleType
    ----                  --------
    Mailbox Import Export MailboxImportExport
    Mailbox Search        MailboxSearch

     

    Add yourself, reload the cmdlets and you should be good to go.

     

    Use Search-Malbox with care btw, one typo and you're updating your CV... :)

Resources