Forum Discussion
MiSum83
Feb 09, 2022Copper Contributor
Restrict users from deleting emails in Shared Mailbox
Hi team, is there a way to restrict ppl from deleting emails in a shared mailbox? We are using Exchange Online.
MiSum83
Feb 10, 2022Copper Contributor
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?
VasilMichev
Feb 11, 2022MVP
Yes, that's how it's shown in the EAC.
- MiSum83Feb 17, 2022Copper Contributorcool.... 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.... 🙂
- VasilMichevFeb 17, 2022MVPYou 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).
- MiSum83Feb 17, 2022Copper Contributor
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"
😕
- VasilMichevFeb 14, 2022MVPThat's expected, you need to add the mailbox manually, only Full access permissions will result in auto-magically appearing in the list.
- MiSum83Feb 14, 2022Copper Contributorwell... 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 😕
- VasilMichevFeb 11, 2022MVPYes, 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
- MiSum83Feb 11, 2022Copper Contributorcool... 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