Lync 2013

S4BContactos! Export/Import Contacts


Today I bring to you a useful tool to manage your contact from one account to another, or just to export as a backup.

As no native options under Skype for Business to do that. I try to find the way to do it. So i take all the information from the Lync SDK examples and also a great script from the MVP Michael Lamontagne  (you can download Michael’s script from gallery)

So I take all this information to create a GUI Tool to allows you export and import your Lync2010/Lync2013/S4B contacts , for onprem and online.

So here is S4BContactos!



Download here


Hope this helps you.

Note: Should be run on the same folder with the other files included on the .zip file


Update: Here is the format that is needed to export the contact list



Que tal!

El dia de hoy les traigo una herramienta bastante util para administrar sus contactos y pasarlos de una cuenta a otra o exportar los contactos y tenerlos de respaldo.

como no hay una opcion dentro del propio cliente de S4B para hacerlo, busque la manera para lograrlo. Por lo que revise la documentacion y ejemplos de Lync SDK y tambien tome como base el script del MVP Michael Lamontagne (pueden descargar su script desde la galeria de microsoft aqui el link)


Asi que tome ambas fuentes para conseguir una herramienta con interfaz grafica y poder exportar/importar los contactos de Lync2010/Lync2013/SfB sin importar si estan en la nube o en servidores locales.

Sin mas les dejo S4BContactos



Descargar aqui


Espero les sea de ayuda.


NOTA: Para ejecutarlo tiene que ser desde la misma carpeta donde vienen todos los demas archivos.


Update: Este es el formato que se necesita en el .csv para exportar los contactos


10 comentarios en “S4BContactos! Export/Import Contacts

  1. Hola Rodolfo,

    the script does perfectly the export but I’m not able to make the import. Which file shall I input? CSV or Vcf? is there any standard for the CSV in terms of coulums?
    Thanks in advance!

  2. Hello Rodolf,

    thanks for your prompt answer. I was on holidays for the puentes. I have tried to import both the csv from Skype Classic and a test with a reimport of the S4B but in both I cannot. I don’t know which is the format of the csv to import. It would be a great help to know that info.
    Many thanks for your help!


  3. Thanks Rodolfo, unfortunately no success, I still receive an error. Illegal character in the path 🙁 Thank you very much for your help anyhow, Davide

  4. Hello Rodolfo,

    when I start the program I receive a commandline window stating that it can not find a method named op_Addition. And it is also saying that the type [system,drawing.icon] can not be found.

    Is this intended, can I fix this somehow ?

    Best regards

  5. Okay after analyzing a bit I found out that the icon needed for the window is not present so the function windowUI is throwing the error.

    Fehler beim Aufrufen der Methode, da [System.Management.Automation.PathInfo] keine Methode mit dem Namen “op_Addition”
    In C:\Users\Marce\AppData\Local\Temp\Quest Software\PowerGUI\050e05c9-560d-4d10-af5b-be251594c338\S4BContactos.ps1:90
    + $IconPath = $PathLocation + ‘\S4BContactos.ICO’
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (op_Addition:String) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound

    New-Object : Der Typ [system.drawing.icon] kann nicht gefunden werden. Stellen Sie sicher, dass die Assembly, die
    diesen Typ enthält, geladen wird.
    In C:\Users\Marce\AppData\Local\Temp\Quest Software\PowerGUI\050e05c9-560d-4d10-af5b-be251594c338\S4BContactos.ps1:91
    + $Icon = New-Object system.drawing.icon ($IconPath)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidType: (:) [New-Object], PSArgumentException
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand

  6. HI Rodolfo,

    when I import I receive the error the the path is to long. Anyways the contacts go get imported nicely.
    Could you fix this as well?

    Test-Path : Der angegebene Pfad und/oder Dateiname ist zu lang. Der vollständig qualifizierte Dateiname muss kürzer
    als 260 Zeichen und der Pfadname kürzer als 248 Zeichen sein.
    In C:\Users\Marce\AppData\Local\Temp\Quest Software\PowerGUI\38eedd14-1665-42fd-9562-6b79710c62e8\S4BContactos.ps1:258
    + if (!(Test-Path $global:ImportFile)){
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ReadError: (C:\Users\Marce\…62-6b79710c62e8:String) [Test-Path], PathTooLongException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.TestPathCommand

  7. Hi Rodolf, can i get exe version only with Export Contacts, just to backup the Skype contacts, we want to use this with users to just take back up of contacts, your version works but need GUI only with export contacts to keep the contacts back up as part of Skype to Teams Migration since import not going to work with Teams, so keeping import contacts would confuse my users so you can send me the download link for GUI version with just export contacts would be helpful

Deja un comentario