azureblog.co.uk
← cd ~/compare
// compare · graph permissions

SecurityEvents.Read.All vs SecurityEvents.ReadWrite.All

Two Microsoft Graph permissions that are easy to mix up, side by side.

In short: SecurityEvents.Read.All only reads. SecurityEvents.ReadWrite.All can also create, change or delete. Use the read-only one unless your app needs to write.

Permission typeSecurityEvents.Read.AllSecurityEvents.ReadWrite.All
ApplicationRead your organization’s security events
Allows the app to read your organization’s security events without a signed-in user.
Always needs admin consent · Medium risk
Read and update your organization’s security events
Allows the app to read your organization’s security events without a signed-in user. Also allows the app to update editable properties in security events.
Always needs admin consent · High risk
DelegatedRead your organization’s security events
Allows the app to read your organization’s security events on behalf of the signed-in user.
Needs admin consent · Low risk
Read and update your organization’s security events
Allows the app to read your organization’s security events on behalf of the signed-in user. Also allows the app to update editable properties in security events on behalf of the signed-in user.
Needs admin consent · High risk

Spotted something out of date or wrong? Tell us and we'll fix it.