How Amnify authenticates
Amnify is a single multi-tenant Microsoft Entra application. When you connect Azure, you authorize it once, which provisions a service principal (an “enterprise application”) in your tenant. Amnify then authenticates as the application, using its own confidential client secret, to read posture data. It stores no user passwords and no customer secrets. The authorization request asks only for the minimal OpenID Connect scopes:openid, profile, and email. These low-impact, user-consentable permissions identify the tenant and establish the application in the directory. On their own they grant no access to resources or directory data. Where an organization restricts application consent, Microsoft routes the request to that organization’s own administrator, who approves it in the Azure portal without needing an Amnify account.
Resource access is granted separately, as an Azure role assignment, not through OAuth consent.
Connect Azure — user consent (no optional permissions)
Sign in and consent to the minimal
openid, profile, and email scopes only. This establishes the Amnify application in your tenant without any optional directory permissions and can be completed by a standard user.Steps to connect
1
Consent to the Amnify application
Sign in and consent using the card above. This provisions the Amnify service principal (enterprise application) in your tenant and requests only
openid, profile, and email. A standard user can complete it; where your tenant restricts consent, an administrator approves it.2
Assign the Reader role to the application
In the Azure portal, assign the built-in Reader role to the Amnify application at each subscription you want assessed, or at a management group to cover many at once — plus the small custom role for the two app-service read actions. See Tier 1.
3
(Optional) Grant Entra ID directory read access
To assess the identity layer, a tenant administrator grants admin consent for the three read-only Microsoft Graph permissions using the card in Tier 2. You can add this later without disrupting existing scans.
Tier 1: Subscription read access (required)
What: the subscription permission is the built-in Reader role (Azure RBAC), assigned to the Amnify application at either:- each subscription you want assessed, or
- a management group, to cover many subscriptions at once.
Microsoft.Web/sites/host/listkeys/actionMicrosoft.Web/sites/config/list/Action
Tier 2: Microsoft Entra ID directory access (optional)
What: three admin-consented Microsoft Graph application permissions:Directory.Read.All: read directory objects (users, groups, roles, service principals, and organization settings).Policy.Read.All: read directory policies (Conditional Access, authorization, consent, and security-defaults).UserAuthenticationMethod.Read.All: read which authentication methods users have registered. Used only for multi-factor-authentication posture.
Grant admin consent — with optional permissions
A tenant administrator grants tenant-wide admin consent for the optional Microsoft Graph application permissions listed above. Requires an administrator — a standard user cannot complete this flow.
- All three are read-only.
- Amnify requests
Directory.Read.Allrather than narrower per-object permissions because the identity checks span users, groups, roles, and service principals together. It deliberately does not request the broader “read all users’ full profiles” permission (User.Read.All), which is unnecessary and redundant withDirectory.Read.All.