Monitor Failed Microsoft 365 Sign-Ins and Block Countries
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.
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.
Review Failed Sign-Ins in Microsoft Entra
Use sign-in logs to find failed attempts and inspect their reported locations.
Go to the Microsoft Entra admin center at entra.microsoft.com, then select Entra ID > Monitoring & health > Sign-in logs.
Set the date range and add a Status filter for Failure. Add a user or application filter if you need to narrow the results.
Select a failed sign-in to review its failure reason, IP address, and reported location in the sign-in details.
Block Selected Countries with Conditional Access
Create a location-based policy to block access from countries or regions you select.
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.

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.




