Skip to content

Azure Networking

Starting version 4.3, IP Fabric supports the discovery of the Azure Cloud infrastructure. Azure devices are discovered only through API. The IP Fabric covers the IaaS (Infrastructure as a Service) part of the cloud. Azure Cloud Compute provides an abstract view of the Azure physical infrastructure.

  • Virtual Network
  • NAT Gateway
  • Virtual Network Gateway (both types: VPN and ExpressRoute) and devices related to a Virtual WAN solution:

    • Virtual HUB
    • VPN Gateway (the same functionality as VNGw type VPN)
    • ExpressRoute Gateway (the same functionality as VNGw type ExpressRoute)

The plan is to add support of the Load Balancer in one of the upcoming releases.

Azure Setup

To add Azure devices to the global discovery settings, go to Settings → Discovery & Snapshots → Discovery Settings → Vendors API, click + Add and select Azure as Type.

IP Fabric needs the following to connect to the Azure API:

  • Tenant ID
  • Client ID (application ID)
  • Client Secret (application secret)

Since version 6.7, the Subscription IDs field is optional. Leave it empty to discover all available subscriptions within the same tenant.

Follow these steps to get the required data.

First, log in to the Azure portal.

Register an App

Search for Active Directory.

  1. From the left menu, click App registrations, then click +New registration.
  2. Fill in the name of the application (e.g. IP Fabric). From the Supported account types, select the first option Single Tenant. Leave the other options blank
  3. Once you click Register, you’ll be redirected to the App overview page. Note the Application (client) ID and Directory (tenant) ID
  4. Click Certificates & Secrets and select the Client secrets (0) tab, click + New secret, select Expiration and then click Add.
  5. Copy the created client secret to the clipboard (column Value). You won’t be able to see it again.

Subscription & Access Control

Search for Subscriptions and select the subscription you like to add to IPF (IPF can do discovery per subscription)

  1. On the overview page note the Subscription ID.
  2. From the left menu, click Access control (IAM), click + Add and Add custom role. Fill in the role name. IP Fabric requires specific permissions to make API calls. Select Start from JSON and upload JSON file with the required permissions (find it at the very bottom of this page). Click the Next button to continue.

    Creating Custom Role

  3. Review the permissions and click Next. Now you must assign a scope for this role. Click Add assignable scopes and from the right panel select Type: Subscription and then click the Subscription you want to assign

    Assigning Scopes

  4. Click Review + Create

  5. Now you must assign the newly created Role to the Registered App. From the left menu, select again Access control (IAM) and then click + New and Add role assignment.
  6. Find the previously created role, click Next and then click + Select members. Find the app you created before. Click Review + Assign

    Add Role assignment

Role Definitions for IP Fabric

The following JSON format applies to IP Fabric version 6.7 and above:

  "properties": {
      "roleName": " IPF discovery role 6.7",
      "description": "Permissions needed for IP Fabric to discover Azure network infrastructure",
      "assignableScopes": [],
      "permissions": [
              "actions": [
              "notActions": [],
              "dataActions": [],
              "notDataActions": []