Permissions and data access

Understand the access before granting consent.

M365Check uses Microsoft Graph application permissions to run background security checks. The scanner makes read-only Graph requests. These permissions can expose sensitive organization data even though the checks do not change settings.

The explanations below describe each permission's scope, the data the app reads, and why it needs access. Microsoft grants can cover more data than the specific fields a check currently requests. Your enabled checks may need a subset of these permissions.

Microsoft Graph

Application permissions explained

13 permissions used by the current check catalogue.

Application.Read.All

Why it is used: Reads app registrations and credential expiry so stale or expired app secrets can be reported.

Microsoft access scope
Application registrations and service-principal configuration across the directory.
Data used by the app
Application names/IDs, publisher metadata, credential descriptions and secret/certificate expiry dates.
Checks using it
  • Application Secret and Certificate Hygiene
If you do not grant it
Application credential expiry and application ownership context may be incomplete.
Limits and alternatives
Checks request credential metadata, not secret values or private keys. Directory.Read.All is a documented broader alternative for relevant app reads.
Microsoft Graph requests
  • GET /applications?$select=...,passwordCredentials,keyCredentials
  • GET /servicePrincipals

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for Application.Read.All

AuditLog.Read.All

Why it is used: Reads sign-in and authentication method reporting data used for MFA posture and guest activity signals.

Microsoft access scope
Organization-wide audit/sign-in reporting and authentication-method registration reports.
Data used by the app
MFA registration/capability, registered method categories and user sign-in timestamps used for stale accounts.
Checks using it
  • MFA Registration and Method Readiness
  • Inactive Privileged Accounts
  • Guest and External Access Review
If you do not grant it
MFA-readiness and inactivity signals may be unavailable.
Limits and alternatives
The grant covers more audit data than these queries consume. Registration is distinct from enforced MFA. Report access can also depend on licensing.
Microsoft Graph requests
  • GET /reports/authenticationMethods/userRegistrationDetails
  • GET /reports/authenticationMethods/usersRegisteredByMethod(...)
  • GET /users?$select=...,signInActivity

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for AuditLog.Read.All

Directory.Read.All

Why it is used: Reads directory users, groups, guests, and related tenant objects used by multiple identity checks.

Microsoft access scope
Directory-wide identity and organization metadata, including users, groups and application objects.
Data used by the app
User names/UPNs, IDs, account state, guest metadata, administrator identities, licences, domain settings and consent records.
Checks using it
  • Microsoft 365 Security Baseline (LazyAdmin checklist)
  • Microsoft Graph Connection Readiness
  • Global Administrator Membership Review
  • Inactive Privileged Accounts
  • Guest and External Access Review
  • Mailbox Forwarding and Redirect Rules
  • Enterprise Application Consent Review
If you do not grant it
Directory enumeration, tenant validation and several identity checks can be incomplete.
Limits and alternatives
Broad directory access. Individual checks can sometimes use narrower alternatives, such as Organization.Read.All for the connection query or User.Read.All for user enumeration; these do not replace every directory query.
Microsoft Graph requests
  • GET /organization
  • GET /users
  • GET /domains
  • GET /oauth2PermissionGrants
  • GET /servicePrincipals

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for Directory.Read.All

IdentityRiskEvent.Read.All

Why it is used: Reads recent Entra ID Protection risk detections.

Microsoft access scope
Tenant-wide Entra ID Protection risk-detection records.
Data used by the app
Detection types, user IDs, severity and timestamps; returned records can include network/location context.
Checks using it
  • Entra ID Protection Weekly Digest
If you do not grant it
The recent risk-detection portion of the identity digest is unavailable.
Limits and alternatives
A detection is an investigation signal; it is not by itself a confirmed compromise. Licensing can restrict detail.
Microsoft Graph requests
  • GET /identityProtection/riskDetections

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for IdentityRiskEvent.Read.All

IdentityRiskyUser.Read.All

Why it is used: Reads active risky users from Entra ID Protection.

Microsoft access scope
Tenant-wide risky-user information from Entra ID Protection.
Data used by the app
Risky-user identity, risk state/level and update timestamps.
Checks using it
  • Entra ID Protection Weekly Digest
If you do not grant it
The risky-user portion of the identity digest is unavailable.
Limits and alternatives
Entra ID Protection data availability depends on licensing, generally P2 for full risk detail. Risk records contain sensitive identity information.
Microsoft Graph requests
  • GET /identityProtection/riskyUsers

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for IdentityRiskyUser.Read.All

MailboxSettings.Read

Why it is used: Reads mailbox settings and inbox rules to identify forwarding and redirects; message content is not requested.

Microsoft access scope
Mailbox settings and inbox rules across mailboxes permitted by Exchange access controls.
Data used by the app
Sampled mailbox identities, rule names, enabled state and forwarding/redirect destinations.
Checks using it
  • Mailbox Forwarding and Redirect Rules
If you do not grant it
Mailbox inbox forwarding/redirect-rule inspection is unavailable.
Limits and alternatives
The grant is broader than inbox rules; the implementation samples up to 50 mailboxes and does not fetch message bodies or attachments. Mail.Read is not the permission for listing inbox rules. Exchange transport policies are separate.
Microsoft Graph requests
  • GET /users/{id}/mailFolders/inbox/messageRules?$select=id,displayName,isEnabled,actions

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for MailboxSettings.Read

OrganizationalBranding.Read.All

Why it is used: Reads company sign-in branding for the optional baseline branding control.

Microsoft access scope
Organization sign-in branding configuration.
Data used by the app
Company sign-in logo/background URL metadata.
Checks using it
  • Microsoft 365 Security Baseline (LazyAdmin checklist)
If you do not grant it
Optional baseline MO-05 branding evidence is unavailable; other baseline items can still run.
Limits and alternatives
Branding is optional and licence-dependent. Organization.Read.All is a documented broader alternative for this endpoint.
Microsoft Graph requests
  • GET /organization/{id}/branding

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for OrganizationalBranding.Read.All

Policy.Read.All

Why it is used: Reads Security Defaults and Conditional Access policy state.

Microsoft access scope
Tenant-wide identity policy configuration.
Data used by the app
Security Defaults, Conditional Access conditions/exclusions, authentication method policies, guest settings and consent policies.
Checks using it
  • Microsoft 365 Security Baseline (LazyAdmin checklist)
  • Security Defaults Baseline
  • Conditional Access Enforcement Coverage
  • Conditional Access Control Detail
If you do not grant it
MFA enforcement, legacy authentication blocking and identity-policy assessments cannot be established.
Limits and alternatives
Reading a policy does not prove its effective coverage for every sign-in. Conditional Access generally needs Entra ID P1.
Microsoft Graph requests
  • GET /policies/identitySecurityDefaultsEnforcementPolicy
  • GET /identity/conditionalAccess/policies
  • GET /policies/authenticationMethodsPolicy
  • GET /policies/authorizationPolicy
  • GET /policies/adminConsentRequestPolicy

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for Policy.Read.All

RoleAssignmentSchedule.Read.Directory

Why it is used: Reads active privileged role assignment schedules for PIM and role hygiene checks.

Microsoft access scope
Active directory role schedule and assignment-instance metadata.
Data used by the app
Standing/activated assignments, principal identities, assignment dates and expiry.
Checks using it
  • PIM Weekly Digest
  • Privileged Role Assignment Hygiene
  • Inactive Privileged Accounts
If you do not grant it
Permanent-role, stale-admin and PIM activation reporting loses evidence.
Limits and alternatives
Schedule availability depends on the tenant service and licensing; it does not prove activation controls are correct.
Microsoft Graph requests
  • GET /roleManagement/directory/roleAssignmentSchedules
  • GET /roleManagement/directory/roleAssignmentScheduleInstances

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for RoleAssignmentSchedule.Read.Directory

RoleEligibilitySchedule.Read.Directory

Why it is used: Reads eligible privileged role schedules for PIM digest checks.

Microsoft access scope
Eligible directory role assignment schedules.
Data used by the app
Eligible administrators, eligible roles and eligibility dates.
Checks using it
  • Microsoft 365 Security Baseline (LazyAdmin checklist)
  • PIM Weekly Digest
If you do not grant it
The app cannot compare eligible privileged access with standing access.
Limits and alternatives
PIM generally needs Entra ID P2 or a qualifying entitlement. Some eligible roles do not establish full PIM coverage.
Microsoft Graph requests
  • GET /roleManagement/directory/roleEligibilitySchedules

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for RoleEligibilitySchedule.Read.Directory

RoleManagement.Read.Directory

Why it is used: Reads Entra directory role definitions and assignments, including Global Administrator membership.

Microsoft access scope
Directory role definitions, memberships and privileged-access assignments.
Data used by the app
Administrator names, role IDs, scope and role assignment metadata.
Checks using it
  • Microsoft 365 Security Baseline (LazyAdmin checklist)
  • Global Administrator Membership Review
  • PIM Weekly Digest
  • Privileged Role Assignment Hygiene
  • Inactive Privileged Accounts
If you do not grant it
Global Administrator membership and privileged-role coverage become incomplete.
Limits and alternatives
Group assignments can represent multiple people. Role-assignable groups require additional coverage review.
Microsoft Graph requests
  • GET /directoryRoles/.../members
  • GET /roleManagement/directory/roleAssignments
  • GET /roleManagement/directory/roleDefinitions

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for RoleManagement.Read.Directory

SecurityEvents.Read.All

Why it is used: Reads Microsoft Secure Score data from the Graph security endpoint.

Microsoft access scope
Microsoft Graph security-event data; this app currently uses it for Secure Score.
Data used by the app
Current/maximum Secure Score, score date and the returned score snapshot.
Checks using it
  • Microsoft 365 Security Baseline (LazyAdmin checklist)
  • Microsoft Secure Score Snapshot
If you do not grant it
Secure Score snapshots and baseline MO-03 score evidence are unavailable.
Limits and alternatives
The permission is broader than Secure Score. A score does not certify compliance or verify a monthly human review.
Microsoft Graph requests
  • GET /security/secureScores?$top=1

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for SecurityEvents.Read.All

SharePointTenantSettings.Read.All

Why it is used: Reads tenant-wide SharePoint sharing settings for the security baseline.

Microsoft access scope
Tenant-wide SharePoint and OneDrive administrative settings.
Data used by the app
Anonymous-sharing capability and whether guests can reshare items.
Checks using it
  • Microsoft 365 Security Baseline (LazyAdmin checklist)
If you do not grant it
Baseline SH-01 cannot collect tenant-sharing evidence.
Limits and alternatives
This reads settings, not document contents. Site-level exceptions and the default sharing-link type remain manual review items.
Microsoft Graph requests
  • GET /admin/sharepoint/settings

Paths containing an ellipsis are abbreviated examples. A query's selection does not narrow Microsoft's permission grant.

Microsoft permission reference for SharePointTenantSettings.Read.All