ADR-0011 — Customer-tenant Azure RBAC via hollow multi-tenant app + workload identity federation
Context
ION has to perform a growing set of operations inside the customer’s Azure subscription that Azure Lighthouse cannot delegate:
- Ingest dark-web-monitoring incidents into the customer’s Log Analytics Workspace through the Logs Ingestion API into a custom table.
- Manipulate customer-owned Azure resources as part of pre-approved
response actions — e.g., adding an IP to an IP Group (Network Contributor
/
Microsoft.Network/ipGroups/write). - Exchange SOAR integration messages through customer-owned Service Bus
queues (ADR-0032)
—
Azure Service Bus Data Senderon the outgoing queue andAzure Service Bus Data Receiveron the incoming queue.
None of these are Sentinel or Defender operations. They are Azure control- and data-plane operations against resources the customer owns and scopes.
The V2 baseline for customer-environment access was Azure Lighthouse, recorded in ADR-0030. Lighthouse hits four hard limits for these new use cases (per Lighthouse tenants, users, roles docs):
- No
DataActionssupport. Lighthouse only propagates control-plane permissions. Ingesting into Log Analytics via the Logs Ingestion API and sending to or receiving from Service Bus queues both requireDataActionsthat Lighthouse cannot pass across the tenant boundary. - No Service Principal / automation login as a Lighthouse-delegated identity. Background automation cannot “log in” as a Lighthouse principal from the MSSP tenant.
- No
Owner/User Access Administratordelegation (except for specific Managed Identity cases), which blocks a set of high-privilege setup tasks. - No custom-role support. Least-privilege custom roles cannot be delegated; the alternative is over-privileged built-in roles.
Forces / Drivers
- principles/README.md § 22 Least privilege — customer-side custom roles must be usable so ION does not fall back to Network Contributor / Log Analytics Contributor when a data-action-scoped custom role would suffice.
- principles/README.md § 23 Blast-radius containment — the customer must be able to scope, revoke, and audit each capability independently at the resource level; a compromise in one path must not disable the others.
- principles/README.md § 21 Azure-native managed services first — solution must live inside what Entra + Azure RBAC + Lighthouse + FIC natively support.
- principles/README.md § 12 Managed Identity for service-to-service authentication — outbound calls from ION workloads should not carry long-lived client secrets or certificates.
- Explicit tenant-topology and identity boundary established in ADR-0009 — the multi-tenant app lives in the
ontinue.complatform directory; customer consent creates a Service Principal in the customer tenant. - Distinct integration surface from Graph/MDE. The four scoped apps in ADR-0010 request Graph and MDE API permissions; this ADR concerns Azure ARM permissions on customer-owned Azure resources — a different consent shape and a different token audience.
Decision
Adopt the customer-owned Service Principal with delegated Azure RBAC pattern as the fourth customer-integration path.
Components (production).
| Component | Value |
|---|---|
Multi-tenant Entra app (in ontinue.com) | azsp-ontinue-ion-access-azure-rbac-prd-01 |
| Client ID | db8449c4-846c-4315-a9fd-045f36c54f69 |
| API permissions on the app | None — the app is deliberately “hollow” |
| Authentication into the app | Workload Identity Federation — ION User-Assigned Managed Identity is a Federated Identity Credential on the app; no client secret or certificate |
| SP in customer tenant | Created at admin-consent time; no permissions attached at consent |
| RBAC assignment | Customer assigns Azure roles to the SP on specific resources at least-privilege scope |
| Token flow | ION workload’s MI → federated OIDC → app-scoped ARM token in customer tenant → data-plane call |
Design invariants.
- The app declares zero API permissions. Consent creates the SP only; no permissions are granted at consent time. This keeps the consent dialog trivial for the customer’s security review.
- The customer controls scope, role, and lifetime. RBAC assignments are on customer-side resources; the customer can narrow, expand, or revoke at any time without any ION coordination.
- ION recommends; the customer assigns. ION publishes a recommended least-privilege role per capability. The customer decides what to assign, and ION does not assign or request role-assignment rights. Recommendations:
| Capability | Recommended scope | Recommended role | Notes |
|---|---|---|---|
| Dark-web monitoring incidents — custom Log Analytics ingestion (Logs Ingestion API) | The Data Collection Rule (DCR) | Monitoring Metrics Publisher, or a custom role with the Microsoft.Insights/Telemetry/Write data action | The customer creates the custom table and DCR during onboarding with the Ontinue deploy.ps1 script; ION is not granted table- or DCR-creation rights |
| Response — add IP to IP Group | The IP Group | Custom role with Microsoft.Network/ipGroups/read and Microsoft.Network/ipGroups/write | Network Contributor only as a fallback the customer may choose |
| SOAR integration — send response instructions (ADR-0032) | The outgoing Service Bus queue | Azure Service Bus Data Sender | Built-in role is already least privilege |
| SOAR integration — receive outcomes | The incoming Service Bus queue | Azure Service Bus Data Receiver | Built-in role is already least privilege |
-
Consent uses the
organizationsauthority. The admin-consent link ishttps://login.microsoftonline.com/organizations/adminconsent?client_id={appClientId}&redirect_uri={registeredRedirect}&state={onboardingState}— nevercommon(which also admits personal accounts) and not a pre-filled tenant ID. ION verifies that thetenantreturned to the redirect matches the onboarding record before activating anything. -
ION workloads authenticate to the app via FIC using their own User-Assigned Managed Identity (one FIC per calling workload) — no long-lived credential lives in Key Vault for this path. Cross-tenant ARM tokens are obtained via
ClientAssertionCredentialwrapping aManagedIdentityCredential(per the Microsoft cross-tenant secretless pattern).
Scope of this ADR. This ADR covers customer-tenant Azure RBAC only. It does not cover:
- Graph/MDE consent (see ADR-0010).
- Sentinel access via Lighthouse (see ADR-0030).
- Human Defender XDR portal access through Tenant Governance/GDAP and customer-assigned URBAC (see ADR-0033).
- ION-side data-plane RBAC (Managed Identity → Cosmos / Service Bus / Key Vault / Storage inside ION’s own Azure tenant) — that belongs to ADR-0013.
Alternatives Considered
Option A — Extend Azure Lighthouse
- Rejected. Grounds:
- (decisive) Lighthouse cannot propagate
DataActions. Log Analytics ingestion and Service Bus queue send and receive areDataActions; no Lighthouse configuration exists that makes them work across the tenant boundary. - No custom-role support. Would force over-privileged built-in
roles (e.g., Network Contributor instead of just
ipGroups/write), violating § 22. - Customer cannot own scope and role per resource. Lighthouse roles are fixed per offer for every delegated customer; the customer accepts or rejects the whole offer and cannot grant, inspect, or expire a role on one specific resource for ION. Lighthouse does support managing-tenant service principals and managed identities through group membership (ION uses this for Archer and threat detection), but only for the offer’s control-plane roles.
- (decisive) Lighthouse cannot propagate
- Lighthouse remains the right choice for the Sentinel integration path recorded by ADR-0030 — this ADR is additive, not superseding.
Option B — Extend the ADR-0010 Graph/MDE apps to also carry Azure ARM permissions
- Rejected. Grounds:
- (decisive) Different consent surface, different customer reviewer. Graph/MDE apps are reviewed by the customer’s security team as M365/Defender permissions. Azure ARM permissions are reviewed by the customer’s cloud platform team. Bundling them into a single consent forces one team to review the other’s domain, and both teams object.
- Blast-radius amplification. A compromise of the Graph/MDE app credential would gain both API and ARM access. Violates § 23.
- Customer-controlled RBAC is the point. The pattern’s key property is that the customer, not ION, assigns roles at resource scope. That property is incompatible with the Graph/MDE app model where scopes are chosen at the ION app definition.
Option C — Embed a client secret / certificate in the hollow app
- Rejected. Grounds:
- (decisive) § 12 mandates Managed Identity where possible. FIC on a User-Assigned Managed Identity is the Entra-native mechanism that lets a multi-tenant app be authenticated by an MI — no secret is required.
- Secret rotation and Key Vault access are pure operational tax we can avoid entirely on this path.
- Fails the “credential-less platform” direction established alongside ADR-0009.
Option D — Per-customer dedicated single-tenant app in ION’s tenant
- Rejected. Grounds:
- Linear operational cost in customer count (an app per customer, each with its own consent flow, secret/FIC configuration, monitoring).
- Consent UX regression — every new customer needs a bespoke consent link and a bespoke app-registration audit trail.
- The hollow-app pattern already achieves per-customer scope isolation via the customer-side RBAC assignments; a per-customer app buys nothing additional.
Rationale
The hollow multi-tenant app is the only pattern that satisfies all four forces simultaneously: it works around every Lighthouse limitation, keeps API-permission and ARM-permission consent surfaces cleanly separated, lets the customer own scope and role choice at least privilege, and supports fully secret-less authentication via FIC.
The “hollow” property is load-bearing. Because the app declares no API permissions, the customer’s initial consent dialog is trivial to review — “this creates a Service Principal in your tenant; nothing more.” The capability grant is a subsequent, deliberate, customer-driven RBAC assignment on the specific resource. The customer can approve consent one week and grant only Log Analytics ingestion the next; if they never grant IP-group write, ION never has that capability in their tenant.
FIC on a User-Assigned Managed Identity closes the loop: the ION side of the trust chain also has no long-lived credential to rotate, monitor, or leak. The token exchange is Entra-native and follows the Microsoft-blessed cross-tenant secret-less pattern.
Consequences
Positive
- Data-plane operations across the tenant boundary become possible without giving ION over-privileged roles.
- Customer holds the RBAC control point at resource scope — narrowing, auditing, and revoking is a first-class Azure workflow they already know.
- Consent review is trivial — no API permissions to argue about.
- Zero client secrets or certificates on the ION side of this integration surface. No Key Vault rotation for this app.
- Custom roles let ION request truly least-privilege actions
(e.g.,
Microsoft.Network/ipGroups/writeinstead of Network Contributor).
Negative / Trade-offs
- Customer onboarding gains a step. After consent, someone with RBAC-administration rights on the customer side must assign the roles. ION cannot self-serve.
- Per-resource scope tracking. ION must know, per customer, which resources have been authorised for which capability, and gracefully degrade when a capability is unauthorised.
- FIC configuration is per-workload. Each ION workload that needs to call into customer tenants via this path must be added as a Federated Identity Credential on the app; the app has a subject-limit ceiling that must be monitored as workload count grows.
- A customer who declines to assign any roles effectively has the SP present but inert — ION must not treat SP existence as capability.
WAF Pillar Impact
- Security (primary) — least-privilege custom roles; customer-owned RBAC control point; zero secrets on the ION side; blast-radius contained per Azure resource.
- Operational Excellence — no secret rotation on this path; FIC + MI eliminates a Key Vault surface.
- Reliability — customer can revoke or narrow RBAC without touching the app; ION path degrades cleanly rather than failing shared-fate with other integrations.
- Performance Efficiency — neutral (ARM token acquisition adds a handshake, mitigated by MSAL token caching).
- Cost Optimization — neutral.
Previous approach (V2)
V2 relied on Azure Lighthouse (per ADR-0030) for cross-tenant access. Data-plane operations against customer Azure resources were either not implemented or performed via over-privileged built-in roles delegated through Lighthouse where possible. Custom Log Analytics ingestion, IP Group manipulation, and customer-hosted Service Bus publishing were not part of the V2 capability set.
Amendments
- 2026-10-14 — Role table and consent authority. Changed the role
table from “preferred/fallback” roles to ION recommendations that the
customer chooses to assign, corrected the Log Analytics recommendation to
DCR-scoped
Monitoring Metrics Publisher(or a custom role withMicrosoft.Insights/Telemetry/Write), made custom table and DCR creation a customer onboarding step, and addedipGroups/readto the IP Group custom role. The admin-consent link now uses theorganizationsauthority, and the returned tenant is verified against the onboarding record. Clarified that each calling workload federates with its own UAMI. - 2026-10-14 — Use cases named and aligned with ADR-0032. The log
ingestion capability is named as dark-web-monitoring incidents. The
“customer-hosted webhook publishing” Service Bus topic is replaced by the
SOAR integration transport decided in ADR-0032:
Azure Service Bus Data Senderon the customer’s outgoing queue andAzure Service Bus Data Receiveron the incoming queue. - 2026-10-14 — Option A ground 3 corrected. The original ground
stated that background jobs cannot execute as a Lighthouse-delegated
principal from the MSSP tenant. That is inaccurate: Lighthouse supports
managing-tenant service principals and managed identities through group
membership, and ION relies on it for Archer and threat detection. The
grounds for rejecting Option A are restated as: no
DataActions, no custom roles, no customer-owned scope or role per resource, and roles fixed per offer. The decision is unchanged.
References
- references/Identity Management- Azure RBAC Permissions.md — primary source.
- Azure Lighthouse — tenants, users, and roles — enumerates the DataActions / custom-role / SP-automation limits driving this ADR.
- Access cloud resources across tenants without secrets — the FIC + MI cross-tenant pattern.
- Azure role assignments — List REST API and Role Definitions — Get — for ION-side validation of assigned capability.
- ADR-0009, ADR-0010.
- principles/README.md §§ 12, 21, 22, 23.
Related ADRs
- ADR-0009 — Entra tenant topology and platform identity provider.
- ADR-0010 — Graph/MDE workload app-permission model; this ADR is its Azure-RBAC-side counterpart.
- ADR-0013 — service-to-service authentication inside ION; this ADR applies that workload identity posture at the customer Azure boundary.
- ADR-0030 — historical V2 Lighthouse access baseline.
- ADR-0033 — separate human Defender XDR access path; GDAP does not replace this workload identity mechanism.