Removing an Exchange 2013 UM Dial Plan

7
5332

What was a pretty easy task in Exchange 2010, seems to have become more difficult in the new Exchange 2013 Control Panel (ECP). When deleting a UM Dial Plan you need to remove all of its associations first, these are:

UM Mailbox Policies and UM Auto Attendants
Remove any Mailbox Policies or Auto Attendants from the Dial Plan

UM Server
Remove the Dial Plans association to the UM Call Router and UM Service

UM IP gateways/UM Hunt Groups
Remove the Dial Plans association to a UM IP Gateway by deleting the UM Hunt Group bound to the Dial Plan. This is where it gets interesting – The below screen shot shows the UM Hunt Group configuration section in the Dial Plan. The troubles is when you create a SIP URI Dial Plan type which is required for Lync, you cannot see this section. I’m not sure if this is a bug, or by design.

To get around this issue you can use PowerShell, but this leads me to the next issue. The Technet documentation gives the following syntax “Remove-UMHuntGroup -Identity MyUMHuntGroup”, however this is not 100% correct. The identity should actually be in the form <Gateway Identity><Hunt Group Name>.
  • Gateway Identity is found in the “Name” column returned from Get-UMIPGateway
  • Hunt Group is found in the “Name” column returned from Get-UMHuntGroup

Your command should look something like this:

 

If you get the syntax wrong you’ll probably see one of the following 2 error messages:


PowerShell
Below is a rough example of how PowerShell could make this task a little easier:

 

7 COMMENTS

  1. Great article. I noticed a slight syntax issue with your remove-UMHuntGroup in my Exchange version. I needed to add a backslash (\) between the Gateway identity and the UM Huntgroup name. I am running Exchange 2013 Version 15 (Build 1076.9).
    Example:
    Remove-UMHuntGroup -identity GatewayID\UMHuntGroupName.

    Thanks.

LEAVE A REPLY