From 354f37d49b9b1033a5d28d0531cffb2c8c544aaf Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 11 Sep 2026 06:02:13 +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..defca1b16104 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: 09/11/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..feec419efc42 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: 09/11/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..8d3059c231ca 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: 09/11/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..92baf2f3497a 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: 09/11/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..bad522c9b826 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: 09/11/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..800ad85e3f6b 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: 09/11/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..c874511e2064 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: 09/11/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..29e7b62363a3 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: 09/11/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..b45ff0eefc2b 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: 09/11/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..1afe1f5209d9 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: 09/11/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 7189e7c024f553d54660e10b6a9770f056082216 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 11 Sep 2026 06:02:18 +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 defca1b16104..564434a729eb 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 feec419efc42..d4c227ffaf8d 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 8d3059c231ca..b6ccb1946207 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 92baf2f3497a..a9c39ae28166 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 c874511e2064..73cc05b5d5a2 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 29e7b62363a3..730794a4ffd6 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 b45ff0eefc2b..8b4f49afd864 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 1afe1f5209d9..680fcfa405f1 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 d432aa5bf3b9aba29bb420c4694c110599b6dff6 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 11 Sep 2026 06:15:08 +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 564434a729eb..0c774a22b2f9 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 d4c227ffaf8d..8b76a456a8de 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 b6ccb1946207..133e40f835a1 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 a9c39ae28166..1d17773d1289 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 1b4f0b90e118..678e156a72fe 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 c6dcb91bd2ec..ccb71d64e0c8 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 73cc05b5d5a2..b34ec7fcec24 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 680fcfa405f1..2628539f8244 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 3c4a6fa22e6a9bc15f4aaf5ae9ce8452c66c13ca Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 11 Sep 2026 06:15:17 +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 0c774a22b2f9..b1b95d516349 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 8b76a456a8de..abfb9e774e40 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 133e40f835a1..bc89562d52ca 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 1d17773d1289..a2f681b14052 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 10c6478b1bb6..6f6b3f18e151 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 678e156a72fe..dd094a8155fa 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 ccb71d64e0c8..8673b1f455fe 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 b34ec7fcec24..2c471b3e5ac2 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 8841edff4208..4b264affd1a5 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 8b4f49afd864..2032618a64c3 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 2628539f8244..a642d384bf87 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 d954503211b6..b522a011a250 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 1804afce248b62557ead8db695154703222fe050 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 11 Sep 2026 06:15:23 +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 b1b95d516349..28e4491be721 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 bc89562d52ca..09b66887610a 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 a2f681b14052..3ae49cfaeb76 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 dd094a8155fa..84b852bda189 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 8673b1f455fe..4d4e5abcc008 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 730794a4ffd6..0a2bc1e7e5b4 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, 11 Sep 2026 06:15:26 +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 abfb9e774e40..c7af7da7e9d9 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 6f6b3f18e151..44702ff605c1 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 2c471b3e5ac2..9dfffdaea980 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 4b264affd1a5..4288d4de4d7d 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 b522a011a250..7ac13b82c7ce 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 6ba954141a7a39f636d86f25ab4ab023d9791180 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 11 Sep 2026 06:15:29 +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 28e4491be721..5208e4cfdb2c 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 c7af7da7e9d9..04730de99342 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 3ae49cfaeb76..e4bd9d8d861d 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 4d4e5abcc008..30ea31c331de 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 9dfffdaea980..25a296247f2e 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 0a2bc1e7e5b4..db1923d8e0ee 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 b1530c8240cd..f383256429fa 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 bbb6b5f0a44d63601022fa5fc7126ca142e3f623 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 11 Sep 2026 06:15:44 +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 5208e4cfdb2c..871dabc96968 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 04730de99342..9afc88494b6f 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 09b66887610a..08e074e4470c 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 e4bd9d8d861d..ba218861e209 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 25a296247f2e..07ff32e1547d 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 db1923d8e0ee..0de2788abf3b 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 f383256429fa..d13df78044bd 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 b8f31598fd7ceb8ffa7840dd174e1349d106a6bd Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Fri, 11 Sep 2026 06:15:56 +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 871dabc96968..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: 09/11/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 9afc88494b6f..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: 09/11/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 08e074e4470c..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: 09/11/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 ba218861e209..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: 09/11/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 352b6a6d6bcb..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: 09/11/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 d636d9fa7a70..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: 09/11/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 376e04dbca20..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: 09/11/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 07ff32e1547d..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: 09/11/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 0de2788abf3b..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: 09/11/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 f0d81a8d26a1..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: 09/11/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 00cf7d58ffbe..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: 09/11/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 d13df78044bd..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: 09/11/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 ef0e26a81351..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: 09/11/2026 +ms.date: 08/07/2026 PlatyPS schema version: 2024-05-01 title: Update-MgBetaDirectoryObject ---