08-28-2018 04:46 AM
Hi all,
Can we exclude a user from Outlook folder archiving policies that are set via EVPM scripts? We want one user to get a different archiving policy for one particular folder.
Do you need to create a new EVPM script or is there a way to edit the existing one to exclude this user and/or apply a different archiving policy to his folders?
08-29-2018 12:36 AM
08-29-2018 03:08 AM
Yes that's it. Can we get a mailbox excluded from that policy.
Can it be done or do we need a new EVPM script to apply to that mailbox with a different archive policy? Ideally it would be via an AD group so users in that group get the new policy.
08-29-2018 06:26 AM - edited 08-29-2018 06:26 AM
Apologies if this is oversimplifying, but wouldn't you just not target the mailbox of the user you intend to exclude? That is, in the script you have to specify the mailboxes for which you want the policy to apply:
[Mailbox] DistinguishedName = /o=EV/ou=First Administrative Group/cn=Recipients/cn=JDoe DistinguishedName = /o=EV/ou=First Administrative Group/cn=Recipients/cn=DJones DistinguishedName = /o=EV/ou=First Administrative Group/cn=Recipients/cn=RSmith
So if you want to exclude RSmith you just leave him out of that list, right?
[Mailbox] DistinguishedName = /o=EV/ou=First Administrative Group/cn=Recipients/cn=JDoe DistinguishedName = /o=EV/ou=First Administrative Group/cn=Recipients/cn=DJones
That seems too easy, so my guess is you've got some more complicated selection criteria and you're not just manually managing a list of targeted mailboxes. In that case, you'd probably want to use the LDAPquery selector instead of DistinguishedName. Details on that here. An LDAP query that grabs all users except one guy looks like this:
(&(objectClass=user)(!sAMAccountName=excludeduser))
I hope that helps!
--Chris
08-30-2018 02:19 AM
Thanks Chris, yes we've targeted all mailboxes. We just have one user that now may need a different policy applied to at least 1 folder.
Is there a way to apply a new archiving policy to the mailbox which can over-ride any EVPM applied policies?
08-30-2018 01:59 PM
Well...if the policy is simple (e.g., one or two folders with a specific retention category), then maybe just make another EVPM policy that targets just one mailbox and run that script after you run the first? Since EVPM is just writing a hidden message to the mailbox, if you run two of them that target the same mailbox, the one run later will overwrite the one run earlier.
Hard to say if this is a good idea without knowing more about the overall archiving/policy goals, but it might be worth considering.
--Chris