Home
> Lync Server/Skype for Business Server > One liner: Find Lync/Skype for Business Users Whose Extension Doesn’t Match Part of Their DID
Categories
- Exchange Server (141)
- Lync Server/Skype for Business Server (122)
- Microsoft Teams (10)
- Personal (8)
- PowerShell (52)
- Reviews (8)
Tag Cloud
Active Directory
ActiveSync
Administration
automation
Certificates
changelog
Client Access Server (CAS)
Cluster Continuous Replication (CCR)
Cumulative Updates
Database Availability Group (DAG)
Deployment
Exchange Management Console (EMC)
Exchange Management Shell (EMS)
Exchange Server 2003
Exchange Server 2007
Exchange Server 2010
Exchange Web Services (EWS)
Function
Hub Transport Server
IMAP4
Installation
Lync Server 2010
Lync Server 2013
Lync Server Management Shell
Mailbox Server
Microsoft Teams
Mobile devices
Office 365
Office Communications Server 2007 (OCS 2007)
one-liner
Outlook
Outlook Web Access/App (OWA)
POP3
PowerShell
Public Folders
review
Roles Based Access Control (RBAC)
script
Security
Service Packs
Skype for Business
Skype for Business Server 2015
SMTP
Unified Messaging (UM)
Update Rollups
@PatRichard
My TweetsRecent Posts
Active Directory
Blogroll
- Adam Gent
- Adam Jacobs
- Bharat Suneja
- Bhargav Shukla
- Brian Desmond
- Brian Ricks
- Curtis Johnstone
- David Lim
- Devin Ganger
- Documentation
- Drago Totev
- Dustin Hannifin
- Elan Shudnow
- Henrik Walther
- Ilse Van Criekinge
- Infrastructure Help
- Jeff Guillet
- Jeff Hicks
- Jeff Schertz
- Jim McBee
- John Weber
- Jonathan McKinney
- Justin Morris
- Ken Lasko
- Kevin Peters
- Lee Desmond
- Loryan Strant
- Mark E. Smith
- Martin Lidholm
- Matt Johnson
- Matt Landis
- Michael B. Smith
- Michael Greenlee
- Microsoft Exchange Product Group
- Microsoft Lync Product Group
- Mike Stacy
- Modality Systems
- Neil Hobson
- Next Hop
- Nicholas Blank
- Paul Flaherty
- Paul Robichaux
- Plugins
- Randy Wintle
- Richard Brynteson
- Rui Silva
- Santhosh Sivarajan
- Scott Schnoll
- Ståle Hansen
- Steven van Houttum
- Suggest Ideas
- Support Forum
- Themes
- Thomas Poett
- Tim Harrington
- Tom Arbuthnot
- Tom Pacyk
- Tommy Clarke
- Tony Redmond
- WordPress Blog
- WordPress Planet
Archives
- October 2022
- June 2020
- January 2020
- November 2019
- September 2018
- July 2018
- June 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- July 2016
- September 2015
- March 2015
- February 2015
- January 2015
- November 2014
- October 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- November 2008
- October 2008
- August 2008
- July 2008
Any update on this issue? I’m exenripecing the same thing with multiple domain controllers (We have 30+). I have a powershell script which runs an Enable-CsUser command, and then a Set-CsUser command, and finally a Set-CsClientPin command all on the same user. I have specified the -DomainController switch in each command. What I’m finding is that I run the script and it errors out on the Set-CsUser and Set-CsClientPin commands. If I wait about 15 minutes, and then comment out the Enable-CsUser command and rerun the script, all of the Set-CsUser commands run, but the Set-CsClientPin commands fail. If I wait another 15 minutes, and then comment out both the Enable-CsUser and Set-CsUser commands, the script will execute the Set-CsClientPin commands. Clearly this is an issue with replication and the powershell command ignoring the -DomainController switch.
What I’ve noticed is if you have the Domain Controller info wrong, it won’t throw a syntax error. So I would check and make sure there’s no typos or other issues. I *ALWAYS* use a variable for the domain controller name to help avoid this problem. Also, I now use a routine that finds a domain controller in the same site, and passes that to the $DomainController variable.