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?
MS got in touch with me and solved the issue:
Also thanks @jwes (also MS) for your assistance.