Forum Discussion

David_Trevor's avatar
David_Trevor
Copper Contributor
Aug 02, 2023
Solved

Get-MgBetaAuditLogSignIn with filter signInEventTypes does not return all results

In Azure Active Directory, one can check sign-in logs. I want to query the interactive user sign-ins via Powershell / via Graph.   I retrieve all events I can get and filter on a specific IP. I get...
  • David_Trevor's avatar
    Nov 06, 2023

    Resolved the issue by connecting to Graph with the following scopes:

    Connect-Graph -Scopes AuditLog.Read.All,Directory.Read.All

Resources