Microsoft

Blog Categories

Subscribe to RSS feed

Archives

How to Quickly Find a Duplicate Telephone Number Assignment

Have you ever tried enabling a user for Enterprise Voice or Exchange Unified Messaging and received an error stating the action could not be completed due to a duplicate record? I’ve surprisingly ran into this issue more than once recently. Whether a telephone number was used for testing purposes and simply forgotten about or caused by inaccurate documentation, below are a few tips to quickly identify a duplicate telephone number in Lync Server 2010 and Exchange 2010 Unified Messaging.

Lync Server 2010

Lync Management Shell

To use the Lync Server Management Shell, follow the steps below:

  • Navigate to Start | All Programs | Microsoft Lync Server 2010 | Lync Server Management Shell
  • Once the shell loads, enter the command below (replacing LineURI and PrivateLine with the duplicate telephone number in question):

Get-CsUser | where {$_.LineURI -eq “tel:+13121115555″ -or $_.PrivateLine -eq “tel:+13121115555″} | format-table -property displayname,LineURI,privateline

The output should appear similar to the screenshot below:

Lync Server Control Panel

To use the Lync Server Control Panel, follow the steps below:

  • Navigate to Start | All Programs | Microsoft Lync Server 2010 | Lync Server Control Panel
  • Once the control panel loads, select the Users option
  • Click +Add Filter
  • Select Line URI from the dropdown list
  • Select Equal To from the dropdown list
  • Enter the duplicate telephone number in E.164 format (e.g. tel:+13121115555)
  • Click Find

The output should appear similar to the screenshot below:

 

Exchange 2010

Exchange 2010 Management Shell

To use the Exchange 2010 Management Shell, follow the steps below:

  • Navigate to Start | All Programs | Microsoft Exchange Server 2010 | Exchange 2010 Management Shell
  • Once the shell loads, enter the command below (replacing XXXX with the extension in question):

get-ummailbox | where {$_.Extensions -eq “XXXX”} | format-table -property displayname,Extensions,PhoneNumber

The output should appear similar to the screenshot below:

Exchange 2010 Management Console

To use the Exchange 2010 Management Console, follow the steps below:

  • Navigate to Start | All Programs | Microsoft Exchange Server 2010 | Exchange 2010 Management Console
  • Once the console loads, navigate to Recipient Configuration | Mailbox
  • Click Create Filter
  • Select E-Mail Addresses
  • Select Contains
  • Enter the duplicate extension and click Apply Filter

The output should appear similar to the screenshot below:

Comments Welcomed!

Tags: ,

Leave a Reply