Announcement

Collapse
No announcement yet.

How to get imported AD Contacts to show up in GAL

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to get imported AD Contacts to show up in GAL

    I have exported some users from an Exchange 2003 environment using csvde and imported them as contacts in my Windows 2008 environment. Now I need them to show up in the GAL in Exchange 2007. How do I do this? I can manually add them to contacts in Exchange Manager, but I have to re-type their email address even though it is on the contact. The attributes that I imported are:
    DN,objectClass,displayName,mail
    Thank you,

    Marc

  • #2
    Re: How to get imported AD Contacts to show up in GAL

    I also did a total csvde export in 2008 and there doesn't seem to be an attribute for external email address and the list did not include the Exchange contact that I created.
    Thank you,

    Marc

    Comment


    • #3
      Re: How to get imported AD Contacts to show up in GAL

      You should have a deeper look into the powershell, I haven't a script ready for importing contacts since it needs a little bit time to get this working, but it's all there.

      Comment


      • #4
        Re: How to get imported AD Contacts to show up in GAL

        I did it for our exchange 2007

        import-csv 'c:\test.csv' |
        foreach{

        $entry = $_
        $DN = $_.First+" " +$_.Last;
        $a = $_.First.Replace(" ", "")
        $b = $_.Last.Replace(" ", "")

        New-MailContact $DN -DisplayName $DN -FirstName $_.First -LastName $_.Last -organizationalunit "intranet.idthk.com/ExternalAddresses" -ExternalEmailAddress $_.email
        Set-Contact $DN -Company $_.Company -Title $_.Title -Phone $_.Tel

        }

        Comment


        • #5
          Re: How to get imported AD Contacts to show up in GAL

          With the above import, I only need the following fields I believe:
          First Name
          Last Name
          ExternalEmailAddress

          What heading do I need in the csv file or do I need any?
          Last edited by tnshurtm; 25th November 2009, 16:32.
          Thank you,

          Marc

          Comment


          • #6
            Re: How to get imported AD Contacts to show up in GAL

            This thread has a lot of info as well: http://www.experts-exchange.com/Soft..._23791815.html

            In the end, I just need a straight forward contact with name and email address so I ended up going with:

            Import-csv 'c:\gal.csv' |ForEach{New-MailContact -Name $_.displayName -ExternalEmailAddress $_.mail}

            and only exported Displayname and mail from the 2003 domain
            Thank you,

            Marc

            Comment


            • #7
              Re: How to get imported AD Contacts to show up in GAL

              Now I can email every contact. But, I can not get a rule to auto-forward to one of them. It allows me to set it to auto-forward, but the email never gets to the contact. There are no errors that I can see.

              I have tried both a regular rule and an Out of Office rule.

              Found the problem. Had to enable forwarding on the default route on the server.
              Last edited by tnshurtm; 30th November 2009, 17:24.
              Thank you,

              Marc

              Comment

              Working...
              X