Trying a Security Group instead of the Organization Management role
2018-06-18
Everything stopped working. We've been beating up on it for hours. Currently, there is a mail-enabled security group named
Mail Readers
Working on CDA 9/13/16
Got this working using a new Permissions - Admin Role: Copied the
Organization Management role into a new one named
mailbox.readers
9/12/2016 but it kept saying there's no such User or Group. Maybe a timing issue? IDK, but I gave it a ton of time and verified that the group showed in Admin Console before trying to run the script.
Create a new Security Group named
Mailbox Readers
Run this powershell script:
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox') -and (Alias -ne 'Admin')} | Add-MailboxPermission -User "mailbox.readers" -AccessRights fullaccess -InheritanceType all -AutoMapping $False
This script that was used to REVOKE access of Organization Management role :
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox') -and (Alias -ne 'Admin')} | Remove-MailboxPermission -User "Organization Management" -AccessRights fullaccess