This integration covers Azure Resource Manager - RBAC roles, resources, and Azure Activity Log - plus your Microsoft Entra ID users and the groups that hold Azure access. For sign-in and audit activity, and for user or group lifecycle actions, see the separate Microsoft Entra ID integration.
What Oleria discovers
Prerequisites
- A Microsoft Entra ID tenant.
- OAuth method only: a Global Administrator or Privileged Role Administrator to grant admin consent, and a user who can grant Azure RBAC roles at your chosen scope (a User Access Administrator or Owner). You don’t need an app registration.
- Client secret or client certificate methods only: a tenant where you can register an application, a user who can grant Azure RBAC roles at your chosen scope (management group or subscription) - a User Access Administrator, Owner, or your tenant’s Global Administrator - and a Global Administrator or Privileged Role Administrator to grant admin consent for the Microsoft Graph API permissions below.
- Optional: Microsoft Defender for Cloud enabled on the subscription, if you also want Defender for Cloud findings in Risk Monitoring. Oleria’s own risk checks don’t need it.
This integration connects to the Azure Public Cloud only. Azure Government and Azure China aren’t supported.
Choose an authentication method
Oleria offers three authentication methods. Authenticate via Microsoft (OAuth) is the default and needs no app registration. Client Secret Authentication and Client Certificate Authentication use a Microsoft Entra ID service principal that you register yourself.Set up with OAuth (default)
1
Grant admin consent
In Oleria, go to Integrations -> Azure -> Connect, keep Authenticate via Microsoft (OAuth) selected, and select Authenticate. Sign in to Microsoft as a Global Administrator or Privileged Role Administrator and approve the requested permissions for your tenant.
2
Grant Azure RBAC roles to Oleria's enterprise application
Admin consent doesn’t give Oleria access to any Azure resources. Admin consent adds Oleria’s enterprise application to your tenant, under Microsoft Entra ID -> Enterprise applications. Grant that application Azure RBAC roles the same way as in Grant Azure RBAC roles below: assign Reader at a management group or at each subscription you want Oleria to monitor, plus the Key Vault and remediation roles you need. Under Members, select Oleria’s Azure enterprise application instead of an application you registered. If other Oleria integrations, such as Microsoft Entra ID, added their own enterprise applications, pick the one whose Application ID matches the
client_id value in the address of the Microsoft admin consent page.If no role is assigned, Authenticate still succeeds, but Oleria can’t see any Azure subscription: syncs bring in your Microsoft Entra ID accounts but no Azure roles, resources, or activity until you assign one. See Verify the integration.Set up with a client secret or certificate
These methods use a Microsoft Entra ID service principal. You register an application in Microsoft Entra ID, grant it Azure RBAC roles and Microsoft Graph permissions, and provide the credentials to Oleria.1
Register an application
- Sign in to the Azure Portal and go to Microsoft Entra ID -> App registrations.
-
Select New registration, give the app a name (for example,
Oleria), and select Register. - On the app’s Overview page, copy the Application (client) ID and Directory (tenant) ID - you’ll enter both in Oleria.
2
Create a credential
- Client secret
- Client certificate
- In the app, select Certificates & secrets -> Client secrets -> New client secret.
- Provide a description and expiration, then select Add.
- Copy the secret’s Value immediately - Azure shows it only once.
3
Grant Microsoft Graph API permissions
- In the app, select API permissions -> Add a permission -> Microsoft Graph -> Application permissions.
- Search for and add:
- Select Add permissions, then select Grant admin consent for [your tenant] and confirm.
AuditLog.Read.All is optional. It lets Oleria read each user’s MFA registration, which Microsoft provides only to tenants with a Microsoft Entra ID P1 or P2 license, and use it for the user’s MFA status. That status reflects whether a user has registered an MFA method, not whether MFA is enforced when they sign in - Oleria doesn’t read Conditional Access policies. Without the permission or the license, or for a user Microsoft’s registration report doesn’t list, Oleria shows MFA status as unavailable.Domain.Read.All is optional. It lets Oleria read your tenant’s verified domains, which it uses to link this integration to the Azure app your Microsoft Entra ID integration discovers. Directory.Read.All, if you’ve granted it, covers this too. Skipping both doesn’t block setup or any of the permissions above.4
Grant Azure RBAC roles
Oleria’s read access is entirely determined by the Azure RBAC roles you grant here - the connection form has no separate scope selector.
- In the Azure Portal, navigate to your chosen scope and select Access control (IAM) -> Add -> Add role assignment.
- Management group (recommended) - grants visibility across every subscription under it. Requires a Global Administrator or User Access Administrator at the tenant root.
- Subscription - scopes Oleria to a single subscription. Self-service by that subscription’s Owner or User Access Administrator.
- Select the Reader role, then under Members, search for and select the application you registered earlier.
- Select Review + assign twice to confirm.
To also inventory Key Vault secret metadata, grant the same application the Key Vault Reader role on each Key Vault (or a broader scope covering them) - this applies to vaults using Azure’s RBAC permission model. Vaults still on the legacy access policy model need an access policy instead, granting the List secret permission. If a vault’s secrets don’t appear in Oleria after your first sync, check that vault’s role or access policy - Oleria skips a vault whose secrets it can’t read, and still shows the vault itself.
5
Enable Microsoft Defender for Cloud for risk signals (optional)
Oleria’s Azure risk signals include Microsoft Defender for Cloud findings.In the Azure Portal, go to Microsoft Defender for Cloud -> Environment settings, select your subscription, and either toggle on the plans you want or select Enable all, then select Save.
Connect Azure to Oleria
1
Open the integration
Sign in to your Oleria workspace and navigate to Integrations -> Azure -> Connect.
2
Complete the connection form
With Authenticate via Microsoft (OAuth), the form shows no credential fields. Select Authenticate and complete the Microsoft sign-in. With a client secret or client certificate, provide the following and select Authenticate:
3
Complete the connection
Oleria validates the connection, discovers your Azure roles, resources, and accounts, and begins the first sync.
Verify the integration
Confirm Azure appears on the Connected tab of your Oleria Integrations page. After the first sync completes, you can review the discovered accounts, roles, resources, and activity in your Oleria workspace. When Oleria can’t see any Azure subscription, Read roles, Read resources, and Read activity (audit logs) show Needs permission in the integration’s Capabilities and operation readiness section. Assign the Reader role as described in Grant Azure RBAC roles. If the sync is marked as partially completed, Oleria couldn’t import some Azure Activity Log events, either because it couldn’t read a subscription’s Activity Log or because syncing had stopped for longer than the 90 days Azure keeps events. The rest of the sync still completes. See Known limitations.Remediation actions
All remediation actions require approval before Oleria runs them, and each needs an Azure RBAC role beyond the base Reader role granted during setup:- Add user to role and Remove user from role need Role Based Access Control Administrator (or User Access Administrator) at the same scope as the Reader role.
- Disable NHI accounts needs different access for each identity type:
- For a system-assigned managed identity, write access on the resource that owns it - the
<resourceType>/writeaction, for exampleMicrosoft.Compute/virtualMachines/writefor a virtual machine (included in Virtual Machine Contributor or Contributor) - not necessarily at the broader scope where Reader was granted. - For a service principal, the Microsoft Graph application permission
Application.ReadWrite.All, with admin consent.
- For a system-assigned managed identity, write access on the resource that owns it - the
- Revoke anonymous access needs the
Microsoft.Storage/storageAccounts/blobServices/containers/writeaction. Storage Account Contributor includes it, but also gives access to the storage account keys, so on every storage account in its scope that allows Shared Key access, the service principal this connection signs in with appears in the Storage account allows Shared Key access to principals that can list its keys risk. To avoid this, assign a custom role with only that action, at the same scope as the Reader role, which already covers the reads. If you assign it only on some storage accounts, the action still works on them, but Revoke anonymous access shows Needs permission in the Capabilities and operation readiness section, because Oleria checks this permission on a subscription, not on each storage account.
The Remediations page offers Revert only for Disable NHI accounts. The integration supports the other reverts in this table, but the Remediations page doesn’t offer them yet. Oleria can revert only an action that completed or partially completed, never one that failed.
Known limitations
- Role inheritance: Azure RBAC roles don’t nest. Oleria reflects direct role assignments and scope inheritance (management group down to resource), not role-to-role membership.
- Deny assignments: Oleria records each deny assignment on the management group, subscription, resource group, or resource it applies to, but doesn’t subtract it from the access it shows, so an account can appear to have access that a deny assignment blocks. A deny assignment on a resource that Oleria doesn’t show isn’t recorded.
- Eligible roles: Oleria records Azure Privileged Identity Management (PIM) eligible role assignments, and Azure Lighthouse eligible authorizations, as details on the principal’s account, not as access. A principal that can activate a role but hasn’t isn’t shown as having access through it. Time-bound active PIM assignments are shown as access, with their start and end dates. Eligible group memberships (PIM for Groups) aren’t read, so someone eligible to join a group that holds a role is shown with that role only after they activate the membership.
- Admin accounts: Oleria marks an account as an admin when any role it holds, directly or through a group, can create role assignments or role definitions - even if that role covers only one resource group or resource. A role the account is only eligible to activate doesn’t count.
- Human account lifecycle: Azure Resource Manager has no user or group provisioning API. To disable, offboard, or manage group membership for human users, connect Microsoft Entra ID.
- Activity actor: Oleria links each Activity Log event to the account that made it when it can match the caller. Otherwise it shows the caller’s raw identifier, such as a UPN or an application ID. Events with no caller aren’t recorded.
- Activity Log coverage: Oleria reads each subscription’s Activity Log, not tenant-level events. Azure keeps Activity Log events for 90 days, so Oleria can’t import older ones, and Oleria reads events once they’re 20 minutes old, because Azure can take that long to make them available. If Azure refuses access to a subscription’s Activity Log, can’t find it, or reports the subscription isn’t registered for it, Oleria skips that subscription and marks the sync as partially completed. While Oleria can’t fully read the Activity Log of a subscription where an identity can make changes, it doesn’t decide whether that identity is dormant, and keeps a dormant-identity finding it already raised for up to 7 days.
- Resource coverage: Only storage accounts, storage blob containers, virtual machines, Key Vaults, user-assigned managed identities, AKS clusters, App Service apps, and Cognitive Services accounts are curated as resources with full access data. Projects inside a Cognitive Services account aren’t curated. Other resource types appear only when they run as a managed identity or have a role assigned on them, and Oleria shows at most 50,000 resources of other types that run as a managed identity per sync, keeping the ones highest in your hierarchy. Storage SAS tokens and SQL logins aren’t covered.
- Failed reads: if reading your users, groups, service principals, role definitions, role assignments, group memberships, or Lighthouse delegations fails even after Oleria retries - for a reason other than Azure refusing access - the sync fails, and Oleria keeps the data from its last completed sync rather than showing incomplete access. If Azure refuses access to a subscription, or can’t find it, Oleria skips that subscription and syncs the rest.
- Transient Resource Graph outages: if Azure Resource Graph fails during a sync cycle, affected Key Vaults’ secret data is skipped for that cycle rather than published incomplete. It resumes automatically on the next sync - no action needed.

