When creating Distribution Groups in Active Roles, the email address is not getting set.
This issue can occur when running Exchange 2007 or 2010 in mixed mode with Exchange 2003.
WORKAROUND:
The following PowerShell script can be used for when groups are created in a mixed 2003/2007 or 2010 environment. This script forces the groups to upgraded to the new Exchange 2007/2010 format.
Create the script under an appropriate location under Configuration | Script Modules and link a Provisioning Policy to it for the target location in which groups are created (or target Active Directory to include all Managed domains).
# *****************************************************************************
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
# WARRANTIES OF MERCHANTBILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE
# *****************************************************************************
function onPostCreate($Request)
{
if ($Request.Class -ne "group") { return}
# Use this for Exchange 2007:
# add-pssnapin 'Microsoft.Exchange.Management.PowerShell.admin'
# Use this for Exchange 2010:
add-pssnapin 'Microsoft.Exchange.Management.PowerShell.E2010'
Set-DistributionGroup -Identity $Request.dn -ForceUpgrade
}
© 2021 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy