Connect Microsoft Azure

Register a service principal in Entra ID, give it Reader on your subscription, and add it in Cloud Agentra. It takes about 5 minutes, and access is read-only by default.

Faster — upload to auto-fill: in the Add-account form you can upload your Azure service-principal .json (the output of az ad sp create-for-rbac), and Cloud Agentra fills the Tenant ID, Client ID and Client Value. The file is read in your browser and never uploaded; the Account Label defaults to the file name (editable). Add the Subscription ID and region, then Test Connection and Save.

Get your credentials

Copy the client secret Value (not the Secret ID) right after creating it — Azure hides it afterward.
Test Connection verifies the service principal before anything is saved. Once Save Account succeeds, the account is connected and you can start running read-only assessments right away.

Required fields

You will paste these four values when adding the account in Settings.

FieldWhere to find it
Tenant IDEntra ID → App registrations → your app → Overview, shown as Directory (tenant) ID
Client IDThe same page, shown as Application (client) ID — not the Object ID below it
Client ValueThe same app → Certificates & secrets → New client secret. Copy the Value, not the Secret ID — it is shown once
Subscription IDSubscriptions → your subscription → Overview
Already connected this account? Where it keeps state can still be changed, from Settings → Migration — a supervised move that backs state up, copies it, verifies it and rolls back if anything fails. See State and backends.

Troubleshooting

ProblemWhat to check
Authentication failedRe-check the Tenant ID, Client ID, and Client Value — the secret's Value is shown only once, so create a new secret if unsure.
Authorization failedConfirm the Reader role is assigned to the app on the subscription (Access control → IAM).
No resources foundMake sure the subscription has resources and the app has Reader at the subscription scope.