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
Microsoft Graph PowerShell SDK normal vs. Beta differences?
EnterpriseArchitect
6,386
Reputation points
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>')"
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
A cloud-based identity and access management service for securing user authentication and resource access
Microsoft Security | Microsoft Graph
Microsoft Security | Microsoft Graph
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Microsoft Security | Microsoft Entra | Other
Microsoft Security | Microsoft Entra | Other
Additional Microsoft Entra services and features related to identity, access, and network security
Answer accepted by question author
Andy David - MVP
160.3K
Reputation points MVP
Volunteer Moderator