GDAP human access implementation
Use this runbook with the customer environment access guidelines. It establishes group-based human access from the Ontinue MSSP tenant (the governing tenant) to a customer tenant (the governed tenant) through Microsoft Entra Tenant Governance relationships and GDAP.
GDAP is for interactive human administration. It does not authenticate ION workloads and does not replace Azure Lighthouse, hollow or multitenant applications, managed identity, workload identity federation, application consent, or customer resource/data-plane RBAC.
Access model
Access Packages can optionally govern membership of G inside the MSSP tenant.
They are not cross-tenant transport: T and R provide that path.
Overview
Prerequisites and uncertainty
Licensing (both tenants)
- At least one Microsoft Entra ID P1 license.
- At least one Microsoft 365 E5 license or Microsoft Sentinel enabled in Microsoft Defender.
Security group requirements (governing tenant)
A security group only appears as selectable in a relationship template if all of these are true:
securityEnabled = trueisAssignableToRole = true(role-assignable group)- It is not a Microsoft 365 / unified group
This is the single most common setup snag — create groups as role-assignable from the
start (you cannot flip isAssignableToRole on an existing group).
Administrative roles
The supplied references use slightly different governance-role wording. Verify what the live portal exposes and grant the narrowest role for the task.
| Task | Tenant | Documented/reference role | Required live check |
|---|---|---|---|
| Manage templates and requests | Governing MSSP | Tenant Governance Relationship Administrator in the Defender reference; Tenant Governance Administrator in the Entra reference | Confirm the least-privilege role and any PIM activation requirement |
| Send invitation and approve request | Governed customer | Tenant Governance Administrator | Confirm the role is available and activated |
| Assign remote group to Azure/Sentinel role | Governed customer | Azure User Access Administrator and at least Entra User Administrator | Confirm scope and whether URBAC has a separate administrator role |
| Create or manage role-assignable groups | Governing MSSP | Appropriate Entra group/role-management administrator | Confirm local governance and PIM policy |
Do not substitute Global Administrator or subscription Owner merely to bypass a missing permission. Obtain a reviewed, time-bound elevation when required.
Onboarding record
Create the access record before setup and keep it as the audit source of truth:
| Field | Required value |
|---|---|
| Ownership | Customer owner and Ontinue service owner |
| Tenants | Governed customer tenant ID and governing MSSP tenant ID |
| Relationship | Engagement/change ID and relationship ID when created |
| Template | Name, object ID, version, owner, intended use, review date |
| Groups | Display names and immutable object IDs |
| Authorization | Separate Entra, URBAC, Sentinel Azure RBAC, and data-plane roles/scopes |
| Approval | MSSP requester, customer approver, security approver, approval evidence |
| Dates | Requested, approved, activated, validated, next review, renewal/expiry |
| Validation | Positive and negative test identities, results, and timestamps |
The supplied setup reference identifies d7ad11b5-f423-4be9-94fc-b907baeaa24d
as the Ontinue MSSP tenant ID. Treat it only as a reference value: verify it
through the current production tenant record and a second authorized source
before placing it in a customer invitation. Never infer production ownership
from an example response or this document alone.
Prepare groups and templates
Create role-assignable analyst groups
Owner: MSSP identity team
Create one security group per access profile, for example read-only investigation and approved response. Do not combine materially different duties into one group.
The group must be created with:
{
"displayName": "SG-GDAP-XDR-Analyst-ReadOnly",
"mailEnabled": false,
"mailNickname": "sg-gdap-xdr-analyst-readonly",
"securityEnabled": true,
"isAssignableToRole": true
}isAssignableToRole cannot be retrofitted to an ordinary existing group in the
reference behavior. Record the group’s object ID, owners, membership approvers,
review cadence, and access profile. Do not add analysts until the profile and
customer use are approved. Do not grant roles directly to analysts.
An Access Package may be used upstream to request or review membership of this group. If used, verify that the resulting membership is the only effect; do not model the Access Package as the customer-tenant access path.
Create and review the governance policy template
Owner: MSSP identity and security teams
In the governing tenant, use **Microsoft Entra admin center > Tenant governance
Templates**. The supplied Defender reference also shows Defender MTO portal System > Delegated Access > Create access template.
For each group, select only the Microsoft Entra built-in roles required for its profile. Keep Entra roles distinct from the customer-side Defender URBAC role; do not add optional multitenant application management unless a separately approved application use case requires it.
Record the template ID and a human-readable version. Review the group and role mapping, approvers, intended customer set, and rollback plan. The customer will approve a policy snapshot, so do not assume later edits to the reusable template retroactively change an existing relationship.
The supplied reference does not provide a complete, live-verified Graph payload
for creating a policy template. Prefer the portal for initial production setup;
if automating, obtain the current /beta schema from Microsoft Graph metadata
and validate it in a nonproduction relationship first.
Establish the relationship
Three-step flow for a new customer
Use this flow when there is no documented billing signal or existing active relationship between the tenants.
Temporarily enable invitation receipt
Owner: MSSP tenant governance administrator
In the governing MSSP tenant, use Microsoft Entra admin center > Tenant governance > Settings and enable invitations. This follows the Entra/Graph model in which the governing tenant receives the customer’s invitation. The supplied Defender reference uses less consistent tenant wording, so verify the selected tenant before changing the setting.
Reference Graph HTTP:
GET https://graph.microsoft.com/beta/directory/tenantGovernance/settings
Authorization: Bearer {governing-tenant-token}PATCH https://graph.microsoft.com/beta/directory/tenantGovernance/settings
Authorization: Bearer {governing-tenant-token}
Content-Type: application/json
{
"canReceiveInvitations": true
}Read the setting back. Open the invitation window only for the scheduled setup,
record who enabled it and when, and set canReceiveInvitations back to false
after the expected invitation is received. Invitation receipt is temporary
setup evidence, not proof of active access.
Send the customer invitation
Owner: Customer tenant governance administrator
The customer signs in to its governed tenant and uses Microsoft Entra admin center > Tenant governance > Governing tenants > Sent invitations. The supplied Defender path is Microsoft Defender portal > System > Permissions > Delegated Access > Send invitation. Enter the independently verified governing MSSP tenant ID.
Reference Graph HTTP, executed with a customer-tenant token:
POST https://graph.microsoft.com/beta/directory/tenantGovernance/governanceInvitations
Authorization: Bearer {customer-tenant-token}
Content-Type: application/json
{
"governingTenantId": "{verified-mssp-tenant-id}"
}Record the invitation ID, sender, recipient tenant IDs, and timestamps. The reference behavior gives an invitation 30 days of validity. If it expires, issue a new invitation; do not treat the old email receipt as authorization.
Send the MSSP governance request
Owner: MSSP tenant governance administrator
In the governing tenant, use **Microsoft Entra admin center > Tenant governance
Governed tenants > Received invitations**, open the expected invitation, and send a request with the reviewed template. The supplied Defender MTO path is System > Delegated Access > Send relationship request.
Reference Graph HTTP, executed with an MSSP-tenant token:
POST https://graph.microsoft.com/beta/directory/tenantGovernance/governanceRequests
Authorization: Bearer {governing-tenant-token}
Content-Type: application/json
{
"governedTenantId": "{verified-customer-tenant-id}",
"governancePolicyTemplate@odata.bind": "https://graph.microsoft.com/beta/directory/tenantGovernance/governancePolicyTemplates/{policy-template-id}"
}Record the request ID, template ID/version, policySnapshot, requester, and
submission time. The reference behavior gives a request 14 days of validity.
Review and approve the request
Owner: Customer tenant governance administrator
In the customer tenant, use Microsoft Entra admin center > Tenant governance > Governing tenants > Received requests, open the request ID, and compare its policy snapshot to the approved onboarding record. The supplied Defender path is Microsoft Defender portal > System > Permissions > Microsoft XDR permissions. Approve only if tenant IDs, groups, roles, template version, owners, and intended scope match.
The supplied reference shows this Graph transition, but it has not been live-verified here and approval semantics may change during preview:
PATCH https://graph.microsoft.com/beta/directory/tenantGovernance/governanceRelationships/{relationship-id}
Authorization: Bearer {customer-tenant-token}
Content-Type: application/json
{
"status": "active"
}For production, prefer the documented portal approval unless the current Graph metadata, permissions, and nonproduction test confirm the endpoint. Record the customer approver and approval timestamp.
Two-step flow for an eligible tenant pair
Use the two-step flow only when Microsoft identifies the customer through the required billing signal, or an active governance relationship already exists and the parties are adding another relationship.
- Governing tenant: Microsoft Entra admin center > Tenant governance > Governed
tenants > Send governance request. Submit the reviewed template using the
same
POST .../governanceRequestsreference example above. - Governed tenant: Tenant governance > Governing tenants > Received requests. Review and accept within the reference 14-day validity window.
Do not skip the invitation merely for convenience. Record which eligibility condition permitted the two-step flow.
Project and authorize the groups
Verify remote tenant group projection
Owner: Customer identity team
After approval, verify an active relationship object exists in both tenants and each expected source group appears in the customer as a remote tenant group. Match immutable tenant and group IDs, not display name alone.
Reference Graph HTTP in the customer tenant:
GET https://graph.microsoft.com/beta/directory/tenantGovernance/governanceRelationships
Authorization: Bearer {customer-tenant-token}GET https://graph.microsoft.com/beta/directory/remoteTenantGroups
Authorization: Bearer {customer-tenant-token}A supplied reference response has this shape:
{
"value": [
{
"id": "{customer-remote-group-object-id}",
"remoteTenantId": "{verified-mssp-tenant-id}",
"remoteGroupId": "{mssp-source-group-object-id}",
"remoteTenantDisplayName": "Ontinue",
"remoteGroupDisplayName": "SG-GDAP-XDR-Analyst-ReadOnly"
}
]
}Stop if a group is missing or its IDs do not match. Do not create a similarly named local or guest-based fallback.
Assign Defender XDR URBAC
Owner: Customer security administrator
In the customer tenant, use Microsoft Defender portal > System > Permissions > Microsoft Defender XDR > Roles. Create or select the approved least-privilege URBAC role, create a role assignment, choose Remote tenant groups, and select the verified projected group. Restrict the assignment to the approved Defender data sources and scope.
The supplied reference contains examples using
/v1.0/roleManagement/directory/roleDefinitions and
/v1.0/roleManagement/directory/roleAssignments, but it also reports that
remote-group role assignment through the API is unreliable. Those directory
endpoints and sample Defender actions are reference-only and not live-verified
for URBAC by this runbook. Use the Defender portal workaround until Microsoft
publishes and the team validates a reliable supported API. Capture screenshots
or exports of the resulting role definition, assignment, assignee object ID, and
scope.
Assign optional Sentinel and data-plane access
Owner: Customer Azure owner
Only when the service scope includes Sentinel, go to Azure portal > target resource group or narrower supported scope > Access control (IAM) > Add role assignment. Select the approved Microsoft Sentinel role, then on Members choose Assign access to: Remote tenant group and select the verified group.
Treat this as Azure management-plane authorization. If an approved operation also requires Azure Storage, Key Vault, Service Bus, or another resource’s data, create a separate data-plane role assignment at the narrowest supported resource scope. Record and validate it separately. Do not grant broad data-plane access because a Sentinel role exists.
Validate the complete access chain
Owner: MSSP security and customer security teams
Use a test analyst whose home identity is a member of exactly one intended source group. Reauthenticate after propagation and test through the approved Microsoft Defender MTO/customer-switching experience.
Positive tests must prove the analyst can:
- discover and select only the approved customer;
- read or manage only the Defender capabilities in the URBAC profile;
- perform approved Sentinel management operations, if configured; and
- perform only the separately approved data-plane operation, if configured.
Negative tests must prove denial for:
- an analyst who is not in the source group;
- a read-only analyst attempting a response or configuration action;
- the test analyst targeting a different customer or unapproved scope;
- a Sentinel analyst attempting ungranted Storage or Key Vault data access; and
- the previously authorized analyst after a test removal from the group.
Correlate the sign-in, membership, relationship, role-assignment, Defender, and Azure audit evidence. Do not declare completion from portal control-plane state alone.
Lifecycle operations
Add or remove an analyst
- Add: obtain the approved entitlement, add the analyst to the appropriate governing-tenant role-assignable group, wait for documented propagation, and run the required positive and negative tests.
- Remove: remove all applicable group memberships, revoke sessions when risk requires it, wait for propagation, and prove customer access is denied.
- Never add the analyst directly to a customer role or create a customer guest as a shortcut.
Change scope
For a reduction, remove the role/group assignment promptly and validate denial. For an increase or material role/group change, version the template and submit a reviewed request for customer approval where current Tenant Governance behavior supports or requires it. Review downstream URBAC, Sentinel, and data-plane roles separately. Do not assume template edits rewrite an existing approved snapshot.
Review and renew
At least quarterly, and before the recorded renewal date:
- reconcile source membership, group owners, relationship status, template version, remote groups, and every authorization layer;
- have service and customer owners re-attest business need and least privilege;
- rerun representative positive and negative tests;
- review Microsoft preview notices and
/betaschema changes; and - record the renewal decision, approvers, evidence, and next review date.
If the relationship itself has no enforced expiration in the live service, the operational record still must have a review/renewal date. Do not confuse the 30-day invitation or 14-day request lifetime with relationship renewal.
Termination and customer offboarding
- Remove analysts from customer-specific source groups or disable the entitlement path immediately.
- Remove customer URBAC, Sentinel Azure RBAC, and separate data-plane role assignments.
- Terminate the governance relationship through the customer-approved portal or currently supported API path.
- Confirm remote projection and access are removed, revoke sessions when needed, and run a negative access test.
- Preserve approval, termination, and validation evidence according to the audit retention policy.
- Offboard Lighthouse, hollow/multitenant applications, workload federation, or other mechanisms only through their own runbooks; relationship termination does not prove those independent paths are gone.
Migrate from Access Packages or B2B guests
Access Packages remain the production path until GDAP is approved for production. Migrate customers cohort by cohort; each customer keeps its Access Package path until its own GDAP validation passes. The current Access Package objects to inventory and remove are listed in Access Packages (legacy).
- Inventory every Access Package assignment, guest object, direct role grant, group, customer scope, owner, expiration, and dependent workflow.
- Design equivalent or narrower GDAP templates/groups and obtain customer approval.
- Establish GDAP while retaining the legacy path for a short, dated coexistence window. Ensure analysts know which path is under test.
- Run end-to-end positive and negative tests on GDAP; compare effective access and audit identity with the legacy path.
- If validation fails, roll back by removing or terminating the incomplete GDAP assignments while the legacy path remains available. Do not broaden GDAP to force parity.
- When validation passes, remove direct grants and B2B guest/access-package paths, then prove the legacy identities can no longer access the customer.
- End the coexistence window on the recorded date. Do not leave duplicate access paths as an undocumented fallback.
An Access Package may remain only when it is deliberately repurposed to govern membership of the MSSP source group; it must not retain a parallel B2B transport.
Troubleshooting
| Symptom | Likely cause or check | Resolution |
|---|---|---|
| Group missing from template | Group is not security-enabled, not role-assignable, or is a Microsoft 365 unified group | Create a compliant role-assignable security group; record the new object ID and migrate membership through review |
| Invitation cannot be sent or is not visible | Wrong receiving tenant, canReceiveInvitations is false, wrong tenant ID, or notification/portal lag | Verify the governing tenant and tenant ID; temporarily enable receipt; inspect Received invitations directly; resend if needed; then disable receipt |
| Invitation or request disappeared | Invitation expired after the reference 30 days, or request expired after the reference 14 days | Create a new invitation/request and repeat approval; do not reuse the old email or ID |
| Analyst has no access | Broken chain: home sign-in/CA, source membership, active relationship, remote projection, URBAC, optional Sentinel RBAC, separate data-plane RBAC, or stale session | Check the chain in that order using immutable IDs; reauthenticate after propagation; do not create a direct individual grant |
| Remote group exists but URBAC assignment API fails or has no effect | Supplied reference reports unreliable preview API behavior for remote-group role assignment | Assign through Defender portal > System > Permissions > Microsoft Defender XDR > Roles > Remote tenant groups, then verify with an analyst test |
| Sentinel role works but resource data is denied | Sentinel Azure RBAC is management-plane only | If justified, add the minimal resource-specific data-plane role and test it separately |
| Analyst retains access after removal | Membership/token propagation, another source group, guest/direct grant, or independent Lighthouse/app path | Revoke sessions as appropriate; enumerate every path; remove the unintended grant; repeat the negative test |
Analyst access-chain diagnostic
Quick command reference
All paths are reference behavior. Use a token from the tenant named in the
Run in column, verify current Graph permissions, and inspect current /beta
metadata before automation.
| Purpose | Run in | HTTP method and path |
|---|---|---|
| Read invitation setting | Governing MSSP | GET /beta/directory/tenantGovernance/settings |
| Open/close invitation receipt | Governing MSSP | PATCH /beta/directory/tenantGovernance/settings |
| Send invitation | Governed customer | POST /beta/directory/tenantGovernance/governanceInvitations |
| Send governance request | Governing MSSP | POST /beta/directory/tenantGovernance/governanceRequests |
| List relationships | Either tenant for its view | GET /beta/directory/tenantGovernance/governanceRelationships |
| Reference approval/status transition | Governed customer | PATCH /beta/directory/tenantGovernance/governanceRelationships/{relationship-id} |
| List projected groups | Governed customer | GET /beta/directory/remoteTenantGroups |
| Assign Defender URBAC | Governed customer | Prefer the Defender portal; supplied remote-group API behavior is unreliable and not live-verified here |
For raw HTTP testing, use Graph Explorer or another approved client that makes the tenant context and token audience visible. Never paste production bearer tokens into tickets, documentation, or shell history.
Completion checklist
- Licensing and least-privilege administrator roles were verified live.
- Owners, tenant IDs, template/group IDs, roles, approvers, and dates are recorded.
-
canReceiveInvitationswas closed after invitation receipt. - The relationship is active in both tenants and remote group IDs match.
- Entra roles, URBAC, optional Sentinel RBAC, and data-plane RBAC are separately documented.
- Positive and negative end-to-end tests passed and evidence is retained.
- Review, renewal, termination, and customer-offboarding dates are scheduled.
- Independent Lighthouse and application/workload mechanisms remain governed by their own runbooks.
Related pages
- GDAP and Tenant Governance
- Access Packages (legacy)
- Customer environment access guidelines
- Identity guidelines
- Identity implementation
- Data protection guidelines
- Security overview
References
- Configure delegated access with governance relationships for multitenant organizations (preview)
- Set up a governance relationship
- Tenant Governance overview
- Supplied local GDAP reference set:
xdr-gdap/README.md,01-concepts-and-architecture.md,02-setup-guide.md,03-diagrams-and-flows.md, and04-troubleshooting-and-faq.md(consulted as point-in-time reference material; not copied into this repository).