Customer environment access guidelines
These rules govern every way Ontinue people and ION workloads reach into a customer Microsoft tenant: Azure Lighthouse, GDAP and Tenant Governance, legacy Access Packages, Teams B2B Direct Connect, and multi-tenant Entra apps. The shared rules apply to all of them; each mechanism then has its own section.
Shared rules
- Shared accounts and shared credentials MUST NOT be used on any mechanism.
- Human grants MUST target governed security groups. Roles MUST NOT be granted directly to individual users or to individual principal IDs.
- Human mechanisms MUST NOT be used to authenticate or authorize workloads, and workloads MUST NOT act with a human’s token or membership.
- Customer tenant IDs, subscription IDs, resource IDs, and channel IDs MUST be read from the onboarding record. They MUST NOT be taken from request input, event payloads, or enumeration across delegated tenants.
- Every mechanism MUST keep a customer-controlled revocation path. ION MUST treat its use as an offboarding signal and MUST NOT retry through another mechanism, a broader identity, or a guest account.
- Onboarding, scope changes, and revocation MUST be validated with positive and negative tests, and the evidence MUST be attached to the onboarding record.
- Break-glass access MUST remain a separately approved, monitored, time-bounded procedure and MUST NOT become a normal path.
- Reference examples, including tenant IDs and role-action strings, MUST be verified against the live tenants and current Microsoft documentation before use.
GDAP and Tenant Governance
Identity and assignment model
- New Defender XDR access MUST NOT be implemented by creating per-customer local analyst accounts or Microsoft Entra B2B guest analyst accounts.
- Human access MUST originate from the analyst’s governed home-tenant identity and MUST use role-assignable security groups projected into the customer tenant as remote tenant groups.
- Groups used by a governance policy template MUST be security-enabled,
MUST have
isAssignableToRole = true, and MUST NOT be Microsoft 365 unified groups. - Analyst access MUST be changed by reviewed membership changes to the approved home-tenant groups.
- Authentication controls for home-tenant analysts MUST include the approved MFA and Conditional Access baseline. A cross-tenant relationship MUST NOT be treated as proof that the interactive sign-in is trustworthy.
Least privilege and authorization layers
- Governance policy templates MUST represent named, reusable access profiles such as read-only investigation and approved response. A single broad template MUST NOT be used when narrower operational profiles are practical.
- Every requested role MUST be justified by an operational task. Global Administrator, broad owner roles, and equivalent catch-all permissions MUST NOT be used as convenience defaults.
- Microsoft Entra roles carried by the GDAP relationship, Defender XDR Unified Role-Based Access Control (URBAC), Microsoft Sentinel Azure RBAC, and Azure resource data-plane RBAC MUST be designed, approved, assigned, and reviewed as separate authorization layers.
- Customer-side Defender XDR permissions MUST be assigned to the projected remote tenant group through URBAC at the narrowest supported scope.
- Optional Microsoft Sentinel Azure RBAC MUST be assigned at the narrowest practical subscription, resource-group, workspace, or resource scope.
- Sentinel management-plane RBAC MUST NOT be described as granting data-plane access. Storage, Key Vault, Service Bus, or other data-plane roles MUST be separately justified and assigned at the narrowest supported resource scope.
- Positive tests MUST prove that an approved analyst can perform every required operation. Negative tests MUST prove that a nonmember, an analyst in a lower-privilege group, and an analyst targeting an unapproved customer or operation are denied.
Boundary with other mechanisms
- Existing Azure Lighthouse delegation, multi-tenant or hollow-application service principals, workload identity federation, managed identities, and customer-side application RBAC MUST NOT be removed or represented as replaced because human Defender XDR access moves to GDAP.
- For customers on GDAP, Entitlement Management Access Packages MAY govern membership of an approved role-assignable group in the governing tenant. They MUST NOT be the cross-tenant transport for those customers; the governance relationship and remote tenant group provide it.
Approval and evidence
- Before invitation or request submission, the onboarding record MUST contain the customer owner, MSSP service owner, governing and governed tenant IDs, relationship or engagement identifier, policy-template ID and version, source-group object IDs, requested Entra roles, intended URBAC roles, optional Sentinel and data-plane roles and scopes, approvers, request date, approval date, activation date, review date, and planned expiry or renewal date.
- The customer approver MUST review the request’s policy snapshot and the downstream URBAC, Sentinel, and data-plane assignments before activation.
- The governance invitation is temporary setup material, not evidence of active access. Its receipt MUST be recorded only until the request is approved, rejected, or expires; notification email MUST NOT be treated as an authorization artifact.
- An active relationship MUST be verified in both tenants, and every source group MUST be matched to the expected customer remote tenant group before roles are assigned.
- Validation evidence MUST include relationship status, group projection, role assignments, positive and negative test results, tester identities, timestamps, customer scope, and remediation for any exception.
Lifecycle and revocation
- Group membership, relationship state, template scope, customer role assignments, owners, approvers, and review dates MUST be reconciled on a documented schedule and at every renewal.
- Reviews SHOULD occur at least quarterly and MUST occur when an analyst changes role, a customer’s Rules of Engagement changes, a template changes, or Microsoft changes preview behavior.
- Removing an analyst MUST remove the analyst from every applicable source group and MUST include a negative access test after propagation. Incident response MUST also revoke active sessions where required.
- Increasing or materially changing scope MUST use a new or versioned, reviewed request and customer approval where the service supports or requires it. Teams MUST NOT assume that editing a reusable template retroactively changes an approved policy snapshot.
- Termination or customer offboarding MUST remove or terminate the governance relationship, URBAC assignments, Sentinel Azure RBAC, and any separately approved data-plane roles, then prove that access fails.
Preview and operational safety
- Tenant Governance is a Microsoft preview capability and its Microsoft Graph
surface uses
/beta. Implementations MUST treat portal labels, API schemas, provisioning behavior, and role-assignment behavior as changeable. - Preview or beta endpoints MUST NOT be made an unattended production dependency without version checks, failure handling, audit evidence, and an approved portal or manual fallback.
- The remote-group role-assignment API SHOULD NOT be the default while its behavior remains unreliable; the documented customer-portal assignment path SHOULD be used and verified.
Access Packages (legacy)
- Access Packages with B2B guest projection MUST remain only the production path for customers outside the GDAP rollout cohort until GDAP receives production approval.
- New features, new access profiles, and new customer-side catalogs MUST NOT be built on the Access Package path.
- Migration to GDAP MUST use a documented coexistence window and rollback plan. Legacy grants MUST NOT be removed until GDAP positive and negative tests pass, and they MUST be removed at the end of the approved window to prevent duplicate paths.
- Removing an analyst MUST remove the access package assignment in every customer tenant where it exists, and the removal SHOULD be confirmed by checking that the guest object no longer has access.
Azure Lighthouse
- Lighthouse authorizations MUST target Ontinue groups in
ontinue.com. Users and individual service principals MUST NOT be added to an offer directly. - Human analysts MUST reach the Lighthouse groups only through nested groups protected by PIM for Groups. Direct permanent human membership of a Lighthouse group MUST NOT be used.
- A workload managed identity MUST be added to the automation group only through a reviewed change that names the workload and the operations it needs. Each workload MUST use its own managed identity.
- Lighthouse MUST NOT be used, or extended, for DataActions, custom roles, or customer-owned per-resource scoping. Those needs MUST use the hollow Azure RBAC app.
- A material change to an offer’s role set SHOULD use new, versioned groups and a new offer version rather than widening existing groups. Every change MUST record the offer version on the onboarding record.
- The Defender for Cloud offer template and the management-group policy parameters file MUST carry the same authorization list and MUST change together.
- Customer offboarding MUST remove the
DfCSubEnablementAtMGpolicy assignment before or together with the registration assignments. - Workloads MUST fail closed on
403 AuthorizationFailedand MUST treat a removed delegation as an offboarding signal. - Re-running the onboarding script against an onboarded customer SHOULD happen in an agreed window because it causes a Defender for Cloud access gap.
Teams B2B Direct Connect
- Customer users MUST join customer shared channels through B2B Direct Connect with their home identity. Guest invitation MUST NOT be used as a fallback when Direct Connect fails.
- Any scenario that genuinely needs a guest account MUST be approved as a B2B Collaboration scenario with its own invitation, review, and removal controls.
- The
ION - <Customer name>group MUST govern only Ontinue-side membership. Analysts MUST be added and removed by Alya according to case assignment, and membership MUST be reconciled on a schedule. - Cross-tenant access settings in
ontinue.comMUST use per-organisation entries scoped to Teams. The default settings MUST NOT be widened. - Workloads that manage membership or publish messages MUST use their own managed identity and approved Graph application permissions.
- Graph calls MUST honour
Retry-Afteron429and503, and bulk operations SHOULD be queued and paced per tenant. - Channel membership MUST NOT be used as evidence of authorization for any ION API, Signet capability, or customer resource.
Multi-tenant apps
- New access apps and new calling workloads MUST use federated credentials from the workload’s own UAMI. New client secrets and certificates MUST NOT be created; existing secrets MUST be on the migration plan.
- A customer MUST consent to exactly one of the four intent-shape apps. Purpose apps (phishing, hollow Azure RBAC) MUST be consented only when the customer opts in.
- A feature that needs a permission no app carries MUST go through an ADR-0010 change; scopes MUST NOT be added to an existing app ad hoc.
- Admin consent MUST use the
organizationsendpoint with astatevalue, and the callback MUST verify bothstateand the returnedtenantagainst the onboarding record. - The phishing app MUST NOT process any mailbox until the customer’s Exchange RBAC for Applications scope has been validated.
- For the hollow app, ION MUST recommend roles and MUST NOT assign them or request rights to assign them; the customer assigns them at the narrowest scope.
- Workloads MUST fail closed on missing consent or permission and SHOULD degrade the dependent feature for that customer. They MUST NOT fall back to a broader app, a human token, or a Lighthouse identity.