Entra ID Access Package Drift Reports: Detect & Remediate Entitlement Sprawl with Microsoft Graph

At Microsoft Ignite 2026, Microsoft moved Access Package Drift Reports in Microsoft Entra ID Governance into Public Preview—addressing one of the biggest blind spots in enterprise identity lifecycle management: entitlement drift.

Even when organizations enforce Entra ID Entitlement Management (Access Packages) for onboarding, project access, and vendor permissions, administrators frequently grant direct group memberships or enterprise app role assignments outside the package—or fail to revoke legacy direct grants after an access package expires. Over time, users accumulate shadow privileges that bypass Access Reviews and separation-of-duties policies.

In this runbook, we explain how Entra ID Access Package Drift Reports detect divergence between policy intent and actual directory state, and provide a Microsoft Graph PowerShell script to audit and remediate direct-assignment drift at scale.


Entitlement Drift Detection & Remediation Flow

Entra ID Governance: Access Package Drift Detection & Cleanup 1. Policy Intent Baseline Entra Access Packages define expected members for Groups, Apps & Teams. Status: Delivered Assignments 2. Detect Drift Compare actual resource members vs. active package assignments. Flag: Direct / Out-of-Band Grant 3. Remediate & Govern • One-click revoke in Entra Identity Governance portal • Or automate removal via Microsoft Graph API Zero Trust Rule: Convert legitimate drifted users into formal Access Package assignments with expiration dates, and purge unapproved direct grants.

Viewing Access Package Drift Reports in the Entra Admin Center

  1. Sign in to the Microsoft Entra admin center (entra.microsoft.com) as an Identity Governance Administrator.
  2. Navigate to ID Governance > Entitlement management > Access packages.
  3. Select an Access Package and open Reports > Drift (or Access package drift under Monitoring).
  4. Review users who hold direct membership in the package's target security groups or SharePoint/application roles without an active Delivered Access Package assignment, and select Remove direct access where unauthorized.

PowerShell Audit Script: Compare Access Package Assignments vs. Direct Group Members

When managing dozens of Access Packages, use Microsoft Graph (EntitlementManagement.Read.All, Group.Read.All) to programmatically detect drifted group members across your tenant:

POWERSHELL
#Requires -Modules Microsoft.Graph.Authentication
<#
.SYNOPSIS
    Audits Entra ID Access Package target security groups for direct-assignment drift.
#>

Connect-MgGraph -Scopes "EntitlementManagement.Read.All", "Group.Read.All"

# 1. Fetch all Access Packages and expand resource roles
$Packages = (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/accessPackages?`$expand=resourceRoleScopes(`$expand=role(`$expand=resource))").value

$DriftReport = [System.Collections.Generic.List[PSCustomObject]]::new()

foreach ($Pkg in $Packages) {
    # 2. Get active (Delivered) assignments for this Access Package
    $AssignUri = "https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/assignments?`$filter=accessPackage/id eq '$($Pkg.id)' and state eq 'Delivered'&`$expand=target"
    $Assignments = (Invoke-MgGraphRequest -Method GET -Uri $AssignUri).value
    $GovernedUserIds = [System.Collections.Generic.HashSet[string]]::new()
    foreach ($A in $Assignments) {
        if ($A.target.objectId) { [void]$GovernedUserIds.Add($A.target.objectId) }
    }

    # 3. Inspect Security Group resources attached to this Access Package
    foreach ($Scope in $Pkg.resourceRoleScopes) {
        $Resource = $Scope.role.resource
        if ($Resource.originSystem -ne "AadGroup" -or -not $Resource.originId) { continue }

        $GroupId = $Resource.originId
        $Members = (Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/groups/$GroupId/members?`$select=id,displayName,userPrincipalName").value

        foreach ($Member in $Members) {
            if (-not $GovernedUserIds.Contains($Member.id)) {
                $DriftReport.Add([PSCustomObject]@{
                    AccessPackage      = $Pkg.displayName
                    TargetGroup        = $Resource.displayName
                    GroupId            = $GroupId
                    DriftedUser        = $Member.displayName
                    UserPrincipalName  = $Member.userPrincipalName
                    UserObjectId       = $Member.id
                    DriftType          = "DirectGroupMembershipWithoutPackage"
                })
            }
        }
    }
}

$DriftReport | Export-Csv ".\Entra-AccessPackage-Drift-$(Get-Date -Format 'yyyyMMdd').csv" -NoTypeInformation -Encoding UTF8
Write-Host "[+] Drift audit complete: $($DriftReport.Count) out-of-band member(s) detected." -ForegroundColor Yellow

Best Practices to Prevent Future Drift

  • Lock Down Group Management: Restrict group owners from manually adding members to security groups governed by Access Packages.
  • Pair with Conditional Access Policy Plans: Enforce strict MFA/passkey requirements for privileged applications alongside periodic Access Reviews.
  • Monitor AI Agent Identities: Apply the same Entitlement Management and drift-auditing discipline to non-human agent principals as covered in our Governing AI Agent Dynamic Permissions in Entra ID Runbook.