From 42e67592befdf4d8c379dbadea7a3a79e970ebdd Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 07:28:16 +0000 Subject: [PATCH 1/9] Updated markdown help --- ...onfirm-MgBetaDirectoryObjectMemberGroup.md | 58 +++----------- ...nfirm-MgBetaDirectoryObjectMemberObject.md | 52 ++++--------- .../Get-MgBetaDirectoryObject.md | 48 ++---------- .../Get-MgBetaDirectoryObjectById.md | 54 ++----------- .../Get-MgBetaDirectoryObjectCount.md | 40 +++------- .../Get-MgBetaDirectoryObjectDelta.md | 75 +++--------------- .../Get-MgBetaDirectoryObjectMemberGroup.md | 54 ++----------- .../Get-MgBetaDirectoryObjectMemberObject.md | 52 ++++--------- ...et-MgBetaDirectoryObjectUserOwnedObject.md | 47 ++++------- .../Microsoft.Graph.Beta.DirectoryObjects.md | 21 +---- .../New-MgBetaDirectoryObject.md | 42 ++++------ .../Remove-MgBetaDirectoryObject.md | 40 ++-------- .../Test-MgBetaDirectoryObjectProperty.md | 77 ++++--------------- .../Update-MgBetaDirectoryObject.md | 44 ++++------- 14 files changed, 149 insertions(+), 555 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 4c974e1c341d..5f089413d472 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Confirm-MgBetaDirectoryObjectMemberGroup --- @@ -14,14 +14,11 @@ title: Confirm-MgBetaDirectoryObjectMemberGroup ## SYNOPSIS Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. -The specified object can be of one of the following types:\r- user\r- group\r- service principal\r- organizational contact\r- device\r- directory object This function is transitive. +The specified object can be of one of the following types:\r\n- user\r\n- group\r\n- service principal\r\n- organizational contact\r\n- device\r\n- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Confirm-MgDirectoryObjectMemberGroup](/powershell/module/Microsoft.Graph.DirectoryObjects/Confirm-MgDirectoryObjectMemberGroup?view=graph-powershell-1.0) - ## SYNTAX ### CheckExpanded (Default) @@ -72,23 +69,14 @@ This cmdlet has the following aliases, ## DESCRIPTION Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. -The specified object can be of one of the following types:\r- user\r- group\r- service principal\r- organizational contact\r- device\r- directory object This function is transitive. +The specified object can be of one of the following types:\r\n- user\r\n- group\r\n- service principal\r\n- organizational contact\r\n- device\r\n- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | - ## EXAMPLES -### Example 1: Check group memberships for a directory object -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -104,10 +92,6 @@ $params = @{ Confirm-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params -``` -This example will check group memberships for a directory object - - ## PARAMETERS ### -AdditionalProperties @@ -139,7 +123,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -237,7 +221,7 @@ HelpMessage: '' ### -GroupIds - +. ```yaml Type: System.String[] @@ -494,11 +478,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [GroupIds ]: -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -506,27 +490,5 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Confirm-MgBetaDirectoryObjectMemberGroup](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup) +- [](https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index 35794d4d8e4c..cc02be0d7274 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Confirm-MgBetaDirectoryObjectMemberObject --- @@ -15,9 +15,6 @@ title: Confirm-MgBetaDirectoryObjectMemberObject Invoke action checkMemberObjects -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Confirm-MgDirectoryObjectMemberObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Confirm-MgDirectoryObjectMemberObject?view=graph-powershell-1.0) - ## SYNTAX ### CheckExpanded (Default) @@ -69,13 +66,15 @@ This cmdlet has the following aliases, Invoke action checkMemberObjects -**Permissions** +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read, User.Read.All, User.ReadWrite.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | +{{ Add code here }} ## PARAMETERS @@ -108,7 +107,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -269,7 +268,7 @@ HelpMessage: '' ### -Ids - +. ```yaml Type: System.String[] @@ -463,11 +462,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [Ids ]: -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -475,27 +474,4 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Confirm-MgBetaDirectoryObjectMemberObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md index 55889f6eb27b..d61f7069ed44 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObject --- @@ -15,9 +15,6 @@ title: Get-MgBetaDirectoryObject Retrieve the properties and relationships of a directoryObject object. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObject?view=graph-powershell-1.0) - ## SYNTAX ### List (Default) @@ -58,27 +55,14 @@ This cmdlet has the following aliases, Retrieve the properties and relationships of a directoryObject object. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Directory.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Directory.Read.All, | - ## EXAMPLES -### Example 1: Code snippet -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects Get-MgBetaDirectoryObject -DirectoryObjectId $directoryObjectId -``` -This example shows how to use the Get-MgBetaDirectoryObject Cmdlet. - - ## PARAMETERS ### -All @@ -561,7 +545,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -569,27 +553,5 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Get-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject) +- [](https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index 9d88f0b354f5..cfb01962a471 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectbyid Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectById --- @@ -16,9 +16,6 @@ title: Get-MgBetaDirectoryObjectById Return the directory objects specified in a list of IDs. Some common uses for this function are to: -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectById](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectById?view=graph-powershell-1.0) - ## SYNTAX ### GetExpanded (Default) @@ -51,18 +48,9 @@ This cmdlet has the following aliases, Return the directory objects specified in a list of IDs. Some common uses for this function are to: -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Directory.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Directory.Read.All, | - ## EXAMPLES -### Example 1: Code snippet -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -82,10 +70,6 @@ types = @( Get-MgBetaDirectoryObjectById -BodyParameter $params -``` -This example shows how to use the Get-MgBetaDirectoryObjectById Cmdlet. - - ## PARAMETERS ### -AdditionalProperties @@ -111,7 +95,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -239,7 +223,7 @@ HelpMessage: '' ### -Ids - +. ```yaml Type: System.String[] @@ -345,7 +329,7 @@ HelpMessage: '' ### -Types - +. ```yaml Type: System.String[] @@ -416,7 +400,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [Ids ]: [Types ]: @@ -424,27 +408,5 @@ BODYPARAMETER ` [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectCount](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectCount?view=graph-powershell-1.0) - ## SYNTAX ### Get (Default) @@ -38,6 +35,16 @@ This cmdlet has the following aliases, Get the number of the resource +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 + +{{ Add code here }} + ## PARAMETERS ### -Break @@ -296,27 +303,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -- [Get-MgBetaDirectoryObjectCount](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectcount) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectcount) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md index 1d219153551b..9c4dc742552c 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectdelta Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectDelta --- @@ -16,9 +16,6 @@ title: Get-MgBetaDirectoryObjectDelta Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectDelta](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectDelta?view=graph-powershell-1.0) - ## SYNTAX ### Delta (Default) @@ -42,59 +39,31 @@ This cmdlet has the following aliases, Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Directory.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Directory.Read.All, | - ## EXAMPLES -### Example 1: Retrieve changes for a collection of users and groups -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" - -``` -This example will retrieve changes for a collection of users and groups - -### Example 2: Retrieve a collection of changes for a directory object +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -```powershell +### EXAMPLE 2 Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "id eq '87d349ed-44d7-43e1-9a83-5f2406dee5bd'" - -``` -This example will retrieve a collection of changes for a directory object +Get-MgBetaDirectoryObjectDelta -Filter "id eq '87d349ed-44d7-43e1-9a83-5f2406dee5bd'" -### Example 3: Retrieve changes to specific properties for a collection of users and groups - -```powershell +### EXAMPLE 3 Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" -``` -This example will retrieve changes to specific properties for a collection of users and groups - -### Example 4: Retrieve specific properties only if they changed for a collection of users and groups - -```powershell +### EXAMPLE 4 Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" - -``` -This example will retrieve specific properties only if they changed for a collection of users and groups - +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" ## PARAMETERS @@ -506,27 +475,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -- [Get-MgBetaDirectoryObjectDelta](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectdelta) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectdelta) +- [](https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md index c5043c9c2722..6a88450cad35 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectMemberGroup --- @@ -19,9 +19,6 @@ This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectMemberGroup](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectMemberGroup?view=graph-powershell-1.0) - ## SYNTAX ### GetExpanded (Default) @@ -76,18 +73,9 @@ This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Application.Read.All, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, | - ## EXAMPLES -### Example 1: Check group memberships for a directory object -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -97,10 +85,6 @@ $params = @{ Get-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params -``` -This example will check group memberships for a directory object - - ## PARAMETERS ### -AdditionalProperties @@ -132,7 +116,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -406,7 +390,7 @@ HelpMessage: '' ### -SecurityEnabledOnly - +. ```yaml Type: System.Management.Automation.SwitchParameter @@ -487,11 +471,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [SecurityEnabledOnly ]: -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -499,27 +483,5 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Get-MgBetaDirectoryObjectMemberGroup](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup) +- [](https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 8ccdbbe00452..74431fd76c36 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectMemberObject --- @@ -15,9 +15,6 @@ title: Get-MgBetaDirectoryObjectMemberObject Invoke action getMemberObjects -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectMemberObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectMemberObject?view=graph-powershell-1.0) - ## SYNTAX ### GetExpanded (Default) @@ -69,13 +66,15 @@ This cmdlet has the following aliases, Invoke action getMemberObjects -**Permissions** +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read, User.Read.All, User.ReadWrite.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | +{{ Add code here }} ## PARAMETERS @@ -108,7 +107,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -382,7 +381,7 @@ HelpMessage: '' ### -SecurityEnabledOnly - +. ```yaml Type: System.Management.Automation.SwitchParameter @@ -463,11 +462,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [SecurityEnabledOnly ]: -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -475,27 +474,4 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Get-MgBetaDirectoryObjectMemberObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md index beba5529e816..8cf750f5c1d6 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectuserownedobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectUserOwnedObject --- @@ -48,6 +48,16 @@ This cmdlet has the following aliases, Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 + +{{ Add code here }} + ## PARAMETERS ### -AdditionalProperties @@ -73,7 +83,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -286,7 +296,7 @@ HelpMessage: '' ### -Type - +. ```yaml Type: System.String @@ -307,7 +317,7 @@ HelpMessage: '' ### -UserId - +. ```yaml Type: System.String @@ -378,7 +388,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [Type ]: [UserId ]: @@ -386,28 +396,5 @@ BODYPARAMETER ` [!NOTE] -> To view the v1.0 release of this cmdlet, view [New-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/New-MgDirectoryObject?view=graph-powershell-1.0) - ## SYNTAX ### CreateExpanded (Default) @@ -47,6 +44,16 @@ This cmdlet has the following aliases, Add new entity to directoryObjects +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 + +{{ Add code here }} + ## PARAMETERS ### -AdditionalProperties @@ -379,7 +386,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: directoryObject +BODYPARAMETER : directoryObject [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. @@ -389,27 +396,4 @@ Always null when the object hasn't been deleted. ## RELATED LINKS -- [New-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/new-mgbetadirectoryobject) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/new-mgbetadirectoryobject) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md index 87601ce06386..fdf50c75dcc2 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Remove-MgBetaDirectoryObject --- @@ -15,9 +15,6 @@ title: Remove-MgBetaDirectoryObject Delete a directory object, for example, a group, user, application, or service principal. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Remove-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Remove-MgDirectoryObject?view=graph-powershell-1.0) - ## SYNTAX ### Delete (Default) @@ -48,18 +45,13 @@ This cmdlet has the following aliases, Delete a directory object, for example, a group, user, application, or service principal. ## EXAMPLES -### Example 1: Code snippet -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects Remove-MgBetaDirectoryObject -DirectoryObjectId $directoryObjectId -``` -This example shows how to use the Remove-MgBetaDirectoryObject Cmdlet. - - ## PARAMETERS ### -Break @@ -390,7 +382,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -398,27 +390,5 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Remove-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject) +- [](https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md index d4a1c804b90c..68dd7fe2fed2 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/test-mgbetadirectoryobjectproperty Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/21/2026 PlatyPS schema version: 2024-05-01 title: Test-MgBetaDirectoryObjectProperty --- @@ -16,16 +16,13 @@ title: Test-MgBetaDirectoryObjectProperty Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. -The following validations are performed for the display name and mail nickname properties:\r1. -Validate the prefix and suffix naming policy\r2. -Validate the custom banned words policy\r3. +The following validations are performed for the display name and mail nickname properties:\r\n1. +Validate the prefix and suffix naming policy\r\n2. +Validate the custom banned words policy\r\n3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Test-MgDirectoryObjectProperty](/powershell/module/Microsoft.Graph.DirectoryObjects/Test-MgDirectoryObjectProperty?view=graph-powershell-1.0) - ## SYNTAX ### ValidateExpanded (Default) @@ -58,25 +55,16 @@ This cmdlet has the following aliases, Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. -The following validations are performed for the display name and mail nickname properties:\r1. -Validate the prefix and suffix naming policy\r2. -Validate the custom banned words policy\r3. +The following validations are performed for the display name and mail nickname properties:\r\n1. +Validate the prefix and suffix naming policy\r\n2. +Validate the custom banned words policy\r\n3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Group.Read.All, Directory.Read.All, Directory.ReadWrite.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Group.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.ReadWrite.All, | - ## EXAMPLES -### Example 1: A successful validation request -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -89,12 +77,7 @@ $params = @{ Test-MgBetaDirectoryObjectProperty -BodyParameter $params -``` -This example will a successful validation request - -### Example 2: An unsuccessful validation request - -```powershell +### EXAMPLE 2 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -107,10 +90,6 @@ $params = @{ Test-MgBetaDirectoryObjectProperty -BodyParameter $params -``` -This example will an unsuccessful validation request - - ## PARAMETERS ### -AdditionalProperties @@ -136,7 +115,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -201,7 +180,7 @@ HelpMessage: '' ### -DisplayName - +. ```yaml Type: System.String @@ -222,7 +201,7 @@ HelpMessage: '' ### -EntityType - +. ```yaml Type: System.String @@ -306,7 +285,7 @@ HelpMessage: '' ### -MailNickname - +. ```yaml Type: System.String @@ -327,7 +306,7 @@ HelpMessage: '' ### -OnBehalfOfUserId - +. ```yaml Type: System.String @@ -504,7 +483,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [DisplayName ]: [EntityType ]: @@ -514,27 +493,5 @@ BODYPARAMETER ` [!NOTE] -> To view the v1.0 release of this cmdlet, view [Update-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Update-MgDirectoryObject?view=graph-powershell-1.0) - ## SYNTAX ### UpdateExpanded (Default) @@ -69,6 +66,16 @@ This cmdlet has the following aliases, Update entity in directoryObjects +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 + +{{ Add code here }} + ## PARAMETERS ### -AdditionalProperties @@ -484,14 +491,14 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: directoryObject +BODYPARAMETER : directoryObject [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -499,27 +506,4 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Update-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/update-mgbetadirectoryobject) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/update-mgbetadirectoryobject) From d5387b8ee1331116fba981fe3f613b0370855499 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 07:28:21 +0000 Subject: [PATCH 2/9] Escaped disallowed html tags --- ...onfirm-MgBetaDirectoryObjectMemberGroup.md | 30 +++++++++++++--- ...nfirm-MgBetaDirectoryObjectMemberObject.md | 26 ++++++++++++-- .../Get-MgBetaDirectoryObject.md | 24 ++++++++++++- .../Get-MgBetaDirectoryObjectById.md | 24 ++++++++++++- .../Get-MgBetaDirectoryObjectCount.md | 22 ++++++++++++ .../Get-MgBetaDirectoryObjectDelta.md | 22 ++++++++++++ .../Get-MgBetaDirectoryObjectMemberGroup.md | 26 ++++++++++++-- .../Get-MgBetaDirectoryObjectMemberObject.md | 26 ++++++++++++-- ...et-MgBetaDirectoryObjectUserOwnedObject.md | 24 ++++++++++++- .../Microsoft.Graph.Beta.DirectoryObjects.md | 19 ++++++++++ .../New-MgBetaDirectoryObject.md | 24 ++++++++++++- .../Remove-MgBetaDirectoryObject.md | 24 ++++++++++++- .../Test-MgBetaDirectoryObjectProperty.md | 36 +++++++++++++++---- .../Update-MgBetaDirectoryObject.md | 26 ++++++++++++-- 14 files changed, 329 insertions(+), 24 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 5f089413d472..7fb9f57912d7 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -14,7 +14,7 @@ title: Confirm-MgBetaDirectoryObjectMemberGroup ## SYNOPSIS Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. -The specified object can be of one of the following types:\r\n- user\r\n- group\r\n- service principal\r\n- organizational contact\r\n- device\r\n- directory object This function is transitive. +The specified object can be of one of the following types:\r- user\r- group\r- service principal\r- organizational contact\r- device\r- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -69,7 +69,7 @@ This cmdlet has the following aliases, ## DESCRIPTION Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. -The specified object can be of one of the following types:\r\n- user\r\n- group\r\n- service principal\r\n- organizational contact\r\n- device\r\n- directory object This function is transitive. +The specified object can be of one of the following types:\r- user\r- group\r- service principal\r- organizational contact\r- device\r- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. @@ -478,11 +478,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER : . +BODYPARAMETER ``: . [(Any) ]: This indicates any property can be added to this object. [GroupIds ]: -INPUTOBJECT : Identity Parameter +INPUTOBJECT ``: Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -492,3 +492,25 @@ INPUTOBJECT : Identity Parameter - [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup) - [](https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index cc02be0d7274..17c431daeab4 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -462,11 +462,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER : . +BODYPARAMETER ``: . [(Any) ]: This indicates any property can be added to this object. [Ids ]: -INPUTOBJECT : Identity Parameter +INPUTOBJECT ``: Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -475,3 +475,25 @@ INPUTOBJECT : Identity Parameter ## RELATED LINKS - [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md index d61f7069ed44..f638f7c28e65 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md @@ -545,7 +545,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +INPUTOBJECT ``: Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -555,3 +555,25 @@ INPUTOBJECT : Identity Parameter - [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject) - [](https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index cfb01962a471..950b347ec432 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -400,7 +400,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER : . +BODYPARAMETER ``: . [(Any) ]: This indicates any property can be added to this object. [Ids ]: [Types ]: @@ -410,3 +410,25 @@ BODYPARAMETER : . +BODYPARAMETER ``: . [(Any) ]: This indicates any property can be added to this object. [SecurityEnabledOnly ]: -INPUTOBJECT : Identity Parameter +INPUTOBJECT ``: Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -485,3 +485,25 @@ INPUTOBJECT : Identity Parameter - [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup) - [](https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 74431fd76c36..3ad2944c2449 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -462,11 +462,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER : . +BODYPARAMETER ``: . [(Any) ]: This indicates any property can be added to this object. [SecurityEnabledOnly ]: -INPUTOBJECT : Identity Parameter +INPUTOBJECT ``: Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -475,3 +475,25 @@ INPUTOBJECT : Identity Parameter ## RELATED LINKS - [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md index 8cf750f5c1d6..30d3b29e8feb 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md @@ -388,7 +388,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER : . +BODYPARAMETER ``: . [(Any) ]: This indicates any property can be added to this object. [Type ]: [UserId ]: @@ -398,3 +398,25 @@ BODYPARAMETER : directoryObject +BODYPARAMETER ``: directoryObject [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. @@ -397,3 +397,25 @@ Always null when the object hasn't been deleted. ## RELATED LINKS - [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/new-mgbetadirectoryobject) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md index fdf50c75dcc2..ba4b506f001c 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md @@ -382,7 +382,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +INPUTOBJECT ``: Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -392,3 +392,25 @@ INPUTOBJECT : Identity Parameter - [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject) - [](https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-beta) + + + + + + + + + + + + + + + + + + + + + + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md index 68dd7fe2fed2..4be7c7ae0abe 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md @@ -16,9 +16,9 @@ title: Test-MgBetaDirectoryObjectProperty Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. -The following validations are performed for the display name and mail nickname properties:\r\n1. -Validate the prefix and suffix naming policy\r\n2. -Validate the custom banned words policy\r\n3. +The following validations are performed for the display name and mail nickname properties:\r1. +Validate the prefix and suffix naming policy\r2. +Validate the custom banned words policy\r3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. @@ -55,9 +55,9 @@ This cmdlet has the following aliases, Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. -The following validations are performed for the display name and mail nickname properties:\r\n1. -Validate the prefix and suffix naming policy\r\n2. -Validate the custom banned words policy\r\n3. +The following validations are performed for the display name and mail nickname properties:\r1. +Validate the prefix and suffix naming policy\r2. +Validate the custom banned words policy\r3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. @@ -483,7 +483,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER : . +BODYPARAMETER ``: . [(Any) ]: This indicates any property can be added to this object. [DisplayName ]: [EntityType ]: @@ -495,3 +495,25 @@ BODYPARAMETER : directoryObject +BODYPARAMETER ``: directoryObject [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. -INPUTOBJECT : Identity Parameter +INPUTOBJECT ``: Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -507,3 +507,25 @@ INPUTOBJECT : Identity Parameter ## RELATED LINKS - [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/update-mgbetadirectoryobject) + + + + + + + + + + + + + + + + + + + + + + From 40c223b8bdb1fe906f93a1eb5b0b83010e805748 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 07:41:01 +0000 Subject: [PATCH 3/9] Inserted permissions Table --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 8 ++++++++ .../Confirm-MgBetaDirectoryObjectMemberObject.md | 8 ++++++++ .../Get-MgBetaDirectoryObject.md | 8 ++++++++ .../Get-MgBetaDirectoryObjectById.md | 8 ++++++++ .../Get-MgBetaDirectoryObjectDelta.md | 8 ++++++++ .../Get-MgBetaDirectoryObjectMemberGroup.md | 8 ++++++++ .../Get-MgBetaDirectoryObjectMemberObject.md | 8 ++++++++ .../Test-MgBetaDirectoryObjectProperty.md | 8 ++++++++ 8 files changed, 64 insertions(+) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 7fb9f57912d7..e87dad1ba256 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -74,6 +74,14 @@ You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. +**Permissions** + +| Permission type | Permissions (from least to most privileged) | +| --------------- | ------------------------------------------ | +| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | +| Delegated (personal Microsoft account) | Not supported | +| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | + ## EXAMPLES ### EXAMPLE 1 diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index 17c431daeab4..0fb614253362 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -66,6 +66,14 @@ This cmdlet has the following aliases, Invoke action checkMemberObjects +**Permissions** + +| Permission type | Permissions (from least to most privileged) | +| --------------- | ------------------------------------------ | +| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read, User.Read.All, User.ReadWrite.All, | +| Delegated (personal Microsoft account) | Not supported | +| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | + ## EXAMPLES ### EXAMPLE 1 diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md index f638f7c28e65..e92b252361c1 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md @@ -55,6 +55,14 @@ This cmdlet has the following aliases, Retrieve the properties and relationships of a directoryObject object. +**Permissions** + +| Permission type | Permissions (from least to most privileged) | +| --------------- | ------------------------------------------ | +| Delegated (work or school account) | Directory.Read.All, | +| Delegated (personal Microsoft account) | Not supported | +| Application | Directory.Read.All, | + ## EXAMPLES ### EXAMPLE 1 diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index 950b347ec432..97e63d9e8ad1 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -48,6 +48,14 @@ This cmdlet has the following aliases, Return the directory objects specified in a list of IDs. Some common uses for this function are to: +**Permissions** + +| Permission type | Permissions (from least to most privileged) | +| --------------- | ------------------------------------------ | +| Delegated (work or school account) | Directory.Read.All, | +| Delegated (personal Microsoft account) | Not supported | +| Application | Directory.Read.All, | + ## EXAMPLES ### EXAMPLE 1 diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md index 5324182ec77f..d85f30ec5044 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md @@ -39,6 +39,14 @@ This cmdlet has the following aliases, Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +**Permissions** + +| Permission type | Permissions (from least to most privileged) | +| --------------- | ------------------------------------------ | +| Delegated (work or school account) | Directory.Read.All, | +| Delegated (personal Microsoft account) | Not supported | +| Application | Directory.Read.All, | + ## EXAMPLES ### EXAMPLE 1 diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md index 8fe8ff80717a..b3d1cc25965f 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md @@ -73,6 +73,14 @@ This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. +**Permissions** + +| Permission type | Permissions (from least to most privileged) | +| --------------- | ------------------------------------------ | +| Delegated (work or school account) | Application.Read.All, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, | +| Delegated (personal Microsoft account) | Not supported | +| Application | Application.Read.All, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, | + ## EXAMPLES ### EXAMPLE 1 diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 3ad2944c2449..54a1642396fa 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -66,6 +66,14 @@ This cmdlet has the following aliases, Invoke action getMemberObjects +**Permissions** + +| Permission type | Permissions (from least to most privileged) | +| --------------- | ------------------------------------------ | +| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read, User.Read.All, User.ReadWrite.All, | +| Delegated (personal Microsoft account) | Not supported | +| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | + ## EXAMPLES ### EXAMPLE 1 diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md index 4be7c7ae0abe..97ab8229d715 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md @@ -62,6 +62,14 @@ Validate the mail nickname is unique This API returns with the first failure enc If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. +**Permissions** + +| Permission type | Permissions (from least to most privileged) | +| --------------- | ------------------------------------------ | +| Delegated (work or school account) | Group.Read.All, Directory.Read.All, Directory.ReadWrite.All, | +| Delegated (personal Microsoft account) | Not supported | +| Application | Group.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.ReadWrite.All, | + ## EXAMPLES ### EXAMPLE 1 From b10ac451191ae28ca872d8de5a7b855715af44d7 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 07:41:10 +0000 Subject: [PATCH 4/9] Updated metadata parameters --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 3 +++ .../Confirm-MgBetaDirectoryObjectMemberObject.md | 3 +++ .../Get-MgBetaDirectoryObject.md | 3 +++ .../Get-MgBetaDirectoryObjectById.md | 3 +++ .../Get-MgBetaDirectoryObjectCount.md | 3 +++ .../Get-MgBetaDirectoryObjectDelta.md | 3 +++ .../Get-MgBetaDirectoryObjectMemberGroup.md | 3 +++ .../Get-MgBetaDirectoryObjectMemberObject.md | 3 +++ .../New-MgBetaDirectoryObject.md | 3 +++ .../Remove-MgBetaDirectoryObject.md | 3 +++ .../Test-MgBetaDirectoryObjectProperty.md | 3 +++ .../Update-MgBetaDirectoryObject.md | 3 +++ 12 files changed, 36 insertions(+) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index e87dad1ba256..56c5156d0e3c 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -19,6 +19,9 @@ You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Confirm-MgDirectoryObjectMemberGroup](/powershell/module/Microsoft.Graph.DirectoryObjects/Confirm-MgDirectoryObjectMemberGroup?view=graph-powershell-1.0) + ## SYNTAX ### CheckExpanded (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index 0fb614253362..f291d3e6dec2 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -15,6 +15,9 @@ title: Confirm-MgBetaDirectoryObjectMemberObject Invoke action checkMemberObjects +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Confirm-MgDirectoryObjectMemberObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Confirm-MgDirectoryObjectMemberObject?view=graph-powershell-1.0) + ## SYNTAX ### CheckExpanded (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md index e92b252361c1..745c43c79970 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md @@ -15,6 +15,9 @@ title: Get-MgBetaDirectoryObject Retrieve the properties and relationships of a directoryObject object. +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObject?view=graph-powershell-1.0) + ## SYNTAX ### List (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index 97e63d9e8ad1..30e42579f123 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -16,6 +16,9 @@ title: Get-MgBetaDirectoryObjectById Return the directory objects specified in a list of IDs. Some common uses for this function are to: +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectById](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectById?view=graph-powershell-1.0) + ## SYNTAX ### GetExpanded (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md index c385e225a457..0c0cf84d884e 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md @@ -15,6 +15,9 @@ title: Get-MgBetaDirectoryObjectCount Get the number of the resource +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectCount](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectCount?view=graph-powershell-1.0) + ## SYNTAX ### Get (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md index d85f30ec5044..7dde62663c31 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md @@ -16,6 +16,9 @@ title: Get-MgBetaDirectoryObjectDelta Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectDelta](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectDelta?view=graph-powershell-1.0) + ## SYNTAX ### Delta (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md index b3d1cc25965f..96510a13daaa 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md @@ -19,6 +19,9 @@ This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectMemberGroup](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectMemberGroup?view=graph-powershell-1.0) + ## SYNTAX ### GetExpanded (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 54a1642396fa..16d3312c6de5 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -15,6 +15,9 @@ title: Get-MgBetaDirectoryObjectMemberObject Invoke action getMemberObjects +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectMemberObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectMemberObject?view=graph-powershell-1.0) + ## SYNTAX ### GetExpanded (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md index 91b1d9b8cbc5..b6cbd4d975bd 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md @@ -15,6 +15,9 @@ title: New-MgBetaDirectoryObject Add new entity to directoryObjects +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [New-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/New-MgDirectoryObject?view=graph-powershell-1.0) + ## SYNTAX ### CreateExpanded (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md index ba4b506f001c..3af042c97817 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md @@ -15,6 +15,9 @@ title: Remove-MgBetaDirectoryObject Delete a directory object, for example, a group, user, application, or service principal. +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Remove-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Remove-MgDirectoryObject?view=graph-powershell-1.0) + ## SYNTAX ### Delete (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md index 97ab8229d715..d77a7a1aeee8 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md @@ -23,6 +23,9 @@ Validate the mail nickname is unique This API returns with the first failure enc If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Test-MgDirectoryObjectProperty](/powershell/module/Microsoft.Graph.DirectoryObjects/Test-MgDirectoryObjectProperty?view=graph-powershell-1.0) + ## SYNTAX ### ValidateExpanded (Default) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md index 7d4dd5466b49..dcc41ca10db9 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md @@ -15,6 +15,9 @@ title: Update-MgBetaDirectoryObject Update entity in directoryObjects +> [!NOTE] +> To view the v1.0 release of this cmdlet, view [Update-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Update-MgDirectoryObject?view=graph-powershell-1.0) + ## SYNTAX ### UpdateExpanded (Default) From 8ea3b375e4975534c3871a45495fdc4f5355d9fa Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 07:41:16 +0000 Subject: [PATCH 5/9] Repaired examples and descriptions --- ...onfirm-MgBetaDirectoryObjectMemberGroup.md | 7 +++- .../Get-MgBetaDirectoryObject.md | 7 +++- .../Get-MgBetaDirectoryObjectById.md | 7 +++- .../Get-MgBetaDirectoryObjectDelta.md | 36 ++++++++++++++----- .../Get-MgBetaDirectoryObjectMemberGroup.md | 7 +++- ...et-MgBetaDirectoryObjectUserOwnedObject.md | 11 +----- .../Remove-MgBetaDirectoryObject.md | 7 +++- .../Test-MgBetaDirectoryObjectProperty.md | 14 ++++++-- 8 files changed, 71 insertions(+), 25 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 56c5156d0e3c..61a4b91e87f1 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -86,8 +86,9 @@ Because Microsoft 365 groups cannot contain other groups, membership in a Micros | Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | ## EXAMPLES +### Example 1: Check group memberships for a directory object -### EXAMPLE 1 +```powershell Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -103,6 +104,10 @@ $params = @{ Confirm-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params +``` +This example will check group memberships for a directory object + + ## PARAMETERS ### -AdditionalProperties diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md index 745c43c79970..acb97d6d2a8b 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md @@ -67,13 +67,18 @@ Retrieve the properties and relationships of a directoryObject object. | Application | Directory.Read.All, | ## EXAMPLES +### Example 1: Code snippet -### EXAMPLE 1 +```powershell Import-Module Microsoft.Graph.Beta.DirectoryObjects Get-MgBetaDirectoryObject -DirectoryObjectId $directoryObjectId +``` +This example shows how to use the Get-MgBetaDirectoryObject Cmdlet. + + ## PARAMETERS ### -All diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index 30e42579f123..683370300853 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -60,8 +60,9 @@ Some common uses for this function are to: | Application | Directory.Read.All, | ## EXAMPLES +### Example 1: Code snippet -### EXAMPLE 1 +```powershell Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -81,6 +82,10 @@ types = @( Get-MgBetaDirectoryObjectById -BodyParameter $params +``` +This example shows how to use the Get-MgBetaDirectoryObjectById Cmdlet. + + ## PARAMETERS ### -AdditionalProperties diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md index 7dde62663c31..18ba505253c9 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md @@ -51,30 +51,50 @@ For more information, see Use delta query to track changes in Microsoft Graph da | Application | Directory.Read.All, | ## EXAMPLES +### Example 1: Retrieve changes for a collection of users and groups -### EXAMPLE 1 +```powershell Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -### EXAMPLE 2 +``` +This example will retrieve changes for a collection of users and groups + +### Example 2: Retrieve a collection of changes for a directory object + +```powershell Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "id eq '87d349ed-44d7-43e1-9a83-5f2406dee5bd'" +Get-MgBetaDirectoryObjectDelta -Filter "id eq '87d349ed-44d7-43e1-9a83-5f2406dee5bd'" + +``` +This example will retrieve a collection of changes for a directory object + +### Example 3: Retrieve changes to specific properties for a collection of users and groups -### EXAMPLE 3 +```powershell Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" -### EXAMPLE 4 +``` +This example will retrieve changes to specific properties for a collection of users and groups + +### Example 4: Retrieve specific properties only if they changed for a collection of users and groups + +```powershell Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" + +``` +This example will retrieve specific properties only if they changed for a collection of users and groups + ## PARAMETERS diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md index 96510a13daaa..f7443852f33d 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md @@ -85,8 +85,9 @@ If you get the DirectoryResultSizeLimitExceeded error code, use the List group t | Application | Application.Read.All, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, | ## EXAMPLES +### Example 1: Check group memberships for a directory object -### EXAMPLE 1 +```powershell Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -96,6 +97,10 @@ $params = @{ Get-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params +``` +This example will check group memberships for a directory object + + ## PARAMETERS ### -AdditionalProperties diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md index 30d3b29e8feb..8dd1606056b9 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md @@ -48,16 +48,6 @@ This cmdlet has the following aliases, Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. -## EXAMPLES - -### EXAMPLE 1 - -{{ Add code here }} - -### EXAMPLE 2 - -{{ Add code here }} - ## PARAMETERS ### -AdditionalProperties @@ -418,5 +408,6 @@ BODYPARAMETER ` Date: Fri, 21 Aug 2026 07:41:19 +0000 Subject: [PATCH 6/9] Remove boiler plate code injected by Autorest --- .../Confirm-MgBetaDirectoryObjectMemberObject.md | 11 +---------- .../Get-MgBetaDirectoryObjectCount.md | 11 +---------- .../Get-MgBetaDirectoryObjectMemberObject.md | 11 +---------- .../New-MgBetaDirectoryObject.md | 11 +---------- .../Update-MgBetaDirectoryObject.md | 11 +---------- 5 files changed, 5 insertions(+), 50 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index f291d3e6dec2..2c549e20c685 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -77,16 +77,6 @@ Invoke action checkMemberObjects | Delegated (personal Microsoft account) | Not supported | | Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | -## EXAMPLES - -### EXAMPLE 1 - -{{ Add code here }} - -### EXAMPLE 2 - -{{ Add code here }} - ## PARAMETERS ### -AdditionalProperties @@ -506,5 +496,6 @@ INPUTOBJECT ``: Identity Parameter + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md index 0c0cf84d884e..62c033587d1d 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md @@ -38,16 +38,6 @@ This cmdlet has the following aliases, Get the number of the resource -## EXAMPLES - -### EXAMPLE 1 - -{{ Add code here }} - -### EXAMPLE 2 - -{{ Add code here }} - ## PARAMETERS ### -Break @@ -327,5 +317,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 16d3312c6de5..568a5f57f1af 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -77,16 +77,6 @@ Invoke action getMemberObjects | Delegated (personal Microsoft account) | Not supported | | Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | -## EXAMPLES - -### EXAMPLE 1 - -{{ Add code here }} - -### EXAMPLE 2 - -{{ Add code here }} - ## PARAMETERS ### -AdditionalProperties @@ -506,5 +496,6 @@ INPUTOBJECT ``: Identity Parameter + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md index b6cbd4d975bd..898dae89db82 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md @@ -47,16 +47,6 @@ This cmdlet has the following aliases, Add new entity to directoryObjects -## EXAMPLES - -### EXAMPLE 1 - -{{ Add code here }} - -### EXAMPLE 2 - -{{ Add code here }} - ## PARAMETERS ### -AdditionalProperties @@ -420,5 +410,6 @@ Always null when the object hasn't been deleted. + diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md index dcc41ca10db9..11ff10adacf1 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md @@ -69,16 +69,6 @@ This cmdlet has the following aliases, Update entity in directoryObjects -## EXAMPLES - -### EXAMPLE 1 - -{{ Add code here }} - -### EXAMPLE 2 - -{{ Add code here }} - ## PARAMETERS ### -AdditionalProperties @@ -530,5 +520,6 @@ INPUTOBJECT ``: Identity Parameter + From 60ef6f22aa3fd90e506c7e36c21242b79109b82a Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 07:41:22 +0000 Subject: [PATCH 7/9] Removed invalid full stops from the beginning of lines --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 4 ++-- .../Confirm-MgBetaDirectoryObjectMemberObject.md | 4 ++-- .../Get-MgBetaDirectoryObjectById.md | 6 +++--- .../Get-MgBetaDirectoryObjectMemberGroup.md | 4 ++-- .../Get-MgBetaDirectoryObjectMemberObject.md | 4 ++-- .../Get-MgBetaDirectoryObjectUserOwnedObject.md | 6 +++--- .../Test-MgBetaDirectoryObjectProperty.md | 10 +++++----- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 61a4b91e87f1..e62d261701f4 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -139,7 +139,7 @@ HelpMessage: '' ### -BodyParameter -. + To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -237,7 +237,7 @@ HelpMessage: '' ### -GroupIds -. + ```yaml Type: System.String[] diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index 2c549e20c685..3ee6dd46f3b2 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -108,7 +108,7 @@ HelpMessage: '' ### -BodyParameter -. + To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -269,7 +269,7 @@ HelpMessage: '' ### -Ids -. + ```yaml Type: System.String[] diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index 683370300853..072ef13fc893 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -111,7 +111,7 @@ HelpMessage: '' ### -BodyParameter -. + To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -239,7 +239,7 @@ HelpMessage: '' ### -Ids -. + ```yaml Type: System.String[] @@ -345,7 +345,7 @@ HelpMessage: '' ### -Types -. + ```yaml Type: System.String[] diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md index f7443852f33d..db6ab5627ca2 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md @@ -132,7 +132,7 @@ HelpMessage: '' ### -BodyParameter -. + To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -406,7 +406,7 @@ HelpMessage: '' ### -SecurityEnabledOnly -. + ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 568a5f57f1af..16aac70a9970 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -108,7 +108,7 @@ HelpMessage: '' ### -BodyParameter -. + To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -382,7 +382,7 @@ HelpMessage: '' ### -SecurityEnabledOnly -. + ```yaml Type: System.Management.Automation.SwitchParameter diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md index 8dd1606056b9..0f413c1a8dd6 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md @@ -73,7 +73,7 @@ HelpMessage: '' ### -BodyParameter -. + To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -286,7 +286,7 @@ HelpMessage: '' ### -Type -. + ```yaml Type: System.String @@ -307,7 +307,7 @@ HelpMessage: '' ### -UserId -. + ```yaml Type: System.String diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md index 260828801848..7d72c4e24f02 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md @@ -136,7 +136,7 @@ HelpMessage: '' ### -BodyParameter -. + To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -201,7 +201,7 @@ HelpMessage: '' ### -DisplayName -. + ```yaml Type: System.String @@ -222,7 +222,7 @@ HelpMessage: '' ### -EntityType -. + ```yaml Type: System.String @@ -306,7 +306,7 @@ HelpMessage: '' ### -MailNickname -. + ```yaml Type: System.String @@ -327,7 +327,7 @@ HelpMessage: '' ### -OnBehalfOfUserId -. + ```yaml Type: System.String From 215872588231bd9ddd6817fb6f9fd3958635a64d Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 07:41:36 +0000 Subject: [PATCH 8/9] Corrected related link to conform to the new platyps rules --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 4 ++-- .../Confirm-MgBetaDirectoryObjectMemberObject.md | 2 +- .../Get-MgBetaDirectoryObject.md | 4 ++-- .../Get-MgBetaDirectoryObjectById.md | 4 ++-- .../Get-MgBetaDirectoryObjectCount.md | 2 +- .../Get-MgBetaDirectoryObjectDelta.md | 4 ++-- .../Get-MgBetaDirectoryObjectMemberGroup.md | 4 ++-- .../Get-MgBetaDirectoryObjectMemberObject.md | 2 +- .../Get-MgBetaDirectoryObjectUserOwnedObject.md | 4 ++-- .../New-MgBetaDirectoryObject.md | 2 +- .../Remove-MgBetaDirectoryObject.md | 4 ++-- .../Test-MgBetaDirectoryObjectProperty.md | 4 ++-- .../Update-MgBetaDirectoryObject.md | 2 +- 13 files changed, 21 insertions(+), 21 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index e62d261701f4..2e08725853bb 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -506,8 +506,8 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup) -- [](https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta) +- [Confirm-MgBetaDirectoryObjectMemberGroup](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup) +- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index 3ee6dd46f3b2..6a996b3baa13 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -475,7 +475,7 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject) +- [Confirm-MgBetaDirectoryObjectMemberObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md index acb97d6d2a8b..e5b5f2259fd1 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md @@ -569,8 +569,8 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject) -- [](https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-beta) +- [Get-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject) +- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index 072ef13fc893..fd56150798d3 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -424,8 +424,8 @@ BODYPARAMETER ``: Identity Parameter ## RELATED LINKS -- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup) -- [](https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta) +- [Get-MgBetaDirectoryObjectMemberGroup](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup) +- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 16aac70a9970..94c2c190777c 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -475,7 +475,7 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject) +- [Get-MgBetaDirectoryObjectMemberObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md index 0f413c1a8dd6..758c3d2b0757 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md @@ -386,8 +386,8 @@ BODYPARAMETER ``: Identity Parameter ## RELATED LINKS -- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject) -- [](https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-beta) +- [Remove-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject) +- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md index 7d72c4e24f02..a52fb0f60130 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md @@ -514,8 +514,8 @@ BODYPARAMETER ``: Identity Parameter ## RELATED LINKS -- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/update-mgbetadirectoryobject) +- [Update-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/update-mgbetadirectoryobject) From 4ed5fd77d1e17ea78d656e72a8c08b067b1ec054 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 21 Aug 2026 07:41:47 +0000 Subject: [PATCH 9/9] Updating reference docs for DirectoryObjects (beta) --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 2 +- .../Confirm-MgBetaDirectoryObjectMemberObject.md | 2 +- .../Get-MgBetaDirectoryObject.md | 2 +- .../Get-MgBetaDirectoryObjectById.md | 2 +- .../Get-MgBetaDirectoryObjectCount.md | 2 +- .../Get-MgBetaDirectoryObjectDelta.md | 2 +- .../Get-MgBetaDirectoryObjectMemberGroup.md | 2 +- .../Get-MgBetaDirectoryObjectMemberObject.md | 2 +- .../Get-MgBetaDirectoryObjectUserOwnedObject.md | 2 +- .../New-MgBetaDirectoryObject.md | 2 +- .../Remove-MgBetaDirectoryObject.md | 2 +- .../Test-MgBetaDirectoryObjectProperty.md | 2 +- .../Update-MgBetaDirectoryObject.md | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 2e08725853bb..4c974e1c341d 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Confirm-MgBetaDirectoryObjectMemberGroup --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index 6a996b3baa13..35794d4d8e4c 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Confirm-MgBetaDirectoryObjectMemberObject --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md index e5b5f2259fd1..55889f6eb27b 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObject --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index fd56150798d3..9d88f0b354f5 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectbyid Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectById --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md index e3ec0b65bcd0..599f12125d52 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectCount.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectcount Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectCount --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md index 2c8da2cc93aa..1d219153551b 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectdelta Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectDelta --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md index 1350f8795934..c5043c9c2722 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectMemberGroup --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 94c2c190777c..8ccdbbe00452 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectMemberObject --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md index 758c3d2b0757..beba5529e816 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectuserownedobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectUserOwnedObject --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md index 44b7527e06a8..437d1abddd53 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/New-MgBetaDirectoryObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/new-mgbetadirectoryobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: New-MgBetaDirectoryObject --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md index 78c45cce3a3e..87601ce06386 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Remove-MgBetaDirectoryObject --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md index a52fb0f60130..d4a1c804b90c 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/test-mgbetadirectoryobjectproperty Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Test-MgBetaDirectoryObjectProperty --- diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md index 5a55148fa3f4..5b9d9ad617f6 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Update-MgBetaDirectoryObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/update-mgbetadirectoryobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/21/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Update-MgBetaDirectoryObject ---