Migrating Users to Unified Contact Store

There are no adjustments to the Lync topology that are required to enable the unified contact store. After the prerequisites for Lync and Exchange integration have been met, the unified contact store is automatically enabled. There are three conditions that must be met for a user’s contacts to be migrated to unified contact store:

• The user is assigned a user services policy where the UcsAllowed property is set to True (the default).

• The user is provisioned with an Exchange 2013 mailbox, and has logged in to that mailbox at least once.

• The user logs in to Lync using the Lync 2013 client.

If these three conditions are met, the user’s contacts are automatically migrated from the Lync Server database to Exchange 2013. The user can then manage their contacts using Lync 2013, Outlook 2013, or Outlook Web App.


Tip

If a user logs in to Lync using the Lync 2010 or earlier client, and the user’s contacts have not already been migrated to unified contact store, the user services policy applied to the user will have no effect, and the user’s Lync contacts will remain stored in the Lync Server database. This is also true if the user is not provisioned with an Exchange 2013 mailbox, or has never logged on to the mailbox. If a user logs in to Lync using the Lync 2010 or earlier client after the user’s contacts have been migrated to the unified contact store, the contacts will be available and up to date. However, the user will not be able to manage those contacts using the legacy client.


The first time the user logs in to Lync after being enabled for unified contact store, in-band provisioning will cause the user’s contacts to be migrated to a new folder in the Exchange 2013 mailbox named Lync Contacts. After the migration is complete, the user is prompted to sign out of Lync and sign back in to access his contacts, as shown in Figure 21.4.

Image

Figure 21.4. User notification after a migration of contacts to Exchange.

There are several ways to determine whether a user’s contacts have been successfully migrated to unified contact store. From the client computer, the Lync client configuration settings can be viewed to determine the source of the user’s contacts. To access the Lync client configuration settings, hold down the Ctrl key and right-click on the Lync system tray icon in the lower-right corner of the desktop, and then select Configuration Information from the menu. Included in the resulting Lync Configuration Information screen is the Contact List Provider, which displays either Lync Server, if the contacts have not been migrated, or UCS, if the contacts have been migrated, as shown in Figure 21.5.

Image

Figure 21.5. Using the Lync Client to view the unified contact store status for a user.

Another way to determine whether the contacts have been migrated from the client side is the following registry key: HKEY_CURRENT_USERSoftwareMicrosoftOffice15.0Lync<SIP URL>UCS, where <SIP URL> is the user’s SIP address. If the user’s contacts have been migrated, this key will contain a property named InUCSMode, and the value of the property will be 2165. From the Lync Server side, the Lync Server Management Shell can be used to determine whether a user’s contacts have been migrated to unified contact store using the TestCsUnifiedContactStore cmdlet. The user’s credentials must first be supplied as a parameter, and these are obtained via the Get-Credential cmdlet. The following example shows the commands used to determine the contact migration status for a user:

$cred = Get-Credential "companyabcjrico"
Test-CsUnifiedContactStore -TargetFqdn lyncse1.companyabc.com -UserSipAddress sip:[email protected] -UserCredential $cred

The first command causes an interactive prompt for the password user. After the credentials are entered, they are stored in the variable that is referenced in the second command. The end result is then displayed as success or failure. If a failure occurs, error messages can also be displayed to facilitate troubleshooting the issue further.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset