Identity and Access (Microsoft Entra ID)
Note: These controls are in your Microsoft Entra tenant, not in SenseOn. SenseOn ingests Entra sign-in and audit telemetry through Data Connectors. SenseOn detects and escalates suspicious authentication activity. But SenseOn cannot enforce Conditional Access or MFA policy for you.
Most of the cases that SenseOn escalates start with identity. In practice, a compromised account costs an attacker less than a compromised endpoint. It needs no malware. It continues to work after a device rebuild. Frequently, nobody can tell it from legitimate access until the exfiltration of data occurs. This page gives the controls in sequence: first the control whose absence most frequently turns a phishing email into an incident.
The navigation paths and policy names in the Entra ID admin centre change frequently. Before you deploy a control, compare it with the linked source. If a control is only available with a licence above Microsoft Entra ID P1, this page tells you.
Before you change anything
Emergency access accounts
Create these accounts first. All other changes on this page can lock you out of your own tenant.
The guidance from Microsoft is to have a minimum of two cloud-only emergency access accounts. Another name for these accounts is break-glass accounts. The accounts must be:
- Cloud-only, with the
.onmicrosoft.comdomain. Thus, they do not depend on federation or on-premises synchronisation. - Permanently assigned Global Administrator, not eligible through Privileged Identity Management. Thus, they work when PIM does not work.
- Excluded from every Conditional Access policy, also the policies that you did not write yet. Put the exclusion into your policy template.
- Not tied to an individual employee, with split credentials that are kept in physical escrow.
- Monitored. A sign-in from one of these accounts must cause an alert. A legitimate use is rare, and an illegitimate use is critical. When you connect the Entra sign-in logs, SenseOn shows these sign-ins.
Test them on a schedule. If you do not test a break-glass account, it is an assumption, not a control. Do a test sign-in at intervals of 90 days or less. Also, always do a test sign-in immediately after a significant change to Conditional Access. If you exclude an account from MFA policy, the account must have a long, randomly generated password.
Use report-only mode
Each Conditional Access policy has a Report-only state. In this state, Entra evaluates the policy against real sign-ins and records the result. The policy has no effect on the user. Deploy each new policy in this state first. Then review the results in Sign-in logs, on the Report-only tab. Then set the policy to On.
With the What If tool under Protection > Conditional Access, you can model a specific user and application against your set of policies. You can do this before you deploy anything. Use both methods.
Block legacy authentication
This identity control gives the most value of all identity controls. It is the prerequisite for each of the other identity controls.
Legacy authentication is the term for protocols that do not support modern authentication. Older mail clients that use POP, IMAP or SMTP AUTH use these protocols, and older Office clients use them also. These protocols cannot present an MFA challenge. If these protocols stay enabled, an attacker with a valid password can authenticate through them. The attacker then never meets your MFA policy. As a result, the rest of this page is only decoration.
Protection > Conditional Access > Create new policy
| Setting | Value |
|---|---|
| Users | All users, excluding emergency access accounts |
| Target resources | All resources (formerly All cloud apps) |
| Conditions > Client apps | Exchange ActiveSync clients, and Other clients |
| Grant | Block access |
Before you enable the policy, find what still uses legacy authentication. To do this, filter your sign-in logs on the Client app column for legacy values. Usually, multifunction printers, scan-to-email devices and application service accounts that send SMTP still use it. Usually, a small number of old, forgotten mail clients also use it. Move printers and applications to SMTP AUTH with an authenticated submission account. A better option is to move them to Microsoft Graph.
The direction of travel: Microsoft retired Basic authentication for Exchange Online protocols. Microsoft also disables more legacy authentication paths by default over time. Find the current position for your tenant. Do not assume that it is already blocked, and do not assume that you still have time. For the Exchange side of the same problem, refer to Email and Collaboration.
Require multi-factor authentication
Baseline policy
The minimum position that you can defend is MFA for all users, for access to all resources. If you have no Conditional Access policies, the Microsoft security defaults enforce a reasonable baseline at no additional cost. They are a much better start than nothing. But security defaults are all-or-nothing, with no exclusions. That is why most organisations move to Conditional Access.
Microsoft also makes MFA mandatory for access to administrative portals, in stages. Also, Microsoft-managed Conditional Access policies appear in many tenants in report-only state. Review these policies. Do not ignore them. Usually, they are similar to the policies that you would write.
| Setting | Value |
|---|---|
| Users | All users, excluding emergency access accounts |
| Target resources | All resources |
| Grant | Require multi-factor authentication, or an authentication strength |
Not all MFA is equal
MFA with push notifications or one-time codes stops password spraying and credential stuffing. It does not stop an adversary-in-the-middle phishing kit. The kit proxies the real login page. It collects the session token after the user completes MFA, and then it replays the token. This attack is now routine, not unusual, and it is the mechanism of most of the cases of M365 account compromise that SenseOn works on. Refer to the M365 Compromised Account playbook.
| Method | Resists phishing | Position |
|---|---|---|
| SMS or voice call | No | Also vulnerable to SIM swap and interception. Remove it as an option, or restrict it to a documented exception group. |
| Authenticator app, push approval | No | Acceptable as a general baseline when number matching and additional context are on. |
| Authenticator app, one-time code | No | Equivalent to push. Useful where push is not practical. |
| Passkeys in Microsoft Authenticator | Yes | Phishing-resistant, and no additional hardware is necessary. For most users, the easiest upgrade path. |
| FIDO2 security keys | Yes | The strongest option that you can deploy widely. Recommended for administrators. |
| Windows Hello for Business | Yes | Phishing-resistant, and already present on managed Windows devices. Low friction if you are hybrid or Entra joined. |
| Certificate-based authentication | Yes | For organisations that already have a PKI and smart cards. Typically, these are government and regulated sectors. |
Number matching and additional context are enabled by default for Microsoft Authenticator push. Make sure that they are on. Number matching defeats MFA fatigue attacks. In this attack, an attacker with a valid password triggers prompts again and again, until the user approves one to stop them. Additional context shows the application name and sign-in location in the prompt. This information helps the user to make a decision.
Enforce it with authentication strengths
Use authentication strengths in the Grant control, not generic MFA everywhere. With authentication strengths, you can make phishing-resistant methods necessary where they are important. Entra has built-in strengths for multi-factor, passwordless, and phishing-resistant. You can also define custom strengths.
A split that works:
| Scope | Strength |
|---|---|
| All users, all resources | Multi-factor authentication |
| Users holding any privileged role | Phishing-resistant MFA |
| Access to the Microsoft admin portals and Azure management | Phishing-resistant MFA |
| Registration of new security information | Phishing-resistant MFA, or restricted to a trusted network or compliant device |
The last row is more important than it looks. If an attacker with a stolen password can register their own authenticator, the MFA then protects the session of the attacker, not your session. Use the Register security information user action as the target resource.
Conditional Access policies worth having
In addition to MFA and legacy authentication, our recommendations frequently include the policies that follow. Build each policy in report-only mode first.
| Policy | Configuration | What it addresses |
|---|---|---|
| Require compliant or hybrid joined device | Grant: Require device to be marked as compliant, or Require Microsoft Entra hybrid joined device | A stolen token is much less useful if it must also come from a managed device. After phishing-resistant MFA, this is the strongest single control, if your device management is in good condition. |
| Require MFA for Azure management | Target resources: Microsoft Admin Portals or the Windows Azure Service Management API | Protects the control plane specifically. Also catches administrative access that a general policy can exclude. |
| Sign-in risk and user risk policies | Grant: require MFA on medium and above sign-in risk. Require secure password change on high user risk. Microsoft Entra ID P2 is necessary | Catches impossible travel, anonymous IP, leaked credentials and token anomalies. The P2 feature with the highest value. |
| Sign-in frequency and persistent browser | Session: sign-in frequency for privileged roles, and disable persistent browser session on unmanaged devices | Shortens the useful life of a stolen token. Be careful with the values here, because aggressive values cause more helpdesk work and prompt fatigue. |
| Block access from unexpected locations | Conditions: Locations, with a named location covering the countries you operate in | Simple but effective for organisations that really operate in a limited geography. Not a replacement for the earlier controls on this page, because VPNs and residential proxies are cheap. |
| Require terms of use, or block unmanaged access to specific apps | Varies | Useful to scope high-value applications more tightly than the tenant default. |
Continuous Access Evaluation shortens the time between a revocation event and the moment when the token no longer works. A disabled account and a password reset are examples of revocation events. It is on by default for supported services. Make sure that you did not disable it in a session policy.
Manage privileged identities
When SenseOn reviews a tenant after an incident, one of the most common problems that it finds is too many privileged role assignments.
- Count your Global Administrators. The guidance from Microsoft is fewer than five. Most tenants that we see have considerably more. Usually, the cause is historic assignment, not current need. If an attacker takes one of these accounts, the attacker compromises the full tenant.
- Use least-privileged roles. Global Administrator is not necessary for most administrative work. Exchange Administrator, User Administrator, Security Reader and Intune Administrator cover most daily tasks.
- Separate administrative accounts from user accounts. Do not do administrative work with the identity that reads email and opens attachments.
- Use Privileged Identity Management to make roles eligible, not active, with approval, justification and a time limit. Microsoft Entra ID P2 is necessary. PIM removes standing privilege, and standing privilege is what an attacker inherits.
- Review access on a schedule. Access reviews automate the recertification. Access reviews are also a P2 feature. Without them, role membership only increases.
- Do not synchronise on-premises privileged accounts to the cloud. A compromise of Active Directory must not automatically become a compromise of Entra. Keep cloud administrative identities cloud-only. Refer to Active Directory.
Control application consent
Consent phishing is the attack that most frequently defeats a well-configured MFA deployment. The reason is that the attack never tries to authenticate as the user. The user gets a request to give a malicious registered application permission to their mailbox or files. The user approves it. The application then holds its own OAuth refresh token. A password reset has no effect on this token, and in many configurations, MFA has no effect on it also.
Identity > Applications > Enterprise applications > Consent and permissions
| Setting | Recommended | Effect |
|---|---|---|
| User consent for applications | Allow user consent for apps from verified publishers, for selected permissions | The balanced position. You can defend a full block of consent, but it causes real friction. You cannot defend a policy that lets users give all consent. |
| Admin consent workflow | Enabled, with named reviewers | Gives users an approved route, so that they do not find a way around you. Also lets you see what users request. |
| Group owner consent | Disabled, or restricted | Group owners can give applications access to group data. It is easy to overlook this path. |
Also restrict who can create applications. Go to Identity > Users > User settings. Set Users can register applications to No. Set Restrict access to Microsoft Entra admin centre to Yes. Neither setting is a security boundary alone. But both settings decrease noise and remove an easy persistence mechanism.
Review existing consent, not just future consent. A stricter policy has no effect on applications that already have consent. Audit the current enterprise applications and their granted permissions. Look carefully at applications with
Mail.Read,Mail.Send,Files.ReadWrite.AllorDirectory.ReadWrite.All. Also look carefully at applications that nobody can explain.
Passwords, guests and the rest
Passwords. Follow the NCSC password guidance. Length is more important than complexity. Do not force periodic expiry, because expiry causes predictable increments. Enable Microsoft Entra Password Protection with a custom list of banned passwords. Put your organisation name, local sports teams and product names in the list. The on-premises agent extends the same list to Active Directory, where the weak passwords usually are.
Self-service password reset. Enable it with a strong registration policy and password writeback. It decreases social engineering of the helpdesk, which is an attack path itself.
Guest access. Go to External Identities > External collaboration settings. Restrict guest permissions to the most limited option. Restrict who can invite guests. By default, guests can see much more of the directory than most administrators expect.
Verifying with SenseOn
After you connect the Entra sign-in and audit logs through Data Connectors, look for these items after each change:
- Sign-ins that still succeed through legacy client apps after you enforce the block policy.
- Sign-ins that satisfy MFA with SMS or voice after you intended to retire those methods.
- Events for the registration of security information from unexpected locations or unmanaged devices.
- New consent grants for enterprise applications, especially to applications with mail or file permissions.
- Any authentication activity from an emergency access account.
Hunt Lab queries this telemetry directly. The applicable tables are cloud_ms_sign_in_log and cloud_ms_directory_audit_log.
Go live checklist
- [ ] At least two emergency access accounts created, excluded from all Conditional Access policies, and sign-in tested
- [ ] Legacy authentication usage found in sign-in logs and remediated at source
- [ ] Legacy authentication block policy enforced
- [ ] MFA required for all users, enforced
- [ ] Phishing-resistant MFA required for all privileged roles
- [ ] Security information registration protected by a policy of its own
- [ ] SMS and voice removed or restricted in the authentication methods policy
- [ ] Number matching and additional context examined, and both enabled
- [ ] Global Administrator count reviewed and reduced
- [ ] Administrative accounts separated from day-to-day user accounts
- [ ] User consent restricted, admin consent workflow enabled, existing consent grants audited
- [ ] Entra sign-in and audit logs sent to SenseOn
Related pages
- Email and Collaboration for the Exchange Online half of identity hardening.
- Active Directory for the on-premises directory and the synchronisation boundary.
- M365 Compromised Account playbook for how SenseOn responds when these controls are absent.
- Multi-Factor Authentication and Single Sign-On for MFA and SSO on the SenseOn platform itself.
- Data Connectors to connect Entra telemetry to SenseOn.
Sources
We did a check of all URLs on 19 August 2026.
- Conditional Access overview
- Block legacy authentication with Conditional Access
- Conditional Access authentication strengths
- Manage emergency access accounts
- Security defaults in Microsoft Entra ID
- Microsoft Entra Privileged Identity Management
- Configure how end-users consent to applications
- Microsoft Entra Password Protection
- NCSC password guidance