Multi-tenant Entra apps implementation
This guide is the engineering sequence for using a multi-tenant access app from an ION workload. The detailed runbooks live in the identity section; each step links to the one it depends on. Read the architecture first.
Prepare the Ontinue side
Choose the app
Owner: Service owner with platform security
Pick the narrowest app that covers the feature from the app catalogue. If the feature needs a permission no app carries, raise an architecture change against ADR-0010 rather than adding a scope to an existing app.
Add the workload's federated credential
Owner: Service owner, reviewed by identity team
Add a federated identity credential for the workload’s UAMI to the app: issuer
ontinue.com, subject the UAMI principal (object) ID, audience
api://AzureADTokenExchange. Follow
Workload Identity Federation.
Check the app’s credential count before adding, as an app holds at most 20.
Onboard the customer
Obtain admin consent
Owner: Onboarding service with customer administrator
Issue a state value, send the organizations admin-consent URL, and verify state
and tenant on the callback. Follow
Customer identity onboarding.
Complete customer-side scoping where required
Owner: Customer administrator
- Phishing app: configure Exchange RBAC for Applications and validate it (Mailbox-scoped access).
- Hollow app: assign the recommended Azure roles on the specific resources (Customer Azure RBAC).
Record capabilities
Owner: Onboarding service
Store on the onboarding record the consented apps, the customer tenant ID, and for the hollow app the resource IDs and roles the customer assigned. Workloads read only from this record.
Integrate the workload
Acquire tokens and call the API
Owner: Service owner
Use the ClientAssertionCredential pattern from the
token flow, with the tenant and app from the record. Handle
the errors by failing closed and degrading the
feature for that customer.
Validate
Owner: Service owner and Cyber Advisor
- Positive: the workload reads or acts on a test customer with the consented app.
- Negative: a customer without consent yields
AADSTS7000229and the feature shows as unavailable; a mailbox outside the Exchange scope yields403; a resource without a role assignment yields403. - No secret is referenced by the workload configuration.