Ilse Van Criekinge's Weblog

Addicted to Microsoft Unified Communications

Lync and Private Line

Lync and Private Line

  • Comments 5
  • Likes

There are a lot of new features available in Lync, and one of them is called “Private Telephone Lines”. A complete review of this feature can be found in this TechNet article:

I was eager to test this feature, maybe because in the article it stated that Private telephone lines can only be configured with the Lync Server Management Shell, and yes I’m a big fan of the Shell Smile

Set Private Telephone Line using the Shell

After launching the Lync Management Shell, I couldn’t see the Private Line when running Get-CsUser | FL


But after adding a *, there it was Smile


To enable the private line, all you have to do is, run Set-CsUser –PrivateLine, and specify a valid number, like “Tel:+3227041888”


And same for another user in my demo environment, user1:


Even though it is possible to run the Set-CsUser cmdlet and hand out a Private Line value for a non Enterprise-Voice enabled Lync user, it won’t work Smile


When dialing that number, it won’t work.


Configure custom ringtone using the Lync client

Browsing to the options of your Lync client, it is fairly easy to configure a different/custom ring tone for your private line, as can be seen in the picture below:


System notification for the call tells the user that the incoming call is on his or her private line

When calling someone using his/her private number, the following system notification pops up:


Whereas a call to someone’s enterprise voice number, shows the following pop up:




  • Hi Ilse, great topic. Just created a private line in my lab for a user. it works great. I also use the cmdlet to get a table with al users that have a private line. Looks good.

    but.... i can't find in any doc how to remove a private line. do you know how to remove a private line?


  • Remove the Private Line by using this PowerShell script.

    Set-CsUser (Identity of user) -PrivateLine $NULL

  • Hi - thanks for the great post, very helpful.

    Is there a command to show all users who have a private line?

    This would be really useful for housekeeping.



  • Try this to return all users that have a private line configured.

    Get-CsUser | Where {$_.privateline -ne ""} | FL Identity, PrivateLine

  • you can use the following command to display all of the assigned private lines:

    get-csuser | format-table -property displayname,privateline

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment