Exchange 2010 Cannot remove "full control" of a group which is is listed as "everyone" and not "domainname\everyone"

François Paiement 26 Reputation points
2020-07-31T13:22:00.037+00:00

I have a problem where I found out that a mailbox had a group, which is "everyone” and not "domainname\everyone" have full control permissions on it.

whenever i type in :

remove-MailboxPermission -Identity "userinfo" -User "everyone" -inheritanceType "all" -AccessRights "fullAccess"

i get the following result :

Unable to delete the current access control on the object "userinfo" for the account "domainname\everyone" because that entry does not exist on this object.

sorry if the translation is a bit off.

I think that Office 2010 was migrated from a 2003 before and it may be the cause on why the permission is listed like that.
What is worrying me right now is that if i login as anyone's webmail, i can access this person's e-mails right now.

But i am clueless on how to fix it after looking for solutions on the web for more hours than I should have and I couldnt get to talk to someone that have had that issue occured to him yet.

What i'm looking for is a way to remove a permission without it resolving my domain name, on a way to completely flush any permissions other users have on that mailbox.

-I tried deactivating it and then re-linking it, but everything stayed the same, then i was looking for a way to completely delete the mailbox immediately so the user does not have to wait for the retention time to get back access to a brand new mailbox that I HOPE? Would have all of its access set back anew. But the only powershell commands i found that would delete the mailbox immediately asks me if i am really sure i want to do that because its gonna delete the AD user as well.

Any help on any way to resolve this problem will be greatly appreciated.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,386 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 16,991 Reputation points MVP
    2020-07-31T14:13:05.973+00:00

    Hi,
    How about the following cmdlet?

    Get-MailboxPermission -Identity $User | where {($.User -notlike "NT AUTHORITY\SELF") -and ($.User -notlike NTAUTHORITY\SYSTEM")} | Remove-MailboxPermission

    You can add ore required users in filters and enhance the cmdlet before applying it


  2. Yuki Sun-MSFT 40,881 Reputation points
    2020-08-03T06:46:54.56+00:00

    Unable to delete the current access control on the object "userinfo" for the account "domainname\everyone" because that entry does not exist on this object.

    According to this warning message, I am assuming that if it actually means "fullaccess" is not granted for the mailbox for "domainname\everyone".

    May I know how you found out that "everyone” has full control permissions on the mailbox? Is "eveyone" or "domainname\everyone" listed in EMC or in the output of the command below?

    Get-MailboxPermission “userinfo” | where {$_.AccessRights -like “*FullAccess*”}  
    

    If Everyone is displayed in EMC > Manage FullAccess Permission, please have a go and see if you are able to delete Everyone there:
    14980-emc.jpg