AuditLogsQuery-OneDrive.Read.All

AuditLogsQuery-OneDrive.Read.All is available as both an application and a delegated permission in Microsoft Graph. Application access requires admin consent. Delegated access requires admin consent. See Microsoft's permissions reference.

Permission details

Versionv126 Nov 2026
PropertyApplicationDelegated
Display nameRead audit logs data from OneDrive workloadRead audit logs data from OneDrive workload
DescriptionAllows the app to read and query audit logs from OneDrive workload, without a signed-in userAllows the app to read and query audit logs from OneDrive workload, on behalf of a signed-in user.
Permission ID8a169a81-841c-45fd-ad43-96aede8801a04a72c235-a50d-4870-b598-fd88fd1fa074
Admin consent requiredYesYes
Privilege levelLevel 3 · HighBroad or sensitive access that can significantly affect users or organizational data.Level 3 · HighBroad or sensitive access that can significantly affect users or organizational data.

Roles that support this permission

0 roles

No Microsoft Entra roles are mapped to this permission.

Request samples

8 samples
About these request samplesSome read operations use POST requests, such as searches that send query details in a request body. Samples and permission mappings are collated from multiple official Microsoft sources, including Microsoft Graph DevX and the PowerShell SDK. Differences between API versions and source metadata mean they may not always reflect actual endpoint behavior. Verify the current Microsoft Graph documentation before implementation.

application

  • GET
    /security/auditLog/queries
    PowerShellGet-MgSecurityAuditLogQuerySecurity
  • GET
    /security/auditLog/queries/{id}
    PowerShellGet-MgSecurityAuditLogQuerySecurity
  • GET
    /security/auditLog/queries/{id}/records
    PowerShellGet-MgSecurityAuditLogQueryRecordSecurity
  • POST
    /security/auditLog/queries
    PowerShellNew-MgSecurityAuditLogQuerySecurity

delegated

  • GET
    /security/auditLog/queries
    PowerShellGet-MgSecurityAuditLogQuerySecurity
  • GET
    /security/auditLog/queries/{id}
    PowerShellGet-MgSecurityAuditLogQuerySecurity
  • GET
    /security/auditLog/queries/{id}/records
    PowerShellGet-MgSecurityAuditLogQueryRecordSecurity
  • POST
    /security/auditLog/queries
    PowerShellNew-MgSecurityAuditLogQuerySecurity