Connect Microsoft Azure

Register an app in Microsoft Entra ID, give it read-only access to a subscription, and paste three values into ProofLayer.

20 minYou need: Someone who can register apps in Microsoft Entra ID and assign roles on the Azure subscription

Before you start

Azure organises your resources into subscriptions, which is roughly “one billing account with its own set of resources”. ProofLayer reads one subscription per connection. To read it, ProofLayer needs an app registration: a named identity for software (rather than a person) that you create in Microsoft Entra ID, Microsoft’s sign-in service. You then let that identity read the subscription.

  • ProofLayer only reads. The identity gets the Reader and Security Reader roles and cannot change anything.
  • You need the Subscription ID (a long code of letters and numbers). Find it in the Azure portal under Subscriptions.
  • The person doing the steps needs permission to register apps in Entra ID and to assign roles on the subscription (often an Owner or User Access Administrator). If that is not you, send this page to your IT colleague.
  • You will copy three values into ProofLayer: the Directory (tenant) ID, the Application (client) ID and a client secret.

Step 1: Add the connection in ProofLayer

  1. Open Connections and click New connection

    Choose Azure, name it (for example “Production Azure”) and paste the Subscription ID as the account.

  2. Open the new connection

    You will see the Azure access card with three empty boxes. Keep this tab open: you will fill it in at step 4.

Step 2: Register the app in Microsoft Entra ID

  1. Open the Microsoft Entra admin center and go to App registrations

    It is under Identity → Applications → App registrations.

  2. Click New registration

    Name it ProofLayer Reader. For Supported account types choose Accounts in this organizational directory only (single tenant). Leave Redirect URI empty and click Register.

  3. Copy two IDs from the Overview page

    Copy the Application (client) ID and the Directory (tenant) ID. Keep them somewhere safe for step 4.

  4. Create a client secret

    Open Certificates & secrets → Client secrets → New client secret. Give it a description and an expiry (choose the longest your policy allows, and diary the renewal). Click Add.

    Copy the secret Value now (not the Secret ID). Azure shows it only once.

Step 3: Let the app read the subscription

  1. In the Azure portal, open Subscriptions and click your subscription

  2. Open Access control (IAM) → Add → Add role assignment

  3. Assign Reader

    On the Role tab choose Reader. On the Members tab choose User, group, or service principal, click Select members, search for ProofLayer Reader, select it and click Review + assign.

  4. Repeat for Security Reader

    Add a second assignment the same way, this time choosing the Security Reader role.

    The app now appears under Role assignments twice: once for each role.

Step 4: Paste the values into ProofLayer

  1. On the Azure access card, fill in the three boxes

    Directory (tenant) ID, Application (client) ID and Client secret. The secret is stored encrypted and is never shown again.

  2. Click Save access

    The button changes to Update access once saved.

Check that it works

  1. Click Test access

    ProofLayer asks Microsoft for a one-hour pass using your app and reads the subscription.

    Success shows Access verified. A problem shows Access test failed with Microsoft’s reason.

  2. Run a scan

    Start one from Runs. Results appear under Findings.

Example with made-up data
Production AWS
123456789012
Active
External ID
pl-7f3a9c2e1b4d… (copy)
Role ARN
arn:aws:iam::123456789012:role/ProofLayerReadOnly
Last access test
Passed 12 Nov 2026, 08:55 UTC
A healthy connection after the access test (shown for AWS; Azure looks the same).

What ProofLayer reads

  • Storage accounts: HTTPS and TLS 1.2 required, no public blobs, network default-deny, shared keys off, customer-managed keys.
  • Network: no management ports (such as SSH or remote desktop) open to the internet.
  • Key Vault: soft-delete and purge protection on, and no public network access.
  • Backup: for every Recovery Services vault, whether soft delete is on, whether a copy is kept in another region, and how long ago each protected item was last backed up (48 hours by default). Only counts and ages are kept, never the names of your machines. The Reader role already covers it.
  • Defender for Cloud: the standard tier on for servers, storage and SQL, and a security contact set.
  • Logging and location: Log Analytics keeps logs at least 180 days, and resources stay in Indian regions.

If something goes wrong

What you seeLikely causeWhat to do
Microsoft would not issue a tokenThe tenant ID, client ID or secret is wrong, or the secret expiredRecheck all three values on the Azure access card. If the secret is old, create a new one in Entra ID and paste it, then Update access.
Access verified is never shown, and the message mentions authorization or 403The app has no role on the subscriptionAdd Reader and Security Reader on the correct subscription (step 3) and wait a couple of minutes.
Findings show error for Defender or Key Vault checksThe Security Reader role is missingAdd it at the subscription level and run another scan.
I pasted the Secret ID instead of the ValueAzure shows both columnsCreate a new secret and copy the Value column straight away.