Microsoft Graph PowerShell SDK normal vs. Beta differences?

EnterpriseArchitect 4,571 Reputation points
2024-01-30T13:40:35.55+00:00

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>')"
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,018 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
1,868 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,721 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 138.6K Reputation points MVP
    2024-01-30T15:29:12.49+00:00

    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


0 additional answers

Sort by: Most helpful