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.
- An Azure subscription where you can register an app and assign roles
- About 5 minutes to complete
- Read-only — the Reader role changes nothing in your subscription
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.
| Field | Where to find it |
|---|---|
| Tenant ID | Entra ID → App registrations → your app → Overview, shown as Directory (tenant) ID |
| Client ID | The same page, shown as Application (client) ID — not the Object ID below it |
| Client Value | The same app → Certificates & secrets → New client secret. Copy the Value, not the Secret ID — it is shown once |
| Subscription ID | Subscriptions → 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
| Problem | What to check |
|---|---|
| Authentication failed | Re-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 failed | Confirm the Reader role is assigned to the app on the subscription (Access control → IAM). |
| No resources found | Make sure the subscription has resources and the app has Reader at the subscription scope. |
- Test your connection — Verify credentials before running anything.
- Security & access — How credentials are encrypted and scoped.