0 votes

I'd like some help with a script to revoke a users rights to a shared mailbox upon being removed from a security group.

I already have the reverse, a script that adds users to a shared mailbox, if they are a member of a group, now I just need the reverse.

by (280 points)

1 Answer

0 votes
by (288k points)
selected by
Best answer

Hello Dominik,

Unfortunately, we do not have the exact script. However, the following one from our repository should be a good start: https://www.adaxes.com/script-repository/remove-all-trustees-from-full-access-list-s559.htm. To achieve the desired, you need a script executed in a business rule triggering After removing a member from a group.

Related questions

0 votes
1 answer

A little bit of context: There are 3 departments that share 1 Active Directory. Now each department has its own OU. I would like to have an email sent when a user is ... if this is possible without Powershell? If not, is there a pre-existing script for this?

asked Oct 3, 2023 by Cas (200 points)
0 votes
1 answer

Is there a way to run a custom powershell command on the users who are added or removed from a group?

asked Oct 12, 2012 by queenbee (20 points)
0 votes
1 answer

Hi, I've tried to modify a existing report to my needs, without success. The requirement ist to see the add/moved from a group. Like here: Would this be possible with Adaxes? Thanks

asked Feb 20, 2023 by boris (530 points)
0 votes
1 answer

https://www.adaxes.com/script-repository/remove-all-group-memberships-for-a-user-account-s33.htm I found this script but it only removes 365 groups, security groups, and ... user from all shared mailboxes they are a member of when disabling a user. Thanks!

asked Sep 8, 2023 by silicondt (60 points)
0 votes
1 answer

Hi All, I have an OU ADSynced to Office 365 When I create Shared Mailboxes I basically create the user account sync it to 365 Assign it a license and and set ... only process the below actions if the previous one returned an Operation status of "Completed"

asked Oct 26, 2020 by casey101 (20 points)
3,537 questions
3,227 answers
8,219 comments
547,728 users