- Click Applications > App registrations in the side navigation bar.
- Click All applications.
- Click the name of your application.
- Click API permissions in the side toolbar.
- Click Add a permission.
- Click Microsoft Graph on the Request API permissions tab.
- Click Application permissions.
- Type security in the search bar.
- Tick:
- SecurityAlert.Read.All under SecurityAlert.
- SecurityIncident.Read.All under SecurityIncident.
- Click Add permissions.
- Check that your changes have been saved on the API permissions page.
- Click Grant admin consent for [organisation name] to give the application access – on behalf of the whole organisation – to the permissions you added.
- Click Yes.
Entra will change the permissions table to reflect the admin consent grant.