Conditional Access Problems

Monitor Failed Microsoft 365 Sign-Ins and Block Countries

John WilsonJohn Wilson Nov 14, 2026 869 views

Question details

Review failed Microsoft 365 sign-ins and restrict access from selected countries or regions.

Product
Microsoft 365 and Microsoft Entra ID
Device & OS
not provided
Scenario
An administrator wants to monitor unsuccessful sign-ins, check their locations, and limit access based on country or region.
Observed behavior
The desired outcome is visibility into failed sign-ins and a policy that blocks access from chosen locations.
Before you start

Sign in to the Microsoft Entra admin center with a role that can view sign-in logs and manage Conditional Access policies. Conditional Access requires an appropriate license, such as Microsoft Entra ID P1; identify an emergency access account to exclude before creating a blocking policy.

Solution 1Recommended

Review Failed Sign-Ins in Microsoft Entra

Use sign-in logs to find failed attempts and inspect their reported locations.

1
Open sign-in logs

Go to the Microsoft Entra admin center at entra.microsoft.com, then select Entra ID > Monitoring & health > Sign-in logs.

2
Filter failed attempts

Set the date range and add a Status filter for Failure. Add a user or application filter if you need to narrow the results.

3
Inspect a sign-in

Select a failed sign-in to review its failure reason, IP address, and reported location in the sign-in details.

Location and retention limits: Sign-in locations are estimated from IP addresses and may reflect a VPN or proxy. Log retention depends on your Microsoft Entra license.
Free Microsoft Office alternative

Work with Office Documents in WPS Office

WPS Office is a free, lightweight, easy-to-use alternative for everyday document work. Its familiar interface and Microsoft Office format compatibility make it easier to move existing files. Microsoft Entra is still required to monitor Microsoft 365 sign-ins and manage Conditional Access.

Free and lightweight tools for everyday office workCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface that helps users transition from Microsoft OfficeCreate and review sign-in audit reports in documents or spreadsheets
microsoft office alternative - wps office

Frequently Asked Questions

Where can I see failed Microsoft 365 sign-ins?

In the Microsoft Entra admin center, go to Entra ID > Monitoring & health > Sign-in logs and filter Status by Failure.

Can I block only specific countries?

Yes. Create a countries-based named location under Conditional Access > Named locations, then include it in the Locations condition of a policy with Block access selected.

Why does a sign-in show an unexpected location?

Microsoft Entra estimates location from the sign-in IP address. A VPN, proxy, or inaccurate IP geolocation can cause the reported location to differ from the user's physical location.

Do I need a license for Conditional Access?

Conditional Access requires an appropriate Microsoft Entra license, such as Microsoft Entra ID P1. Check the licensing requirements for the users covered by your policy.

How can I test a country-blocking policy without enforcing it?

Set the policy to Report-only when you create it, then review its Conditional Access results in sign-in logs before switching it to On.