My goal was to import a contact list for my Lync Client.
The idea was to set up a new user in our group with at least a start of a contact list for our team.
You can find a write up and the code for this here:
You will need to install some stuff before you can use this.
Like the LynkSdkRedist.msi which is included in the zip file that you can download from the above site. .
I found that if you have multiple people with the same name, it will add them all if you do the import.
If you know the email address of the people you want to add to your contacts, you can just create a CSV file like this:
You can add whole distribution groups from the GAL as well.
To add a Distribution Group include this line:
"Dist Group Name from the GAL","DistributionGroup","N/A","DistributionGroup@mymail.com"
In this case my group name was NSD. Not sure what the “sip:” is all about, but you need it.
The “True” will cause it to overwrite any names or the whole group if it already exist.