Restrict users from deleting emails in Shared Mailbox

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3143507%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3ERestrict%20users%20from%20deleting%20emails%20in%20Shared%20Mailbox%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3143507%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CP%3EHi%20team%2C%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3Eis%20there%20a%20way%20to%20restrict%20ppl%20from%20deleting%20emails%20in%20a%20shared%20mailbox%3F%20We%20are%20using%20Exchange%20Online.%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3CLINGO-LABS%20id%3D%22%5C%26quot%3Blingo-labs-3143507%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CLINGO-LABEL%3EExchange%26lt%3B%5C%2Flingo-label%26gt%3B%3CLINGO-LABEL%3EOffice%20365%26lt%3B%5C%2Flingo-label%26gt%3B%26lt%3B%5C%2Flingo-labs%26gt%3B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3143507%22%20slang%3D%22en-US%22%3ERestrict%20users%20from%20deleting%20emails%20in%20Shared%20Mailbox%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3143507%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eis%20there%20a%20way%20to%20restrict%20ppl%20from%20deleting%20emails%20in%20a%20shared%20mailbox%3F%20We%20are%20using%20Exchange%20Online.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3143507%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

Hi team,

 

is there a way to restrict ppl from deleting emails in a shared mailbox? We are using Exchange Online.

14 Replies
You can use folder-level permissions for that. If you are using Full Access, there is no way to restrict deleting.
is there any guide about how to utilize folder-level permission? Have no idea aobut how to do it :) ...I can remove full access if required.
Right-click on a folder > Properties > Permissions :) If you want to automate things, use PowerShell and the Add-MailboxFolderPermission cmdlet: https://docs.microsoft.com/en-us/powershell/module/exchange/add-mailboxfolderpermission?view=exchang...
ideally I do it via GUI and so.... Not good with PowerShell :)

Folder - should I do it in Outlook? ... I mean... right-click on Inbox folder of shared mailbox and do it there?

How do I remove full access please? Should I remove delegates in EAC?
You can do it in both Outlook or OWA, although if you want to grant Calendar permissions, only Outlook exposes them. For full access, use the EAC or PowerShell.
thanks Vasil for being patient with me :).... One last question I hope - how to remove full access via EAC? Are we talking about removing users from Delegation -> Read/Manage?
Yes, that's how it's shown in the EAC.
cool... that seems to be working..... I've set permission on "Inbox" folder to reviewer in that mailbox and seems to be working fine. Just looks that it does not apply to subfolders..... so would need to manually change permissions for each manually.... For emails stored directly in INBOX, it works fine and cannot delete emails anymore
Yes, you need to configure permissions on each folder individually. Here's a script that can automate the process: https://www.michev.info/Blog/Post/2063/managing-mailbox-permissions-on-the-folder-level-in-bulk
well... so when I rmeoved from Delegation ->Read/Manage (to modify full access) and added reviewer for the testuser on Inbox directly.... The shared mailbox disappeared...... So looks like the Delegation can't be removed like that :\
That's expected, you need to add the mailbox manually, only Full access permissions will result in auto-magically appearing in the list.

ok... so I've tested a little bit and here is the result...

I have used outlook and EAC and tried to follow the steps.... Avoiding powershell for now :) ... Below is what I've done and result:

 

  • I have removed testuser from "Read & Manage" delegation and kept in "Sent as" via EAC for shared folder
  • In outlook, I've modified I've changed permission to REVIEWER on INBOX in that shared mailbox

Result:

  • when kept outlook openend, after a while the persmissions were applied and I could not delete emails. When I checked permissions they were greyed out and were showing Reviewer, so looked nice. 
  • When did restarting outlook, shared maiblox disappeard after a while. So I've added it manually via account/email/more and advanced. The shared mailbox was added BUT I can not expand even to see inbox. I get message "Cannot expand the folder"

:\

You need to add at least "Folder visible" permissions on each folder in the path, including the Root one (the one with the shared mailbox address).
cool.... You were right, ... the problem was with subfolders... When I created a test shared mailbox with Inbox only and no subfolders, it was working fine.... :)