I have run into the same exact situation. Running Get-Mailbox | Add-MailboxPermission and adding an admin account across all mailboxes entered must have processed incorrectly. It entered a nonexisitant user who's SID was identical to the actual user except off by one digit.
My questions though are regarding your solution.
Does running the Get-OrganziationConfig | Remove-ADPermission -User <SID>... remove all permissions from all affected mailboxes all in one shot?
I am a bit hesitant to run it considering the effects of the last script that ran on all 3000+ mailboxes.
Also, Do I still have to do a Get-Mailbox | Remove-mailboxPermissions on all the accounts as well for the affected SID?
Main Topics
Browse All Topics





by: CoyotesITPosted on 2008-08-07 at 12:21:14ID: 22184343
I got it. This was at the OrganizationConfig level, I was able to see this unknown account through ADSIEdit
| Remove-ADPermission -User SID -AccessRights ReadProperty, GenericExecute -ExtendedRights Receive-As, Send-As, ms-Exch-Store-Admin, ms-Exch-Store-Create-Named -Propertie s, ms-Exch-Read-Metabase-Prop erties
Through the management shell the command to remove each permission was
[PS]>Get-OrganizationConfig
I believe the SID was carried over from our 2003 -> 2007 migration from an account that was added to the original organization a long time ago.
I request to close this question and have points refunded.
Thanks!