Microsoft Entra ID Sign-in Logs record authentication attempts made by users and applications within a Microsoft Entra tenant. These logs provide detailed information about who signed in, when the sign-in occurred, which application was accessed, and whether the sign-in was successful or blocked.
Administrators use sign-in logs to monitor authentication activity and investigate potential security issues.
Examples of information captured in sign-in logs include:
Try the M365Corner Microsoft 365 Reporting Tool â your DIY pack with 20+ out-of-the-box M365 reports for Users, Groups, and Teams.
Administrators can view sign-in logs through the Microsoft Entra Admin Center or retrieve them using Microsoft Graph PowerShell.
Follow these steps to view sign-in logs:
The portal allows administrators to quickly investigate authentication events and identify suspicious activity.
Sign-in logs can also be retrieved using Microsoft Graph PowerShell.
Retrieve sign-in logs:
Get-MgAuditLogSignIn
Retrieve selected properties:
Get-MgAuditLogSignIn | Select Id, AppDisplayName, AppId, ClientAppUsed
PowerShell allows administrators to export data, automate monitoring, and build security reports based on sign-in activity.
Delegated Permissions
| Feature | Description |
|---|---|
| Authentication Tracking | Records all user sign-in attempts |
| Application Visibility | Shows which application was accessed |
| Sign-in Status | Indicates whether authentication succeeded or failed |
| Detailed Event Data | Includes client app, device, and location information |
| PowerShell Access | Allows automated retrieval of sign-in logs |
Common use cases include:
Sign-in logs provide valuable insight into authentication activity and help organizations maintain secure access to Microsoft Entra resources.
Did You Know? Managing Microsoft 365 applications is even easier with automation. Try our Graph PowerShell scripts to automate tasks like generating reports, cleaning up inactive Teams, or assigning licenses efficiently.
Ready to get the most out of Microsoft 365 tools? Explore our free Microsoft 365 administration tools to simplify your administrative tasks and boost productivity.
© Created and Maintained by LEARNIT WELL SOLUTIONS. All Rights Reserved.