Skip to content

Leaver Clean-up Completeness

The question it answers: Which disabled member accounts still hold admin roles, licences, group or app ownership, or Intune devices?

Disabling the account is only the first step of an off-boarding. Disabled users who still hold admin roles, paid licences, sole ownership of teams and groups, app registrations or devices are the leftovers - listed with what exactly remains.

Where in the appEntra ID › Identity Lifecycle › Leaver Clean-up
WorkloadEntra ID
KindTable
DataBuilt from the tenant data IntensiveReports keeps in memory and refreshes in the background, so it opens at once.
LicenceNone; the device check needs Microsoft Intune and the last sign-in column Microsoft Entra ID P1.
Report id (API and MCP)entra.lifecycle.leaver-cleanup
ColumnKeyType
UserDisplayNameLink
Still holdsFindingsStatus
RolesRolesText
LicencesLicencesText
Groups ownedGroupsOwnedText
Apps ownedAppsOwnedText
DevicesDevicesText
Last sign-inLastSignInDate
DepartmentDepartmentText

Licence: None; the device check needs Microsoft Intune and the last sign-in column Microsoft Entra ID P1.

Application permissions on the IntensiveReports app registration (all permissions):

PermissionAPIWhat it allowsNote
User.Read.AllMicrosoft GraphRead all users’ full profiles
User-LifeCycleInfo.Read.AllMicrosoft GraphRead all users’ lifecycle information
RoleManagement.Read.DirectoryMicrosoft GraphRead all directory RBAC settings
Group.Read.AllMicrosoft GraphRead all groups
Application.Read.AllMicrosoft GraphRead all applications
DeviceManagementManagedDevices.Read.AllMicrosoft GraphRead Microsoft Intune devices
Data sources it reads
  • GET /v1.0/users (accountEnabled, assignedLicenses)
  • GET /v1.0/roleManagement/directory/roleAssignments
  • GET /v1.0/groups?$expand=owners
  • GET /v1.0/applications?$expand=owners
  • GET /beta/deviceManagement/managedDevices
GET /ir-api/v1/reports/entra.lifecycle.leaver-cleanup?size=100

An AI assistant reads it with the MCP tool get_report and the id entra.lifecycle.leaver-cleanup. The client needs the Read grant for Entra ID. See Using the API.