Mark_Prior20
11 years agoLevel 3
Automatic & Selective Enabling of User Accts
Hi I need to be able to either
Enable a user for archiving with a powershell Script (we have archiving tasks / mailboxes over two mail servers)
Use a AD attribute (preferable a cumstom one) that ...
- 11 years ago
if you are going to use a custom AD attribute in AD then you can use an LDAP query in your Provisioning Group...
So you could do the following
1. Open the Vault Admin Console2. Expand out Directory on Server -> SiteName -> Targets -> Exchange -> YourDomain -> Exchange Server3. Click Provisioning Group4. Right click New -> Provisioning Group5. Press Next6. Give a name to the provisioning group like "EV Users" and press Next7. Press the Add Button8. Choose "LDAP Query" and press OK9. Give the Display NAme a description like "EV Users (Attribute 6)"10. The query root should be filled out alreadyshould be something like GC://gcServer.myDomain.com/DC=myDomain,DC=com11. In the query type the following to enable based on Custom Attribute 6 in AD:(&((extensionattribute6=EnableEV)))12. Press OK and then follow the prompts through to the EndMake sure that "Archive Mailboxes in this provisioning group is checked"Make sure that on the Archiving Defaults that "Automatically enable mailboxes" is checkedand thats all you really need to do, run provisioning making sure that the group is appropriately placedThe enablements will occur when the archiving task kicks off so you dont have to manually enable anyone