Link to home
Start Free TrialLog in
Avatar of landfemail
landfemailFlag for United States of America

asked on

can't Remove full access permission on all mailbox

if we go to EMC, and go to "manage Full access Permission",  can t remove users with a command line.
If we try to manually remove them it works, but it needs to be done in all databases, for all mailbox

We run the command:
1./Get-Mailbox | Remove-MailboxPermission -User test -AccessRights FullAccess -InheritanceType All

got the  warning for all mailbox: An inherited access control entry has been specified: [Rights: CreateChild, ControlType: Allow] and was ignored on object

2./ try to run another command:
Get-Mailbox | Remove-MailboxPermission -User test – deny –AccessRights ‘FullAccess’ -InheritanceType All

Got another warning  message: Can’t remove the access control entry on the object “CN…….   “ for account “test” because the ACE doesn’t exist on the object

3./ went to adsit.edit ( configuration)
services>microsoft exchange>administrative groyps>exchange administrative groups.  went to security tab of "databases" but users that are listed on EMC are not there.

if i create a new user, these users are automatically added.

How can i remove them?
Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Amit
Amit
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of landfemail

ASKER

Thank you, command works, but is there a way to use the command for all our database? we have more than 50 db
You need to run against each database one by one.
Thank you Amit.
How about users? I need to remove 4 users each time. Or it can be done only one database and one user at a time?

Also after running this command and as we did remove some of these users manually from VIP mailbox, the VIP mailbox appeared on the users ( without access)
Found this to remove them ... go into ADSIEdit.msc, Domain context, and drill down to the account you wish to be removed from, and look for the "MSExchDelegateListLink" attribute and remove yourself from that list.  The next time you start Outlook 2010, the ghost "additional" mailbox should disappear after a few minutes...
Do it one user and one DB at a time. Once access is removed, that mailbox mapping will also disappear automatically. Don't need to do anything via adsiedit. If you still see map mailbox then only use adsiedit. Once you run the command, give atleast a day or two to get everything updated.
Great command. Thank you
It seems that mailbox that were removed manually before that command, will show on their mailbox 's user.. we do have to manually remove them from adsi.edit ..