Convert a legacy Exchange peering to an Azure resource using the Azure portal

This article describes how to convert an existing legacy Exchange peering to an Azure resource by using the Azure portal.

If you prefer, you can complete this guide by using PowerShell.

Before you begin

Convert a legacy Exchange peering to an Azure resource

As an Internet Exchange Provider, you can create an exchange peering request by Creating a Peering.

  1. On the Create a Peering page, on the Basics tab, fill in the boxes as shown here:

    Register Peering Service

  • Select your Azure Subscription.

  • For Resource group, you can either choose an existing resource group from the drop-down list or create a new group by selecting Create new. We'll create a new resource group for this example.


    Once a subscription and resource group have been selected for the peering resource, it cannot be moved to another subscription or resource group.

  • Name corresponds to the resource name and can be anything you choose.

  • Region is auto-selected if you chose an existing resource group. If you chose to create a new resource group, you also need to choose the Azure region where you want the resource to reside.


    The region where a resource group resides is independent of the location where you want to create peering with Microsoft. But it's a best practice to organize your peering resources within resource groups that reside in the closest Azure regions. For example, for peerings in Ashburn, you can create a resource group in East US or East US2.

  • Select your ASN in the PeerASN box.


    You can only choose an ASN with ValidationState as Approved before you submit a peering request. If you just submitted your PeerAsn request, wait for 12 hours or so for ASN association to be approved. If the ASN you select is pending validation, you'll see an error message. If you don't see the ASN you need to choose, check that you selected the correct subscription. If so, check if you have already created PeerAsn by using Associate Peer ASN to Azure subscription.

  • Select Next: Configuration to continue.

Configure connections and submit

  1. On the Create a Peering page, on the Configuration tab, fill in the boxes as shown here.

    Create a Peering page Exchange peering type

    • For Peering type, select Exchange.

    • Select SKU as Basic Free.

    • Select the Metro location where you want to convert peering to an Azure resource. If you have peering connections with Microsoft in the selected Metro location that aren't converted to an Azure resource, these connections will be listed in the Peering connections section as shown. You can now convert these peering connections to an Azure resource.

      Peering connections list


      You can't modify settings for legacy peering connections. If you want to add additional peering connections with Microsoft in the selected Metro location, select Create new. For more information, see Create or modify an Exchange peering by using the portal.

  2. Select Review + create. Notice that the portal runs basic validation of the information you entered. A ribbon at the top displays the message Running final validation....

    Peering Validation tab

  3. After the message changes to Validation passed, verify your information. Submit the request by selecting Create. If you need to modify your request, select Previous and repeat the steps.

    Peering submission

  4. After you submit the request, wait for the deployment to finish. If deployment fails, contact Microsoft peering. A successful deployment appears as shown.

    Peering success

Verify Exchange peering

After the Peering resource is deployed successfully, you can view it by following these steps.

  1. Go to Resource groups, and select the resource group you selected when you created the Peering resource. Use the Filter box if you have too many resource groups.

    Resource groups

  2. Select the Peering resource you created.

    Screenshot that shows the Peering resource yuo created.

  3. The Overview page shows high-level information, as shown here.

    Peering resource Overview pane

  4. On the left, select ASN information to view the information submitted when you created PeerAsn.

    Peering resource ASN information

  5. On the left, select Connections. At the top of the screen, you see a summary of peering connections between your ASN and Microsoft, across different facilities within the metro. You can also access the connections summary from the Overview page by selecting Connections in the center pane, as shown.

    Peering resource Connections

    • Connection State corresponds to the state of the peering connection setup. The states displayed in this field follow the state diagram shown in the Exchange peering walkthrough.
    • IPv4 Session State and IPv6 Session State correspond to the IPv4 and IPv6 BGP session states, respectively.
    • When you select a row at the top of the screen, the Connection section on the bottom shows details for each connection. Select the arrows to expand Configuration, IPv4 address, and IPv6 address.

    Screenshot that highlights an arrow that expands a section.

Additional resources

For more information, see Internet peering FAQs.

Next steps