When does the e-mail address policy recognize that it needs to change the default address?
We have a process which imports modified user information every morning from our payroll vendor. I have a user who was married recently, and HR updated their name on 2/23/2012. The given and surname fields were properly updated in AD the following morning,
but the e-mail address policy had not added a new SMTP address. The user had a legacy misspelled X400 address, and I removed it, and the policy immediately added the additional SMTP address. I would expect the policy to be run at least once a day, but
that doesn't seem to be the case. By default how often does the policy run against the accounts? How can we control how often it runs the policy?
February 27th, 2012 11:56am
Depends on the Exch version.
For 2003 which is what I think you're referring to. Uses RUS, this can be configured on a schedule or you can run it yourself.
http://support.microsoft.com/kb/328738 &
http://support.microsoft.com/kb/319065
For 2007/2010 to manually update do the below. It should by default be set to run immediatly.
Get-EmailAddressPolicy | Update-EmailAddressPolicySukh
Free Windows Admin Tool Kit Click here and download it now
February 27th, 2012 1:18pm
This is for E2010 SP1. We want it to run automatically when the data in the fields which the rule references has been changed. How do I alter the current behavior?
February 27th, 2012 1:35pm
"Each time a recipient object is modified and saved, Exchange enforces the correct application of the e-mail address criteria and settings. When an e-mail address policy is modified and saved, all associated recipients are updated with the change. In addition,
if a recipient object is modified, that recipient's e-mail address policy membership is reevaluated and enforced"
http://technet.microsoft.com/en-us/library/bb232171.aspx
For new mailboxes it runs all the time (instant) and I would have expected this for any changes made too.
Detail the steps taken to modify the object.
Worse case, you schedule the Get-EmailAddressPolicy | Update-EmailAddressPolicy to run x times per day via PS1 script using task schduler.Sukh
Free Windows Admin Tool Kit Click here and download it now
February 27th, 2012 1:41pm
The code was written by a co-worker who is a programmer; I do not have access to the source code. He could just be updating the attributes on the object directly, similar to using adsiedit or ldifde. If he's doing it that way, then there's probably not a
way for the system to realize the object has been updated. But I wouldn't know if there was 'better' way as I'm not a programmer. I've not yet scheduled a PS1 script, I'll need to research that.
February 27th, 2012 1:48pm
That could by the reason why.
To script & schedule e.g
http://blog.pointbeyond.com/2010/04/23/run-powershell-script-using-windows-server-2008-task-scheduler/
Sukh
Free Windows Admin Tool Kit Click here and download it now
February 27th, 2012 2:38pm
Hi
If post is helpful to you, please mark his answer.Terence Yu
TechNet Community Support
February 29th, 2012 3:39am
Hi
If post is helpful to you, please mark his answer.
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
Terence Yu
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
February 29th, 2012 11:37am