Directory and Resource Administrator 6.60
Directory and Resource Administrator 7.0
Updating a property such as SamAccountName of a user updates the mailbox alias regardless if the 'Enforce alias naming rules during mailbox updates' option is checked or not under the Exchange alias auto naming policy.
Mailbox aliases are updated whether the 'Enforce alias naming rules during mailbox updates' option is checked or not under the Exchange 'alias auto naming' policy.
The code for SetAlias is not checking to see if the policy should be enforced or not.
This was corrected in Directory and Resource Administrator (DRA) 7.0 Service Pack 1. To resolve this issue, please upgrade to the latest release of the product.
Tip: If you are performing bulk updates to user properties such as the SamAccountname, you can work around this issue by running the Command Line Interface (CLI). On the second pass update ONLY the mbalias field back to the original.
- Run the command:EA User username update SamAccountName:New_SamAccountName
- Run the following command to set the alias back to the original: EA User New_SamAccountName update mbalias:back_to_origanal_alias.