Example
To create the EntraIAMHandler object, initialize it with your Entra Tenant ID, Client ID, and Client Secret (or load them from environment variables).Fetches all users and their IAM-related details (display name, UPN, email, type, assigned roles). Requires User.Read.All and optionally RoleManagement.Read.All.
Fetches all groups and their members (users, devices, service principals). Requires Group.Read.All.
Retrieves all applications (service principals) and their owners. Requires Application.Read.All.
Retrieves all built-in and custom role definitions available in Microsoft Entra ID. Requires RoleManagement.Read.Directory.
Collects MFA registration status and recent MFA usage from sign-in logs for users. Requires Reports.Read.All, UserAuthenticationMethod.Read.All, and AuditLog.Read.All.
Fetches users, groups, applications, roles, and MFA evidence in a single call.