Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What's the difference between the normal cmdlet vs. the Beta graph cmdlet? because the below results are not the same count total.
Get-MgAuditLogDirectoryAudit -Filter "initiatedBy/app/displayName eq '<Object ID>'"
Get-MgBetaAuditLogDirectoryAudit -Filter "targetResources/any(tr: tr/id eq '<Object ID>')"
The beta module is not meant to be used in Prod, so the results could be unpredictable or not supported: https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-beta&preserve-view=true https://developer.microsoft.com/en-us/graph/changelog