Loading...

Microsoft Graph activity logs is now generally available

Microsoft Graph activity logs is now generally available

We’re excited to announce the general availability of Microsoft Graph activity logs! Microsoft Graph activity logs give you visibility into HTTP requests made to the Microsoft Graph service in your tenant. With rapidly growing security threats and an increasing number of attacks, this log data source allows you to perform security analysis, threat hunting, and monitor application activity in your tenant.  

 

Some common use cases include: 

  

  • Identifying the activities that a compromised user account conducted in your tenant. 
  • Building detections and behavioral analysis to identify suspicious or anomalous use of Microsoft Graph APIs, such as an application enumerating all users, or making probing requests with many 403 errors. 
  • Investigating unexpected or unnecessarily privileged assignments of application permissions. 
  • Identifying problematic or unexpected behaviors for client applications, such as extreme call volumes that cause throttling for the tenant. 

 

You’re currently able to collect sign-in logs to analyze authentication activity and audit logs to see changes to important resources. With Microsoft Graph activity logs, you can now investigate the complete picture of activity in your tenant – from token request in sign-in logs, to API request activity (reads, writes, and deletes) in Microsoft Graph activity logs, to ultimate resource changes in audit logs.

 

Figure 1: Microsoft Graph activity logs in Log Analytics.Figure 1: Microsoft Graph activity logs in Log Analytics.

 

 

We’re delighted to see many of you applying the Microsoft Graph activity logs (Preview) to awesome use cases. As we listened to your feedback on cost concerns, particularly for ingestion to Log Analytics, we’ve also enabled Log Transformation and Basic Log capabilities to help you scope your log ingestion to a smaller set if desired.

 

To illustrate working with these logs, we can look at some basic queries: 
 
Summarize applications and principals that have made requests to change or delete groups in the past day:

 

MicrosoftGraphActivityLogs 

| where TimeGenerated > ago(1d) 

| where RequestUri contains '/group' 

| where RequestMethod != "GET" 

| summarize UriCount=dcount(RequestUri) by AppId, UserId, ServicePrincipalId, ResponseStatusCode 

 

See recent requests that failed due to authorization:

 

MicrosoftGraphActivityLogs 

| where TimeGenerated > ago(1h) 

| where ResponseStatusCode == 401 or ResponseStatusCode == 403 

| project AppId, UserId, ServicePrincipalId, ResponseStatusCode, RequestUri, RequestMethod 

| limit 1000 

 

Identify resources queried or modified by potentially risky users:

Note: This query leverages Risky User data from Entra ID Protection.

 

MicrosoftGraphActivityLogs 

| where TimeGenerated > ago(30d) 

| join AADRiskyUsers on $left.UserId == $right.Id 

| extend resourcePath = replace_string(replace_string(replace_regex(tostring(parse_url(RequestUri).Path), @'(\/)+','/'),'v1.0/',''),'beta/','') 

| summarize RequestCount=dcount(RequestId) by UserId, RiskState, resourcePath,

RequestMethod, ResponseStatusCode 

 

Microsoft Graph activity logs are available through the Azure Monitor Logs integration of Microsoft Entra. Administrators of Microsoft Entra ID P1 or P2 tenants can configure the collection and storage destinations of Microsoft Graph activity logs through the diagnostic setting in the Entra portal. These settings allow you to configure the collection of the logs to a storage destination of your choice. The logs can be stored and queried in an Azure Log Analytics Workspace, archived in Azure Storage Accounts, or exported to other security information and event management (SIEM) tools through Azure Event Hubs. For logs collected in a Log Analytics Workspace, you can use the full set of Azure Monitor Logs features, such as a portal query experience, alerting, saved queries, and workbooks.   

 

Find out how to enable Microsoft Graph activity logs, sample queries, and more in our documentation. 

 

Kristopher Bash 

Product Manager, Microsoft Graph 
LinkedIn

 

 

Learn more about Microsoft Entra: 

Published on:

Learn more
Azure Active Directory Identity Blog articles
Azure Active Directory Identity Blog articles

Azure Active Directory Identity Blog articles

Share post:

Related posts

Microsoft 365 & Power Platform Call (Microsoft Speakers) – June 2nd, 2026 – Screenshot Summary

Call Highlights   SharePoint Quicklinks: Primary PnP Website: https://aka.ms/m365pnp Documentation & Guidance SharePoint Dev Videos Issues...

11 hours ago

Notice – Availability of Microsoft (no Teams) Suites in the EEA

This notice applies to customers in the European Economic Area (EEA) who purchase through Microsoft’s commercial licensing programs with a bil...

19 hours ago

Pay-as-you-go consumption-based meter for your extra SharePoint storage needs

Microsoft will introduce a pay-as-you-go billing model for SharePoint storage overages starting early June 2026. Admins can opt in to pay only...

19 hours ago

Plan for Change: Configure Microsoft 365 Apps policy settings in the Microsoft 365 Apps admin center

Starting with Intune’s June (2606) release, Microsoft 365 Apps policy settings will only be configurable in the Microsoft 365 Apps admin...

19 hours ago

Microsoft Teams: Breakout rooms now supported in meetings with up to 1,000 attendees

Microsoft Teams will support breakout rooms in meetings with up to 1,000 attendees, allowing up to 200 breakout rooms per meeting. This featur...

19 hours ago

Introducing dynamic tool discovery for MCP-based agents and connectors in Microsoft 365 Copilot

Microsoft 365 Copilot introduces dynamic tool discovery for MCP-based declarative agents and federated connectors, enabling runtime tool updat...

19 hours ago

Microsoft Teams: Enhanced bookable desk experience with Teams panel based desk devices

Microsoft Teams is enhancing desk booking on panel-based devices like Logi Dock Flex, allowing users and visitors to view and reserve desks di...

19 hours ago

Microsoft 365 Copilot: Get suggested edits from Copilot in your Copilot Pages

Microsoft 365 Copilot will introduce AI-generated suggested edits in Copilot Pages to improve content clarity and quality. Rolling out from Ju...

19 hours ago

Viva Learning: Academy support on mobile

Viva Learning Academies are now accessible in Microsoft Teams mobile, offering learners view-only access to organization-curated learning jour...

19 hours ago

Microsoft Viva: Viva Glint – Configure data retention policy for Viva Glint

Viva Glint will introduce a self-service data retention policy for survey data, allowing admins to set retention from 6 to 1000 months. Data i...

19 hours ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy