Connect a Microsoft Azure tenant, or one subscription, so that Asiri can read its settings. Asiri never asks for a client secret or a password.
Who can do this
Approving the connection in Microsoft needs a Global Administrator or a Privileged Role Administrator in your tenant. Only an Owner or an Admin can fix, check or disconnect the connection in Asiri. A tenant counts as one connection on your plan, whatever its subscriptions.
Steps
- Open Settings, then Connections, and choose Add a connection.
- Choose Microsoft Azure.
- Choose Tenant, which reads every subscription, or Subscription. Type the tenant ID or the subscription ID.
- Choose Approve in Microsoft. Microsoft asks you to approve the Asiri app for your tenant. The app asks for two things: Directory.Read.All, and Policy.Read.All for Conditional Access. Approve them.
- Run the role command in Cloud Shell, or apply the Terraform module that does the same job. It gives Reader and Security Reader at the root management group of the tenant, so subscriptions created later are read too.
- Go back to Asiri. It finds each subscription it can see and lists it.
If you cannot approve
The page asks someone who can approve, by a link or by name. Once that person approves, the page moves on by itself.
Optional extras
- Key Vault Reader lets Asiri list your key vaults. It never reads the secrets inside them.
- Defender for Cloud: where you have a Defender plan, its recommendations are read as facts about each resource. Asiri's own tests run either way.
Common questions
Does Asiri keep a client secret? No. You never paste one. Asiri does not ask for a secret or a password at any point.
Can Asiri change my Azure subscriptions? No. Its roles are read-only, and it never writes to your cloud.