Share via

Fetching security incidents

Shubham Helaskar 10 Reputation points
2023-11-23T07:29:18.08+00:00

I have developed a script which fetch security incidents with alerts (https://graph.microsoft.com/v1.0/security/incidents?$expand=alerts) application role have SecurityIncident.Read.All, SecurityAlert.Read.All permission provided, but
Output of the running script: https://graph.microsoft.com/v1.0/security/incidents with response <Response [403]> and response content: {"error":{"code":"Forbidden","message":"Missing application roles. API required roles: SecurityIncident.Read.All,SecurityIncident.ReadWrite.All, application roles: SecurityEvents.Read.All,User.Read.All,AccessReview.Read.All.

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. AsithwMSFT 1,520 Reputation points Microsoft External Staff
    2023-12-03T21:26:58.99+00:00

    @Shubham Helaskar

    did you grant the permission?

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.