microsoft-graph-apimicrosoft-graph-security

https://graph.microsoft.com/beta/security/alerts Not returning any data: value: []


The new Microsoft Graph Security API should return data from different security providers, for now, Azure AD Identity Protection and Azure Security Center.

But https://graph.microsoft.com/beta/security/alerts is not returning any data (value: []).

We've tested the /security/alerts API from 2 different tenants. In both tenants, we have Azure AD Identity Protection and Azure Security Center Alerts. We can see those alerts from their respective blades in Azure Portal but /beta/security/alerts returns:

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#Security/alerts",
  "value": []
}

We're authenticated with proper permissions. We've tried it from the Graph Explorer and from both c# samples (desktop and asp.net)

Any ideas?


Solution

  • MS got in touch with me and solved the issue:

    https://techcommunity.microsoft.com/t5/Using-Microsoft-Graph-Security/https-graph-microsoft-com-beta-security-alerts-Not-returning-any/m-p/191898#M5

    Also thanks @jwes (also MS) for your assistance.