Knowledge BaseHow do i locate user based on SIP or Proxy Address
W P Staff asked 6 years ago

I need to locate a duplicate sip address for a skype for business online user, how do i do that?

1 Answers
W P Staff answered 6 years ago

Error in the Office 365 portal: “Value of msRTCSIP-PrimaryUserAddress or the SIP address in the ProxyAddresses field in your local Active Directory is not unique”

PROBLEM

Administrators may receive the following error message in the Office 365 portal:

For this user the value of msRTCSIP-PrimaryUserAddress or the SIP address in the ProxyAddresses field in your local Active Directory is not unique. Correct the value in your Active Directory.

The users who have duplicate msRTCSIP-PrimaryUserAddress won’t be able to sign in to Skype for Business Online (formerly Lync Online) or chat with other contacts.

SOLUTION

If you’re using directory synchronization, locate and correct the duplicate attributes. To do this, follow these steps:

  1. Search Active Directory Domain Services (AD DS) for the duplicate msRTCSIP-PrimaryUserAddress attributes. To do this, follow these steps:
    1. On a domain controller, open Active Directory Service Interfaces (ADSI) Edit. To do this, click Start, click Run, type adsiedit.msc, and then click OK.
    2. Create a new query in the AD DS domain in which the users reside. To do this, follow these steps:
      1. In ADSI Edit, in the console tree, click Default naming context, point to New on the Action menu, and then click Query.
      2. Type a name for the query, click Browse under Root of Search, and then select the top-level domain.
      3. Type the following text as the query, and then click OK.
        msRTCSIP-PrimaryUserAddress=sip:joe@contoso.com
        Note Replace joe@contoso.com with the value of the duplicate email address. Any users who have duplicate msRTCSIP-PrimaryUserAddress attributes are listed in the query results.
    3. The results are listed under Default naming context in the ADSI Edit console tree.
    4. Right-click the user, and then click Properties.
    5. Edit the msRTCSIP-PrimaryUserAddress attributes of the users so that the values are unique within the organization. Note If you currently have Lync Server deployed on-premises, you’ll want to change the user’s SIP address through the Lync Server Control Panel or the Lync Server Management Shell by using the Set-CsUser cmdlet. For more information, go to the following TechNet blog:
      Modify the SIP Address of an Enabled Lync Server User
    6. Force directory synchronization. Wait approximately 15 minutes for the changes to take full effect.
  2. Search AD DS for duplicate SIP proxies in the proxyAddresses attributes. To do this, follow these steps:
    1. On a domain controller, open Active Directory Service Interfaces (ADSI) Edit. To do this, click Start, click Run, type adsiedit.msc, and then click OK.
    2. Create a new query in the AD DS domain in which the users reside. To do this, follow these steps:
      1. In ADSI Edit, in the console tree, click Default naming context, point to New on the Action menu, and then click Query.
      2. Type a name for the query, click Browse under Root of Search, and then select the top-level domain.
      3. Type the following text as the query, and then click OK.
        proxyAddresses=sip:joe@contoso.com
        Note Replace joe@contoso.com with the value of the duplicate email address. Any users who have duplicate SIP proxyAddresses attributes are listed in the query results.
    3. The results are listed under Default naming context in the ADSI Edit console tree..
    4. Right-click the user, and then select Properties.
    5. Edit the proxyAddresses attributes of the users so that the values are unique within the organization. Note If you currently have Exchange Server deployed on-premises, you can make these changes in the Exchange Management Console (EMC) or the Exchange Management Shell.
    6. Force directory synchronization. Wait approximately 15 minutes for the changes to