Microsoft Entra ID Audit Logs record administrative activities and changes made within a Microsoft Entra tenant. These logs help administrators track actions such as user creation, role assignments, group changes, and application updates.
Audit logs provide visibility into who performed an action, what was changed, and when the change occurred, making them essential for monitoring administrative activity and maintaining security.
Examples of activities recorded in audit 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 and analyze audit logs using either the Microsoft Entra Admin Center or Microsoft Graph PowerShell.
Follow these steps to view audit logs:
The portal allows administrators to quickly review administrative actions performed within the tenant.
Audit logs can also be retrieved using Microsoft Graph PowerShell.
Example cmdlet:
Get-MgAuditLogDirectoryAudit
This cmdlet retrieves directory audit log entries from Microsoft Entra ID.
Administrators can further refine results using filters to analyze specific activities or time ranges.
Example:
Get-MgAuditLogDirectoryAudit| Select ActivityDisplayName, InitiatedBy, ActivityDateTime
Using PowerShell enables administrators to export logs, automate monitoring tasks, and integrate auditing into scripts.
Delegated Permissions
| Feature | Description |
|---|---|
| Activity Tracking | Records administrative actions performed in the tenant |
| Detailed Log Entries | Shows who performed the action and when |
| Filtering Capabilities | Allows filtering by activity type, user, or time range |
| Integration with PowerShell | Enables automated log retrieval and reporting |
| Security Visibility | Helps administrators monitor sensitive changes |
Entra ID audit logs are commonly used for:
These logs help organizations maintain visibility and accountability for administrative activities within Microsoft Entra.
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.