Answered by:
How can you remove User rights that were applied to a MailStore?

Question
-
Hi All,
I've inherited an Exchange 2010 SP3 environment and I'd like to do a bit of cleanup from legacy accounts such as Blackberry, Digiscope and others that were assigned rights directly to our MailStores.
I see that Digiscope had rights applied like this:
I'd like to remove the access rights and then delete the legacy accounts.
I'm thinking the following may work, but if you have alternative ideas, I'd really like to read them.
- Remove-ADPermission –identity “Microsoft Exchange” –user MyDomain\DSAdministrators
- Remove DSAdministrators from the “Public Folder Management”
- Delete DSAdmin User Account
- Delete DSAdministrators Group
Thank you very much for your time,
Mr Mister
Tuesday, December 31, 2013 5:54 PM
Answers
-
I'd remove the permissions in the reverse order they were applied:
Get-MailboxDatabase | Remove-ADPermission -User "Domain\DSAdministrators" -ExtendedRights Receive-As -InheritanceType All
Remove-ADPermission -Identity “Microsoft Exchange” -User "Domain\DSAdministrators" -AccessRights GenericAll –InheritanceType All
Remove-ADPermission –Identity “Microsoft Exchange” -User "Domain\DSAdministrators" -ExtendedRights Receive-As –InheritanceType AllSteps 2 thru 4 are okay.
--- Rich Matheisen MCSE&I, Exchange MVP
- Marked as answer by Mr Mister Thursday, January 2, 2014 11:22 PM
Tuesday, December 31, 2013 10:27 PM
All replies
-
I'd remove the permissions in the reverse order they were applied:
Get-MailboxDatabase | Remove-ADPermission -User "Domain\DSAdministrators" -ExtendedRights Receive-As -InheritanceType All
Remove-ADPermission -Identity “Microsoft Exchange” -User "Domain\DSAdministrators" -AccessRights GenericAll –InheritanceType All
Remove-ADPermission –Identity “Microsoft Exchange” -User "Domain\DSAdministrators" -ExtendedRights Receive-As –InheritanceType AllSteps 2 thru 4 are okay.
--- Rich Matheisen MCSE&I, Exchange MVP
- Marked as answer by Mr Mister Thursday, January 2, 2014 11:22 PM
Tuesday, December 31, 2013 10:27 PM -
-
Rich,
Thank you very much for your reply! I'll be able to try this out this evening and report back.
Thanks again,
Mr Mister
Thursday, January 2, 2014 2:46 PM