Edit

Share via


Configure cross-tenant IPAM with Azure Virtual Network Manager

Managing IP addresses across multiple Azure tenants can be complex, especially in large or distributed organizations. Azure Virtual Network Manager simplifies this process by enabling centralized IP address management (IPAM) across tenants. This article shows you how to deploy a virtual network in a managed tenant using an IP address allocation from an IPAM pool in a management tenant, all through the Azure portal. You'll learn about prerequisites, step-by-step configuration, and how to remove IPAM allocations when they're no longer needed.

Prerequisites

  • An Azure account with an active subscription. Create an account for free.

  • Two Azure tenants: a management tenant (Tenant A) and a managed tenant (Tenant B)

    • Management tenant (Tenant A) must have:
    • Managed tenant (Tenant B) must have:
      • Network Contributor role assigned at the subscription or virtual network level.

Deploy cross-tenant IPAM using the Azure portal

Create an IPAM allocation in the management tenant

  1. Sign in to the Azure portal using credentials with access to Tenant A.

  2. Navigate to Azure Virtual Network Manager and locate your network manager instance.

  3. Select IP address pools under IP address management.

  4. Select the IPAM pool where you want to create an allocation.

  5. Select + Create > Allocate resources.

  6. In the Allocate resources pane, select the Tenant : dropdown and choose the managed tenant (Tenant B) where you want to allocate IP addresses.

  7. Select Apply and then select Authenticate.

    Note

    The authentication process requires you to sign in with a user or service principal that has the Network Contributor role in Tenant B at the subscription or resource level.

  8. After authentication, select the virtual network, you want to associate with the IP address pool and select Associate.

Verify the cross-tenant association

  1. In Tenant A's portal view, navigate to your IP address pool and select Allocations under Settings.

  2. Select Resources and verify that the virtual network from Tenant B is listed as an allocated resource.

  3. Switch to Tenant B's portal view and navigate to the virtual network that received the allocation.

  4. Select Subnets under Settings and verify the name listed under IPAM pool matches the name of the IPAM pool in the management tenant (Tenant A).

    Screenshot of virtual network subnet settings to verify IPAM pool matches management tenant pool.

Remove IPAM allocation

To remove an IP allocation from a cross-tenant resource:

  1. Sign in to the Azure portal with credentials for Tenant A.

  2. Navigate to Azure Virtual Network Manager and locate your network manager instance.

  3. Select IP address pools under IP address management.

  4. On the IP address pools page, select Allocations under Settings.

  5. Select the virtual network that you want to remove the IPAM allocation from.

  6. Select X Remove.

  7. Authenticate to Tenant B and complete authentication.

  8. Once authenticated, select Yes to remove the IPAM allocation.

  9. Refresh the page to verify that the IPAM allocation is removed.

Next steps