Connect Microsoft 365 and Microsoft Entra ID to sync and provision users, groups, roles, and licenses, and review the Graph scopes and read-only options.
Revokes the user’s access on their registered devices, the access tokens granted for Microsoft sign-in, their OAuth2 permission grants, and their app role assignments, then disables the user’s Microsoft Entra ID account so no new sign-ins succeed. Registered devices aren’t removed, and the user may stay signed in to an app until it requests a new access token. Doesn’t reclaim a license
Deprovision Account
User
Deletes the user’s Microsoft account. Microsoft keeps it recoverable for 30 days, then permanently deletes it and the license is reclaimed
Remove user’s Microsoft 365 Apps License
User
Removes a Microsoft 365 Business Standard, Microsoft 365 Apps for Business, or Microsoft 365 Apps for Enterprise license without deprovisioning the account
Reroute Email
User
Reroutes the departing user’s email to their manager or to a fallback user you choose
Custom capabilities. These are additional actions the Microsoft 365 / Entra ID connector can perform.
Name
Description
Remove from all Groups
Removes the user from every Security and Microsoft 365 group Lumos can modify, in a single offboarding step. Directory roles and licenses are not changed.
Use Remove from all Groups in an offboarding workflow to strip a departing user’s group memberships in one step instead of removing each group individually.
Order matters. Run it after the account is disabled and before any other deprovisioning step. Microsoft can’t change group membership once the account is deleted.
Groups Lumos skips. Lumos only removes the user from Security and Microsoft 365 groups that accept membership changes. Dynamic membership groups, groups synced from on-premises Active Directory, mail-enabled security groups, distribution groups, and directory roles are left in place.
Role-assignable groups. If Microsoft returns 403 Forbidden for a group (most often a role-assignable group), Lumos leaves that group in place and continues with the rest. Removing users from role-assignable groups requires RoleManagement.ReadWrite.Directory, which isn’t among the scopes Lumos requests.
Other errors. Any other error from Microsoft (except 404, which Lumos treats as already removed) fails the step.
Rate limits. When Microsoft returns 429 Too Many Requests, Lumos waits for the time in the Retry-After header and retries, up to 5 attempts per group, before failing the step.
Remove from all Groups is only available for the commercial Microsoft 365 / Entra ID connector. Microsoft GCC connections don’t offer this action.
Is read-only possible? Yes, but not through self-service setup. By default the connection grants write access, and you can’t selectively choose scopes during the initial connect. To connect read-only instead, reach out to Lumos Support.What read-only requires. A Support-assisted connection instead of the standard self-service flow below. With read-only permissions you won’t be able to provision new accounts or manage access.What full provisioning requires. The standard admin-consent connection described below, completed by a Microsoft Entra ID administrator. That default connection is what enables account creation, license assignment, group management, suspend, and deprovisioning.Watch out for. You can’t narrow the scopes during initial setup on your own. After connecting with default (read/write) access, you can revoke specific optional scopes in the Entra admin center under Enterprise applications → Lumos → Permissions, but getting a fully read-only connection from the start requires contacting Support rather than a self-service toggle.
Connecting a tenant where your admin is a guest (single-tenant connection)
The standard connection grants admin consent through Microsoft’s common endpoint, which records the consent in the home tenant of the admin who logs in. If the admin who holds Global Administrator in the tenant you want to connect is only a B2B guest there, consent lands in their home tenant instead and the connection fails or collides with your existing connection.In that case, choose the single-tenant version of the Microsoft 365 / Entra ID integration on the connection card and enter the Tenant ID of the tenant to connect. Consent is then requested against that tenant directly. The same Lumos application, scopes, and capabilities apply.
The descriptions below are Microsoft’s own wording for each permission. After an administrator grants consent, Lumos calls Microsoft Graph as the Lumos application, not as the person who connected the integration (see the FAQ below).
Scope
Required
Description
User.Read
Shown at consent; not used (Lumos uses app-only tokens)
Sign in and read user profile. Allows the application to sign in the user and read the user’s profile information.
Directory.AccessAsUser.All
Shown at consent; not used (Lumos uses app-only tokens)
Access directory as the signed-in user. Allows the application to access the directory as the signed-in user. This includes permissions to perform any operation that the signed-in user has privileges to perform within the directory.
User.ReadWrite.All
Optional
Read and write all users’ full profiles. Allows the app to read and update user profiles without a signed in user.
Mail.ReadBasic.All
Optional
Read basic mail in all mailboxes. Allows the app to read basic mail properties in all mailboxes without a signed-in user. Includes all properties except body, previewBody, attachments and any extended properties.
Directory.ReadWrite.All
Optional
Read and write directory data. Allows the app to read and write data in your organization’s directory, such as users, and groups, without a signed-in user. Does not allow user or group deletion.
AppRoleAssignment.ReadWrite.All
Optional
Manage app permission grants and app role assignments. Allows the app to manage permission grants for application permissions to any API (including Microsoft Graph) and application assignments for any app, without a signed-in user.
MailboxSettings.ReadWrite
Optional
Read and write all user mailbox settings. Allows the app to create, read, update, and delete user’s mailbox settings without a signed-in user. Does not include permission to send mail.
Reports.Read.All
Yes
Read last login for Microsoft 365 / Entra ID Allows the application to read all reports related to activity, usage, and insights across various Microsoft 365 services.
AuditLog.Read.All
Yes
Read last login for managed apps Grants the application access to audit logs that track user and system activities across Microsoft 365 / Entra ID and connected apps.
LicenseAssignment.ReadWrite.All
Optional
Allow assigning and unassigning access to product licenses in Microsoft 365 / Entra ID.
How to connect Microsoft 365 / Entra ID as Read-Only?
By default, Lumos gets write access. While you can’t selectively choose scopes during the initial integration setup, you can revoke specific scopes after connecting. For details, see Microsoft’s guide to reviewing and revoking permissions.Alternatively, you can connect with read-only permissions. To use Lumos with read-only permissions, reach out to Lumos Support.With read-only permissions, you can’t provision new accounts or manage access.
Resolves each user’s Manager attribute by the manager’s email address (mail) instead of their user principal name. Turn this on if your tenant contains cross-tenant (B2B) synced users: their guest userPrincipalName never matches a Lumos user, so their reports’ Manager attribute stays empty until this setting is enabled.
Do I need to reconnect the integration to get Last Login data for my managed applications?
If you have not yet granted the AuditLog.Read.All permission, you will need to reconnect the Microsoft 365 / Entra ID integration in Lumos. Once connected, Lumos will automatically sync last login data for all managed applications.
Can I change the authenticated Microsoft 365 / Entra ID user for the Lumos integration?
Lumos uses Microsoft’s Client Credentials Flow to authenticate to the Microsoft 365 / Entra ID/Microsoft Graph APIs, so Lumos can only access your data on behalf of the “Lumos” Microsoft Enterprise Application.The initial connection flow that you go through to connect the integration grants Admin consent to the application itself, but does not bind authentication to a specific user, so connecting with a dedicated service account should not be necessary to maintain stability of the integration.
What if the consent screen blocks me or shows an error?
Granting consent to the Lumos application requires a Microsoft Entra ID administrator who can grant admin consent (see Required plan and roles). If the consent screen blocks you, ask that administrator to complete the connection. For any other error, contact support@lumos.com.
The documentation for Microsoft Graph specifies that all of the services Lumos interacts with in a resource-intensive way via API have service usage limits that apply per app, not across all apps.That means that Lumos API requests to your environment could get throttled, but this would not affect requests made by any other app, including any of your own or your users’ day-to-day use of email and other Microsoft services.Below is the throttling documentation for the services Lumos interacts with for application discovery.
As mentioned above, all Lumos resource-intensive requests are throttled on a per-app basis. That means that Lumos gets throttled if it runs into rate limits, but your internal systems and users should remain free to make requests without issues.Lumos manages throttling by using the “Retry-After” HTTP header and using backoff mechanisms.If you’re concerned that Lumos is impacting your rate limits, you can revoke permissions for Lumos by going to the Enterprise Applications in your Office 365 tenant.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.