What we check · Microsoft 365
What we check in Microsoft 365 — and what we never read
You register an app in your own Entra ID tenant, give it read-only application permissions and grant admin consent; ShieldFlow signs in with its client ID and secret, which you can rotate or delete at any time. Only User.Read.All is required — every other permission adds checks, and a missing one shows as "can't tell", never as a pass.
How results work
- Every failure names the exact thing — the repository, the account, the pull request — and gives the fix.
- If we can’t read something — a missing permission, more than we could read in one scan — the check says “can’t tell” and why. It never passes by default.
- Anything can be marked out of scope with a reason and a review date. The reason is kept as audit evidence.
- Checks marked “good to know” are shown but never raise an alert or hold back a framework.
Sign-in security
- MFA is required for everyone
People registering for MFA isn't enough — it has to be required at sign-in, by Security Defaults or a Conditional Access policy covering all users and all apps.
GET /policies/identitySecurityDefaultsEnforcementPolicy · GET /identity/conditionalAccess/policies
- Everyone has registered for MFA
Each account without a second factor registered is one phished password away from mail, files and every app that signs in with Microsoft.
GET /reports/authenticationMethods/userRegistrationDetails
Administrators
- Every administrator has MFA
An admin without a second factor can reset everyone else's — it's the account an attacker wants most.
GET /directoryRoles?$expand=members · GET /reports/authenticationMethods/userRegistrationDetails
- Four or fewer Global Administrators
Global Administrators can do anything in the tenant, including turning off every control here. Microsoft recommends fewer than five, with narrower roles for day-to-day admin.
GET /directoryRoles?$expand=members
People & access
- Leavers' accounts are disabled
A leaver's Microsoft account still opens their mail, OneDrive, Teams and every app that signs in with Microsoft.
GET /users (accountEnabled)
- Every account belongs to someone you know
An account nobody can name is a leaver nobody recorded, a shared login, or a contractor nobody tracked. Guests are listed separately.
GET /users (userType = Member)
- Guest accountsgood to know
Guests from other companies can open what's shared with them in Teams and SharePoint. Someone should own the list and remove the ones that are done.
GET /users (userType = Guest)
App consents
- Apps that can read everyone's mail or filesgood to know
An app granted Mail.Read or Files.Read.All is a vendor holding your data — often one nobody approved. Add the ones you keep to Vendors; remove the rest.
GET /oauth2PermissionGrants · GET /servicePrincipals/{id}
Devices (Intune)
- Every laptop is encrypted
A lost laptop without disk encryption is a data breach you have to report; with it, it's a hardware cost. Auditors ask for this list.
GET /deviceManagement/managedDevices (isEncrypted, lastSyncDateTime, userPrincipalName)
- Every device checks in with Intune
A device that hasn't checked in for weeks is lost, wiped, or out of policy — and its encryption and patch state are unknown.
GET /deviceManagement/managedDevices (isEncrypted, lastSyncDateTime, userPrincipalName)
- Everyone has a managed device
Someone working on a laptop Intune doesn't know about is working on a laptop nobody can prove is encrypted or patched.
GET /deviceManagement/managedDevices (isEncrypted, lastSyncDateTime, userPrincipalName) · Personnel (ShieldFlow)
- No device belongs to someone who leftgood to know
A leaver's laptop still checking in still holds company data.
GET /deviceManagement/managedDevices (isEncrypted, lastSyncDateTime, userPrincipalName) · Personnel (ShieldFlow)
What we read
- User.Read.All — accounts, enabled or blocked, member or guest
- AuditLog.Read.All — who has registered for MFA (needs Entra ID P1 for the report)
- Policy.Read.All — Security Defaults and Conditional Access policies
- RoleManagement.Read.Directory — who holds admin roles
- Directory.Read.All — apps people or admins consented to (optional)
- DeviceManagementManagedDevices.Read.All — Intune devices: encryption, last check-in, owner (optional)
What we never read or do
- Mail, files, chats or calendars — no Mail, Files, Sites or Chat permission is asked for.
- Change anything: every permission is a Read permission.
- Passwords or authentication secrets — only which methods are registered.