Topic Last Modified: 2010-12-09

Follow the procedure to enable Microsoft Lync Server 2010 users for voice mail on a hosted Exchange Unified Messaging (UM) service.

For details, see Hosted Exchange User Management in the Planning documentation.

For details about the Set-CsUser cmdlet, see the Lync Server Management Shell documentation.

Before a Lync Server user can be enabled for hosted voice mail, a hosted voice mail policy that applies to their user account must be deployed. For details, see Hosted Voice Mail Policies.

To enable users for hosted voice mail

  1. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2010, and then click Lync Server Management Shell.

  2. Run the Set-CsUser cmdlet to configure the user account for hosted voice mail. For example, run:

    Copy Code
    Set-CsUser -HostedVoiceMail $True -Identity "contoso\kenmyer"

    The preceding example sets the following parameters:

    • HostedVoiceMail enables a user’s voice mail calls to be routed to hosted Exchange UM. It also signals Microsoft Lync 2010 to light up the “call voice mail” indicator.

    • Identity specifies the user account to be modified. The Identity value can be specified using any of the following formats:

      • The user's SIP address

      • The user's Active Directory User-Principal-Name

      • The user's domain\logon name (for example, contoso\kenmyer)

      • The user's Active Directory Domain Services Display-Name (for example, Ken Myer). If using the Display-Name as the Identity value, you can use the asterisk (*) wildcard character. For example, the Identity "* Smith" returns all the users who have a Display-Name that ends with the string value "Smith".

      The user’s Active Directory SAM-Account-Name cannot be used as the Identity value because the SAM-Account-Name is not necessarily unique in the forest.