SOLVED

Calling principal does not have required MSGraph permissions AuditLog.Read.All

Occasional Contributor

I have a Runbook (Automation Accounts) parsing AAD SignIn and Audit logs, however, when it executes Get-AzureADAuditSignInLogs I'm getting the following error:

Get-AzureADAuditSignInLogs : Error occurred while executing GetAuditSignInLogs Code: Authentication_MSGraphPermissionMissing Message: Calling principal does not have required MSGraph permissions AuditLog.Read.All

The Managed Identity I'm using in Runbook has Security Reader role, but it doesn't seem to be enough?

1 Reply
best response confirmed by Alex_Rechs (Occasional Contributor)
Solution
It isn't, you should add/consent to the AuditLog.Read.All permission.