Solved

Re-Enable Previous Lync Users

Posted on 2014-02-04
2
506 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
ID: 39832994
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
ID: 39833096
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In-place Upgrading Dirsync to Azure AD Connect
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

792 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