How to Investigate a Suspicious Login Alert
An order of work for suspicious sign-in alerts: what to read in the sign-in log, how to tell whether MFA was really satisfied, and what to check after the login.

The alert lands at 07:40: unfamiliar sign-in properties, finance manager, successful. Nothing is obviously on fire. The temptation is to reset her password, send a cheerful note about staying vigilant, and get on with the morning. That sequence is wrong in two ways. A password reset on its own does not end the attacker's session, and the sign-in is never the interesting part of the event.
What follows is an order of work for Microsoft 365 and Microsoft Entra ID, since that is where most of these alerts come from. The reasoning transfers to any identity platform: the questions are the same, only the menu names change.
Step 1: Decide whether to contain before you investigate
Spend five minutes, not fifty, on this question. Contain first, and investigate afterwards, if any of the following is true:
- The account holds an administrative role, or can approve payments, change bank details or access payroll.
- The sign-in succeeded and the risk level is high, or the detection is leaked credentials, which is confirmed credential exposure rather than a probability.
- You can already see post-authentication activity: a new inbox rule, a forwarding change, an application consent, a burst of file downloads.
- The user has already told you they did not do it.
Otherwise investigate first. Containment is disruptive, false positives are common, and an account disabled at 07:45 on a guess costs you the goodwill you will need the next time you ask someone to report something.
Step 2: Read the sign-in record properly
In the Microsoft Entra admin center, go to Entra ID, then Monitoring & health, then Sign-in logs. Reports Reader is the least privileged role that can see them. Find the sign-in the alert refers to and open it.
These are the fields that decide the investigation:
- Authentication requirement. It reads either single-factor authentication or multifactor authentication. A successful sign-in marked single-factor, on a user you believe is covered by an MFA policy, is the whole story in one field.
- The Authentication Details tab. Which methods were presented, in what order, and the result detail for each. This is where you see a push approved at 03:00, or a method you do not recognize.
- Conditional Access. Which policies evaluated, and what each returned. "Not applied" on the policy you were relying on is a finding in itself.
- IP address, Location and Autonomous system number. The ASN is the useful one. It tells you whether this is a carrier, a residential ISP, a hosting provider or an anonymizer, and it is far more stable than the city guess.
- Client app and User agent. A legacy client app value, or a user agent that does not match anything the user owns, both change the picture.
- Device ID, compliance and management state. A sign-in from an unregistered, non-compliant device to an account that normally uses a managed laptop is worth more than any geography.
- Correlation ID and Request ID. Copy these. They are how you tie this record to everything else, including a Microsoft support case.
One thing people miss: the sign-in logs have four types, on separate tabs. Interactive user sign-ins, non-interactive user sign-ins, service principal sign-ins and managed identity sign-ins. Stolen-token activity very often shows up only under non-interactive, because the attacker never types anything. Check that tab before you conclude the access was a single event.
Step 3: Compare against the user's own baseline
The alert told you something was unusual. Your job is to decide unusual compared to what.
Filter the sign-in logs to that one user over the previous 30 days and look at the distribution of four things: autonomous system numbers, client apps, user agents and devices. Then ask whether the flagged sign-in is new on one of those axes or on all four. A known device on a new network is a user on holiday. A new user agent, from a hosting provider ASN, through a client app the account has never used, is not.
While you are there, check whether anyone else in the tenant has sign-ins with the same characteristics in the same window. A shared IP, ASN or user agent across several accounts points at a campaign rather than an incident, and changes what you contain.
Step 4: Work out whether MFA was satisfied, bypassed or replayed
This is the question that separates a nuisance from a breach. Three outcomes, each with its own evidence:
- MFA was never required. Authentication requirement reads single-factor, and Conditional Access shows your policy did not apply. Fix the policy gap, because the next account will go the same way.
- MFA was satisfied by the user. The Authentication Details show a method completed. If the user did not intend to approve it, you are looking at a fatigue or real-time proxy attack rather than a stolen password, and our article on MFA fatigue attacks explains the pattern.
- MFA was never challenged because a token was replayed. Look for non-interactive sign-ins with no corresponding interactive sign-in, and for ID Protection detections named Anomalous Token or Token Issuer Anomaly. Microsoft publishes a dedicated token theft playbook for this case, and a password reset does not fix it. Session revocation does.
Step 5: Read the risk detections, if you have them
With Entra ID P2 or the Entra Suite, open ID Protection and work through Risky users, Risky sign-ins and Risk detections. Global Reader is enough to view them.
The detection name tells you where to look next. Leaked credentials means the password is confirmed exposed, so check whether it was changed after the leak date. Password spray means Microsoft observed a successful credential match, so check whether other accounts in your tenant were targets of the same attack. Malicious IP address and suspicious browser both want the same baseline comparison from step three. Microsoft Entra threat intelligence detections carry a rule reference in the additional info field of the risk detection details pane, which you can use to find other users hit by the same rule.
Atypical travel deserves its own warning. It generates a lot of false positives in organizations with VPNs and travelling staff, and the correct remediation is often to add your VPN ranges to named locations so the detection stops firing on your own infrastructure.
Step 6: Find out what happened after the sign-in
This is the step that gets skipped and the one that matters. Connect to Exchange Online PowerShell and search the unified audit log for the window, remembering that timestamps are stored in UTC:
Search-UnifiedAuditLog -StartDate "2026-11-18 05:00:00z" -EndDate "2026-11-19 05:00:00z" -UserIds user@example.com -SessionId "case-1042" -SessionCommand ReturnLargeSet -Formatted
Run it repeatedly with the same SessionId until it returns nothing, because the default is 100 records and paging with ReturnLargeSet reaches up to 50,000. The -Formatted switch turns record types and operations into readable strings, and -HighCompleteness trades speed for fewer missing results, which is the trade you want in an investigation.
Then look specifically for:
- Mail persistence. New-InboxRule, Set-InboxRule, UpdateInboxRules, and Set-Mailbox for forwarding. Verify directly with
Get-Mailbox -Identity user@example.com | Format-List Forwarding*Address,DeliverTo*andGet-InboxRule -Mailbox user@example.com -IncludeHidden | Format-List Name,Enabled,RedirectTo,Forward*,Identity. The IncludeHidden switch matters: rules created outside Outlook do not always appear in the client. - Mailbox access grants. Add-MailboxPermission and delegate changes, especially on finance and executive mailboxes.
- Consent and identity persistence. Consent granted to an application, new service principals, new credentials on an existing app, additions to directory roles, and newly registered authentication methods. An attacker who registers their own MFA method keeps access through your password reset.
- Data movement. MailItemsAccessed, file download and sync operations, and mass deletions.
Save the output to a file as you go. The reasons for that, and the order to collect things in, are in our guide to preserving evidence before you clean up.
Step 7: Contain in the right order
Microsoft's guidance for a compromised account is explicit about sequence, and the sequence is the point.
- Disable the account.
Connect-MgGraph -Scopes "User.ReadWrite.All", thenUpdate-MgUser -UserId <id> -AccountEnabled $false. If you cannot disable it, reset the password instead, with a unique value, and do not send the new password to the user by email. - Revoke every session.
Connect-MgGraph -Scopes User.RevokeSessions.All, thenRevoke-MgUserSignInSession -UserId user@example.com. This invalidates refresh tokens and browser session cookies by moving the signInSessionsValidFromDateTime property to now. Without it, a password change is theatre. - Review registered authentication methods and remove anything the user does not recognize.
- Review consented applications and revoke permissions that should not be there.
- Review role assignments on the account and strip any that were added.
- Remove the attacker's mail rules and forwarding once you have recorded them.
- Check the Restricted entities page if the mailbox was used to send volume, since it will be blocked from sending and the user will need unblocking after you finish.
If the account is synchronized from on-premises Active Directory, the reset happens there, and Microsoft recommends resetting twice to reduce pass-the-hash risk. Federated identities have to be changed in the on-premises environment too.
Step 8: Talk to the user, by phone
Ask three closed questions: were you signing in at this time, from this place, on this device. Read the timestamp, the application and the location out to them. Do not do this over email or chat if the mailbox may be compromised, because you will be asking the attacker.
Keep the tone neutral. The single most expensive outcome of a sign-in investigation is a user who decides that mentioning things to IT is unpleasant. That is also why the unexpected approval prompt is worth teaching as a thing to report rather than dismiss.
Was there a message behind the sign-in? Paste the message or link into CyberWatch AI Scan for a free check.
Step 9: Close it, and make the next one cheaper
Mark the user or sign-in as confirmed compromised, confirmed safe, or dismissed, so the risk reports mean something next month. Then write the timeline: alert time, sign-in time in UTC, IP and ASN, authentication requirement and methods, Conditional Access outcome, every audit log operation you found with its timestamp, every action you took with its timestamp, and your conclusion. NIST's incident response recommendations treat that record as part of the response, not paperwork after it.
Two changes pay for themselves. Add your VPN and office ranges to named locations so false positives stop drowning the real signal. And if the gap you found was a policy that did not apply, close it properly; the ordered approach to that is in our walkthrough on securing a Microsoft 365 tenant. Where the compromise turns out to be aimed at an invoice rather than at data, read it alongside business email compromise, and keep the whole process inside the structure set out in our incident response guide.
Frequently asked questions
Should I reset the password first?
No. Resetting the password alone leaves the attacker's existing refresh tokens and session cookies valid, so they keep their access while your user is locked out of theirs. Disable the account or reset the password and then revoke sessions, in that order. Microsoft's own guidance puts disabling the account first.
The alert says a sign-in from another country. Is that enough to act on?
On its own, no. Travel, roaming SIMs, VPNs and mobile carriers all produce geography that looks wrong. The useful comparison is against that specific user's own history: has this account ever signed in from this autonomous system number, with this user agent, through this client app? A first in thirty days on all three is far more interesting than the country.
How do I tell whether MFA was actually satisfied?
Open the sign-in record and read the Authentication requirement field, which reads either single-factor authentication or multifactor authentication, then open the Authentication Details tab for the individual methods and their result detail. A successful sign-in marked single-factor on a user you believe is covered by MFA is a policy gap or a token replay, and both need explaining.
What is a non-interactive sign-in and why does it matter?
A sign-in performed by a client on the user's behalf without the user typing anything, usually with a refresh token. Entra keeps it in a separate tab from interactive sign-ins. Stolen token activity frequently appears only there, so an investigation that looks at interactive sign-ins alone can miss the access entirely.
Do I need Entra ID P2 to investigate this?
Not to investigate. Sign-in and audit logs need the Reports Reader role and are available broadly, and the unified audit log search works without P2. The risky users, risky sign-ins and risk detections reports in ID Protection need P2 or the Entra Suite, and Global Reader is the least privileged role for viewing them.
What should I look for after the sign-in itself?
Persistence and theft. In the unified audit log, search for New-InboxRule, Set-InboxRule and UpdateInboxRules, Set-Mailbox, Add-MailboxPermission, consent granted to an application, new service principals, role additions and bulk file downloads. The sign-in is the entry; these are what the attacker came to do.
How long do I have before the logs disappear?
Shorter than most investigations need, and it depends on your licensing and whether you export anywhere. Pull and save the relevant records as files on the first day rather than relying on the portal still showing them next week. If you have no export to a SIEM or storage account, set it up before the next alert, not during it.
How do I contact the user safely?
Out of band. Phone them, or speak to them in person. If their mailbox or chat may be in the attacker's hands, an email or a Teams message asking whether they recognize a sign-in tells the attacker you are looking and gives them a chance to answer as the user.
When is it safe to say nothing happened?
When you can account for the alert with evidence rather than absence of evidence: the user confirms the activity out of band, the IP belongs to a sanctioned VPN or their known carrier, the device is the one on record, and the audit log shows no rule, forwarding, consent, permission or role change in the window. Then mark it confirmed safe or dismiss the risk so the next alert starts cleaner.
Sources
- Sign-in logs in Microsoft Entra ID, Microsoft Learn
- Customize and filter activity logs in Microsoft Entra ID, Microsoft Learn
- Investigate risk with Microsoft Entra ID Protection, Microsoft Learn
- What are risk detections?, Microsoft Learn
- Respond to a compromised email account in Microsoft 365, Microsoft Learn
- Revoke user access in an emergency in Microsoft Entra ID, Microsoft Learn
- Revoke-MgUserSignInSession, Microsoft Learn
- Search-UnifiedAuditLog (ExchangePowerShell), Microsoft Learn
- Audit log activities, Microsoft Learn
- SP 800-61 Rev. 3, Incident Response Recommendations and Considerations for Cybersecurity Risk Management, NIST


