Solved

Re-Enable Previous Lync Users

Posted on 2014-02-04
2
496 Views
Last Modified: 2014-02-04
I have a strange issue with my new Lync 2013 environment.  I had previously deployed a test environment for Lync 2013 as a proof of concept.  Once it passed with administration, I decided I would restore my Lync VMs back to a pre-Lync state using snapshots.  I then reinstalled Lync, taking advantage of my lessons learned during the first build.  I'm more than happy with the new environment, except for one thing.  When I go to enable Lync users, the users that I enabled in the proof of concept days cannot be found.  I have decided that this probably has something to do with the fact that Lync thinks these users are already Lync-enabled users.  I'm guessing that Lync writes some attributes to a user's AD account when it enables it for Lync.  Does anyone have experience with this, or know how I can "reset" these previously enabled accounts to work in my new environment?
0
Comment
Question by:marrj
2 Comments
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
Comment Utility
You are correct. When you enable the link users it modifies the attributes on the Active Directory account. When you try and find users that you want to enable, as you have stated if they are enabled they will not appear as it only shows users that do not exists.

You can use the below powershell commands to view all of the currently enabled Lync Users.

get-CSUser | ft DisplayName, SipAddress, RegistrarPool, ExternalAccessPolicy

Open in new window

The commnd above will get all of the Lync Enabled users in your domain.

Once you have the list of users that are Lync Enabled you can use the below Syntax to disable each user you want...

Disable-CSUser -identity <name>

Open in new window



All of the above commands need to be run on the Lync Powershell Console.

Just another comment...
When you are looking at the AD users properties using commands like get-aduser -properties * if the user has AD Properties showing for anything that starts with "msRTCSIP" then they are Lync enabled users.

Will.
0
 
LVL 1

Author Comment

by:marrj
Comment Utility
Thank you very much, Will.  This worked like a charm.  I had seen the RTC atributes on my user object and suspected that they were the Lync attributes, but I wasn't sure about how to "properly" remove them.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Let Bitmoji into your life. Now is the time to learn a new language of smartphone messaging with this brief introduction.
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now