Auto enable disabled useraccounts\mailboxes
I am using EV10.0.3 and I want to make an ex-employee policy.
After a user is not working for the company anymore, it is disabled and hidden from the Exchange GAL and moved to an Active Directory OU named _archive. I created a PG (ex-employee) that provisions users that are in this OU and auto-enables the mailbox
Next I added the registery keys:
ExcludeDisabledADAccounts and ProcessHiddenMailboxes to the EV server and restarted the services.
Investigation turned out that the mailbox is not automatically enabled and is marked as "new mailbox" so it will not archive a thing....
After running the SQL query:
Set MbxExchangeState=’0′ where MbxExchangeState=’2′
The mailbox of the user can be enabled.
After the provisioning task is run, the mailbox is hidden again.
After running the archiving task the disabled user can be archived with the normal runs.
Now I want to know how disabled mailboxes can be enabled automatically, running the SQL query and manual activation of the mailbox is no option.