[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Re-Enable Previous Lync Users

Posted on 2014-02-04
2
Medium Priority
?
544 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 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
The goal of the tutorial is to teach the user how to instant message and make a video call in Skype.
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.
Suggested Courses

834 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