Skip to main content

Before you start

You need at least the Application Developer role in the Microsoft Entra tenant that owns your subscriptions, to register an application. To assign the Reader role, you need the Owner, User Access Administrator or Role Based Access Control Administrator role on the subscriptions or the management group you choose. Arch reads only the Azure global cloud: a tenant in a sovereign cloud is refused, and so is a subscription delegated to you from another organization’s tenant.

Setup steps

  1. Sign in to the Microsoft Entra admin center, browse to Entra ID, then App registrations, and select New registration. See Register an application.
  2. Enter a name for the app, choose Single tenant only under Supported account types, and select Register.
  3. On the app’s Overview page, copy the Application (client) ID and the Directory (tenant) ID.
  4. Select Certificates & secrets, then Client secrets, then New client secret. Enter a description, choose an expiration, and select Add. See Add and manage app credentials.
  5. Copy the secret’s Value, not its Secret ID. Microsoft never shows the value again after you leave the page.
  6. In the Azure portal, search for Subscriptions and open a subscription Arch reads. To cover every subscription, now and later, search for Management groups and open the root management group instead. See Assign Azure roles using the Azure portal.
  7. Select Access control (IAM), then Add, then Add role assignment.
  8. On the Role tab, select Reader, then select Next.
  9. On the Members tab, choose User, group, or service principal, then select Select members. Search for the app’s name, select it, select Select, then select Next.
  10. Select Review + assign. Repeat steps 6 to 10 for each other subscription Arch reads. A role assigned on a management group applies to every subscription under it. See Steps to assign an Azure role.
  11. You now hold the Directory (tenant) ID, the Application (client) ID and the client secret’s value to enter in Arch.

Fields

You do not enter an address. Arch always signs in to Microsoft’s own sign-in and Azure Resource Manager addresses.

Permissions

Assign Reader on each subscription itself, or on a management group above it, not only on resource groups. To add a subscription later, assign Reader on it as in Setup steps, then test the connection again in Arch. See Azure built-in roles: Reader.

Configure

Sign-in

Arch signs in as the app registration, exchanging the application ID and the client secret for an Azure Resource Manager token from your tenant. When the sign-in works, the connection test goes on to list the subscriptions the app can read, then reads one page each of resources, Defender for Cloud findings and Defender plans. If the sign-in fails, check that the application ID and the client secret come from the same app registration and that you copied the secret’s value, not its ID. A client secret expires on the date you chose, at most two years after you added it. If it expired or was deleted, add a new one under Certificates & secrets on the app registration, in the Microsoft Entra admin center, and enter its value in Arch.

Test answers

A passing test shows one line for each subscription the app can read, then one line each for Resources, Defender for Cloud findings and Defender plans.

Limits

  • Arch brings in the management groups and the subscriptions you select, with their virtual machines, disks, container clusters, web apps, functions, storage accounts, databases, key vaults, virtual networks, subnets, network interfaces, firewalls, load balancers and public IP addresses, and the vulnerabilities and misconfigurations Microsoft Defender for Cloud found on them, each linked to the resource it affects.
  • Other resource types, subscriptions delegated from another tenant and subscriptions that are not active are not brought in. Vulnerabilities appear only for workloads a paid Defender plan scans.
  • Arch reads the data once a day by default. You can choose every hour, every 3, 6 or 12 hours, or once a day.
  • Each run reads every selected subscription again, so a resource removed in Azure leaves Arch after the next run.
  • One Microsoft Entra tenant connects to Arch once. A second connection to the same tenant is refused.