Invoke-SFBContacts

Invoke-SFBContacts is a PowerShell script that exports or imports the contact list including groups for the account signed into the Skype for Business or Lync client.

 
 
 
 
 
5 Star
(14)
5,262 times
Add to favorites
Lync
8/27/2018
E-mail Twitter del.icio.us Digg Facebook
  • Export/import error
    1 Posts | Last post December 31, 2018
    • We're getting the same error as some other posters: Exception calling "GetClient" with "0" argument(s): "The host process is not running"
      
      I'm running the powershell as me. This is Skype for Business 2016 client. Any ideas?
  • Error for some users
    2 Posts | Last post November 04, 2018
    • Some users are getting the error "the host process is not running". Does this require the Lync SDK to run? 
      
      Also, will this work for Lync 2010 clients?
    • The user will need to run the script while the Lync 2013 or Skype for Business client is signed in. Note the PowerShell session should not be ran as an administrator. The script is using the Lync 2013 SDK, don't believe it will work with the 2010 client.
  • Script output including Group name in email address and not all groups exported
    1 Posts | Last post August 29, 2018
    • I've just downloaded the latest version of the script and I've found that when running it, there appears to be 2 problems with the output:
      
      1) In the output file, under each group, the Key field includes both the group name, and the contacts email address. a modified example of this is as per below when the CSV is viewed via a text editor:
      "Group","Key","SIP"
      "Group1","Group1joebloggs@email.com","joebloggs@email.com"
      Comparing this against the EXE file from your friend that is based off your script (https://ucblogmx.com/2016/10/13/s4bcontactos-exportimport-contacts/) I can see an output formatting difference which separates the DisplayName from the SIPAddress so unsure if that is an issue in your current version of the script although I understand he may have modified your script output within his exe file.
      
      2) I have multiple Exchange DL's in my S4B listing and only one of them was exported, but all personally created groups were exported. Is there a way to get the rest of the Exchange DL's to also be exported successfully?
      
      Note - Your friend's EXE version has the same issue with the multiple Exchange DL's not being exported, so I assume thats been a long-term issue in the script.
  • Error when running script
    2 Posts | Last post April 09, 2018
    • Hi, I am receiving this error on multiple PC's:
      
      Exception calling "GetClient" with "0" argument(s): "The host process is not running"
      At C:\Temp\Invoke-SFBContacts.ps1:118 char:9
      +         throw $_.Exception.Message
      +         ~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : OperationStopped: (Exception calli...is not running":String) [], RuntimeException
          + FullyQualifiedErrorId : Exception calling "GetClient" with "0" argument(s): "The host process is not running"
    • Error was resolved by not running PS as administrator
  • Import Contacts into SfB online
    2 Posts | Last post May 28, 2017
    • Hi, is this possible to restore the backup taken from an On-premise Lync 2013 environment into SfB online ?
    • Was able to migrate. Many Thanks.
  • AD Distribution Groups?
    1 Posts | Last post June 29, 2016
    • Thanks so much for Working great adding users. When we help a staff member add some sensible contacts by hand, we often show them how to add a distribution group (or mail enabled security group), like the one for their team or site. Adding the distro list means they have a continually updated list of who's in their team, always there in Skype.
      
      Is there anything I can put in the CSV to tell the script that the SIP/email address is for a distro list that I want to add as a group, rather than trying to add it as a contact? Doing it through the GUI I just type the email address for the group into the search field, right click on the group name and click "Add to Contacts List".