Lync Tip: List Lync users with LineURI's to CSV

Using the Get-CsUser cmdlet you can get information about Lync users in your organization. The below powershell command exports Lync users, sip address, Enterprise Voice Enabled and Line URI to a CSV file. Get-Csuser | Select-Object DisplayName, SipAddress, EnterpriseVoiceEnabled, LineUri | Export-Csv -Path c:LyncUsers.csv

29 November 2011 · 1 min · Chris Hayward

Lync 2010 – Error "Cannot synchronize address book"

Whilst signed into Microsoft Lync, you may notice an error at the bottom of the client “Cannot synchronize address book”. You are also unable to find new Lync users. To resolve this issue, you can force address book updates on the client: Sign out of the Lync client and close the application from the system tray Browse to %USERPROFILE%AppDataLocalMicrosoftCommunicatorsip_username@sipdomain (Windows Vista/7) or %userprofile%Local SettingsApplication DataMicrosoftCommunicatorsip_ (Windows XP) Delete files named GalContacts.db and GalContacts.db.idx (you may notice the date stamp on these to be out of date) Add the following entry to the clients registry: 32bit Clients: ...

14 April 2011 · 2 min · Chris Hayward

Lync 2010 Database move – Limited functionality is available due to outage

After moving Lync Server 2010 backend databases to a different location on your SQL servers drives you may encounter an error where the Lync client shows an error “Limited functionality is available due to outage”. This occurs because after dettaching and attaching the databases in a new location you need to enable cross database chainging on the RTC and RTCDYN databases. sp_dboption '<dbname>', 'db chaining', TRUE If you check the event logs on your Lync Front End servers you will notice the following errors and warnings: ...

28 March 2011 · 2 min · Chris Hayward

Lync 2010 move user – 1 Error(s) Failed while updating destination pool

When trying to move a user to a new Lync pool within the Lync Server Control Panel you may receive the error below: 1 Error(s) - Failed while updating destination pool. If you select the “Force” check box, you receive a different error: 1 Error(s) - Active Directory operation failed on “domaincontroller.domain.com”. You cannot retry this operation: “Insufficient access rights to perform the operation This error occurs when the user is a member (or has previously been a member) of a protected Active Directory group (e.g. Domain Admins). When a user is a member of a protected AD group, AD automatically removes security inheritance for that user. To be able to move the user in Lync you need to re-apply security inheritance on the users account. ...

28 March 2011 · 2 min · Chris Hayward