Lync – Move On Prem users to Lync Online from CSV

Microsoft detail how to move users from Lync On-Prem to Lync Online and how to bulk move users in an OU or with a particular AD attribute: https://technet.microsoft.com/en-us/library/jj204969%28v=ocs.15%29.aspx?f=255&MSPPError=-2147217396.

If you want to bulk move users to Lync Online from a CSV you can use the PowerShell below:

movelyncusers.csv should contain a list of the UPNs of the users you wish to move.  No headings are required.

Author: Chris Hayward

Share This Post On

10 Comments

  1. Worked a treat when I wanted to move multiple users across to Lync Online!

    Post a Reply
    • The PowerShell is absolutely correct but for each user it prompt to say yes .I am writing A i.e. yes to All but it is again n again prompting after each user moved. Please suggest

      Post a Reply
  2. The PowerShell is absolutely correct but for each user it prompt to say yes .I am writing A i.e. yes to All but it is again n again prompting after each user moved. Please suggest

    Post a Reply
    • Hello, try adding -confirm:$False onto the end.

      Post a Reply
      • I have added -Confirm:$False at the end but its still asking for confirmation for each and every user kindly help

        Post a Reply
  3. what should the csv look like.. are we left to guess??? Can you post a sample CSV.. Sorry if I sound like a newbie.

    Post a Reply
  4. where is the sample csv? can you provide an example

    Post a Reply
    • Hello,

      It’s been a while since I posted this but “movelyncusers.csv should contain a list of the UPNs of the users you wish to move. No headings are required.”

      From memory the CSV is just a list of users, e.g. :

      user1@mydomain.com
      user2@mydomain.com

      It’s doesn’t actually have any comma separated values, just uses the .csv extension and Import-Csv cmdlet.

      Post a Reply

Submit a Comment

Your email address will not be published. Required fields are marked *