Change Email Attribute for Dynamic Distribution List
Posted on 2014-03-05
I work for a school district and we're becoming a "Google" district (email for students, drive/docs for staff and students).
We had to use the 'UserPrincipalName' AD attribute on all the AD accounts in order to get them all provisioned in Google.
None of our groups/distributions lists moved over because there is no 'UserPrincipalName' on the list and email address domain doesn't match the domain in Google.
To explain that, we're a "K12" district (Junior high and High School) so the domain is @domain.k12.ca.us. Several years ago, we purchased a shorter version of that domain so we also have @domain.us. The domain we chose to use in Google is the shorter version (@domain.us).
All of our distribution lists have @domain.k12.ca.us because that is still the primary domain in our Exchange environment.
My question is 2-fold:
--- Is there a Powershell command or script that will allow me to change the email address to the shorter version (@domain.us) without having to delete and recreate the lists - keep in mind, 90% of our distribution lists are dynamic?
--- If this can't be done with Powershell, what impact would there be on our email flow if I switched the primary domain in Exchange to be the shorter (@domain.us) version?