Solved

Change Email Attribute for Dynamic Distribution List

Posted on 2014-03-05
7
192 Views
Last Modified: 2014-08-20
Greetings,

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?
0
Comment
Question by:skbarnard
  • 4
  • 3
7 Comments
 
LVL 11

Accepted Solution

by:
Giladn earned 500 total points
ID: 39907260
have a look here:
 http://admodify.codeplex.com/

I believe it's working for 2008..

read before using it and use with caution!
0
 

Author Comment

by:skbarnard
ID: 39907725
Thanks for the link however, it's not showing any of the dynamic groups so this won't help with my situation
0
 
LVL 11

Expert Comment

by:Giladn
ID: 39908612
Hi,

you need to export all DL's to a csv file and then execute them command to modify, I will look it up for you, is it possible to ADD an alias instead of modifying current email address?
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Author Comment

by:skbarnard
ID: 39909535
Very good question, yes it might work to add the alias but I'll have to verify that with the vendor assisting our Google district setup.
0
 
LVL 11

Assisted Solution

by:Giladn
Giladn earned 500 total points
ID: 39910297
best thing I've found is here:
http://gallery.technet.microsoft.com/scriptcenter/411aec4e-8c01-4594-b993-fbd968f15399

take a look, this should apply to exchange 2010, you might need to modify the code, do you think it will solve your problem?

Gilad
0
 

Author Comment

by:skbarnard
ID: 39910791
Thanks for the link.  This looks to be a really good PS1 code.  I wanted to check things before  ran this though so I was manually trying to change the alias on one distribution list; it appears the alias for a distribution group can't have the @ in it so again, I don't think this is going to work.
0
 

Author Closing Comment

by:skbarnard
ID: 40274948
While neither of these links resolved my particular issue, the links provided are very good; part of this was because I thought the dynamic groups weren't showing - that turns out to have been an MMC snafu.  We ultimately resorted to manually entering the attribute - tedious but successful.
Thanks Gilad for all your input.
0

Featured Post

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now