E-Mail address policy not applied to manualy created users RRS feed

  • Question

  • Hi,

    I have created a script to create new users in Exchange (2010 SP1).
    We have email address policies based on State/Province item.

    I found out, that when I create a new mailbox using powershell (using new-mailboxand cmdlet) and configure state/province (using set-user cmdlet), no email address policy is applied.
    When I go to GUI, remove the string in State/Province, reenter the same text and click Apply, email address policy is applied.
    A question is: How to apply email address policy to 1 mailbox only? I do not want to update email address policies after each inplacement.

    Thanks in advance
    Michal Stoppl

    Thursday, June 2, 2011 11:40 AM


  • You'll want to use Set-casmailbox.  That has an emailaddresspolicy switch that you can use to specify what you want.
    • Marked as answer by MStoppl Friday, June 3, 2011 10:41 AM
    Thursday, June 2, 2011 4:29 PM