Ask a question

David Moore

Migration SBS2011 to Office 365

I am trying to run the script on SBS2011

Get-Mailbox –ResultSize unlimited –Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Add-MailboxPermission -User 'migadmin' -AccessRights FullAccess -InheritanceType all

And I am getting: 

User or group "migadmin" wasn't found. Please make sure you've typed it correctly.
    + CategoryInfo          : InvalidData: (:) [Add-MailboxPermission], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : 4AE421D1,Microsoft.Exchange.Management.RecipientTasks.AddMailboxPermission

What am I missing.

  • Exchange Server 2010
asked12/25/2018 07:45
Add Comment
Last Activity 12/25/2018 08:26

1 Answer(s)

  • Mariette Knap
    Add Comment
Add an Answer