Solved

Re-Enable Previous Lync Users

Posted on 2014-02-04
2
514 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

In-place Upgrading Dirsync to Azure AD Connect
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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.

749 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