Set the credentials to use with the Exchange UM Troubleshooting Tool
Applies to: Exchange Server 2013, Exchange Server 2016
The Microsoft Exchange 2010 UM Troubleshooting Tool is an Exchange Management Shell cmdlet named Test-ExchangeUMCallFlow. You can use the cmdlet to diagnose configuration errors specific to call answering scenarios and to test whether voice mail is functioning correctly in both on-premises and cross-premises Microsoft Exchange Server 2010 Service Pack 1 (SP1) or later UM deployments. You can use this cmdlet in deployments with Microsoft Office Microsoft Lync Server 2010 or later or in UM deployments with Vo IP gateways, IP PBXs or session border controllers (SBCs).
By default, when you're running the UM Troubleshooting Tool, it uses the credentials that are used when you log on to the computer. The credentials used are those that are specified for the calling party. You must set or specify the credentials to be used when you're running the UM Troubleshooting Tool in SIPClient
mode. However, you don't need to set the credentials when running the UM Troubleshooting Tool in Gateway
mode.
What do you need to know before you begin?
Estimated time to complete: 3 minutes.
You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "UM server" or "UM services" entry in the Unified Messaging permissions topic.
Make sure your Exchange 2010 or Exchange 2013 organization meets the following requirements:
A UM dial plan has been created. For detailed steps, see Create a UM dial plan.
A UM mailbox policy has been created. For detailed steps, see Create a UM mailbox policy.
A UM IP gateway has been created. For detailed steps, see Create a UM IP gateway.
An Exchange 2010 UM server has been added to the UM dial plan. If you're using Exchange 2013 with Lync Server, add all Client Access and Mailbox servers to the SIP URI dial plans. For detailed steps, see Add a UM Server to a Dial Plan or Add Mailbox and Client Access servers to a SIP URI dial plan.
Install the UM Troubleshooting Tool. For detailed steps, see Install the Exchange UM Troubleshooting Tool.
Important
If you will be using the UM Troubleshooting Tool in
SIPClient
mode, there are several other Office Communications Server 2007 R2 or Microsoft Lync Server requirements and prerequisites. For more information, see Checklist: Deploy Office Communications Server 2007 R2 and Exchange 2010 Unified Messaging or Checklist: Integrate Exchange 2013 UM with Lync Server.For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.
Tip
Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server.
Set the credentials to use with the UM Troubleshooting Tool
From the Start menu, open the Microsoft Exchange 2010 UM Troubleshooting Tool.
In the Microsoft Exchange 2010 UM Troubleshooting Tool window, at the prompt, type the following and press Enter.
$cred=Get-Credential
In the Windows PowerShell Credential Request window, type the domain\username and password, and then click OK.
In the Microsoft Exchange 2010 UM Troubleshooting Tool window, specify the necessary cmdlet parameters to test for call flow. For example:
Test-ExchangeUMCallFlow -Mode SIPClient -CallingParty tonysmith@contoso.com - CalledParty jamiestark@contoso.com NextHop ocsfe.contoso.com -Credential $cred