From 46aa1cc459ad242e347a7ee34283d1fde31f3b78 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Sat, 1 Aug 2026 04:35:47 +0000 Subject: [PATCH 1/8] Updated markdown help --- ...onfirm-MgBetaDirectoryObjectMemberGroup.md | 64 +++------------ ...nfirm-MgBetaDirectoryObjectMemberObject.md | 58 ++++---------- .../Get-MgBetaDirectoryObject.md | 54 ++----------- .../Get-MgBetaDirectoryObjectById.md | 57 +++---------- .../Get-MgBetaDirectoryObjectCount.md | 42 +++------- .../Get-MgBetaDirectoryObjectDelta.md | 77 +++--------------- .../Get-MgBetaDirectoryObjectMemberGroup.md | 59 +++----------- .../Get-MgBetaDirectoryObjectMemberObject.md | 58 ++++---------- ...et-MgBetaDirectoryObjectUserOwnedObject.md | 50 +++++------- .../Microsoft.Graph.Beta.DirectoryObjects.md | 21 +---- .../New-MgBetaDirectoryObject.md | 44 +++-------- .../Remove-MgBetaDirectoryObject.md | 42 ++-------- .../Test-MgBetaDirectoryObjectProperty.md | 79 ++++--------------- .../Update-MgBetaDirectoryObject.md | 51 ++++-------- 14 files changed, 166 insertions(+), 590 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 f651f4eeed0ca..21a031290555f 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: 06/05/2026 +ms.date: 08/01/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) @@ -31,7 +28,7 @@ Confirm-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId [-ResponseHeadersVariable ] [-AdditionalProperties ] [-GroupIds ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Check @@ -42,7 +39,6 @@ Confirm-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### CheckViaIdentityExpanded @@ -52,7 +48,7 @@ Confirm-MgBetaDirectoryObjectMemberGroup -InputObject ] [-AdditionalProperties ] [-GroupIds ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### CheckViaIdentity @@ -63,7 +59,6 @@ Confirm-MgBetaDirectoryObjectMemberGroup -InputObject ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -74,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, User.ReadWrite.All, Device.Read.All, GroupMember.Read.All, Group.ReadWrite.All, Group.Read.All, Directory.ReadWrite.All, Directory.Read.All, Application.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, AgentIdUser.ReadWrite.All, User.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.IdentityParentedBy, User.Read.All, GroupMember.Read.All, Group.ReadWrite.All, Group.Read.All, Directory.ReadWrite.All, User.ReadWrite.All, Device.ReadWrite.All, Device.Read.All, Application.ReadWrite.All, Directory.Read.All, AgentIdUser.ReadWrite.All, | - ## EXAMPLES -### Example 1: Check group memberships for a directory object -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -106,10 +92,6 @@ $params = @{ Confirm-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params -``` -This example will check group memberships for a directory object - - ## PARAMETERS ### -AdditionalProperties @@ -141,7 +123,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -239,7 +221,7 @@ HelpMessage: '' ### -GroupIds - +. ```yaml Type: System.String[] @@ -496,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 @@ -508,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 e25aff9aeb25c..ee29a2d262ee5 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: 06/05/2026 +ms.date: 08/01/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) @@ -27,7 +24,7 @@ Confirm-MgBetaDirectoryObjectMemberObject -DirectoryObjectId [-ResponseHeadersVariable ] [-AdditionalProperties ] [-Ids ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Check @@ -38,7 +35,6 @@ Confirm-MgBetaDirectoryObjectMemberObject -DirectoryObjectId [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### CheckViaIdentityExpanded @@ -48,7 +44,7 @@ Confirm-MgBetaDirectoryObjectMemberObject -InputObject ] [-AdditionalProperties ] [-Ids ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### CheckViaIdentity @@ -59,7 +55,6 @@ Confirm-MgBetaDirectoryObjectMemberObject -InputObject ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -71,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, User.ReadWrite.All, Directory.Read.All, User.Read, GroupMember.Read.All, Group.ReadWrite.All, Group.Read.All, Directory.ReadWrite.All, Application.ReadWrite.All, Device.Read.All, AgentIdUser.ReadWrite.IdentityParentedBy, AgentIdUser.ReadWrite.All, User.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.IdentityParentedBy, User.Read.All, GroupMember.Read.All, Group.ReadWrite.All, Group.Read.All, Directory.ReadWrite.All, User.ReadWrite.All, Device.ReadWrite.All, Device.Read.All, Application.ReadWrite.All, Directory.Read.All, AgentIdUser.ReadWrite.All, | +{{ Add code here }} ## PARAMETERS @@ -110,7 +107,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -271,7 +268,7 @@ HelpMessage: '' ### -Ids - +. ```yaml Type: System.String[] @@ -465,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 @@ -477,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 0e6193a92a575..c3d315f73af59 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: 06/05/2026 +ms.date: 08/01/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) @@ -28,7 +25,7 @@ Get-MgBetaDirectoryObject [-ExpandProperty ] [-Property ] [- [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] - [-CountVariable ] [] + [-CountVariable ] ``` ### Get @@ -37,7 +34,7 @@ Get-MgBetaDirectoryObject [-ExpandProperty ] [-Property ] [- Get-MgBetaDirectoryObject -DirectoryObjectId [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ### GetViaIdentity @@ -46,7 +43,7 @@ Get-MgBetaDirectoryObject -DirectoryObjectId [-ExpandProperty [-ExpandProperty ] [-Property ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES @@ -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 822e83dd7d43f..c71877a42abae 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: 06/05/2026 +ms.date: 08/01/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) @@ -28,7 +25,7 @@ Get-MgBetaDirectoryObjectById [-ResponseHeadersVariable ] [-AdditionalProperties ] [-Ids ] [-Types ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Get @@ -39,7 +36,6 @@ Get-MgBetaDirectoryObjectById [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -52,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 @@ -83,10 +70,6 @@ types = @( Get-MgBetaDirectoryObjectById -BodyParameter $params -``` -This example shows how to use the Get-MgBetaDirectoryObjectById Cmdlet. - - ## PARAMETERS ### -AdditionalProperties @@ -112,7 +95,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -240,7 +223,7 @@ HelpMessage: '' ### -Ids - +. ```yaml Type: System.String[] @@ -346,7 +329,7 @@ HelpMessage: '' ### -Types - +. ```yaml Type: System.String[] @@ -417,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 ]: @@ -425,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) @@ -26,7 +23,7 @@ Get the number of the resource Get-MgBetaDirectoryObjectCount -ConsistencyLevel [-Filter ] [-Search ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] - [-ProxyCredential ] [-ProxyUseDefaultCredentials] [] + [-ProxyCredential ] [-ProxyUseDefaultCredentials] ``` ## ALIASES @@ -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 cdbd0da3a52a7..16e3a4d20e0d5 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: 06/05/2026 +ms.date: 08/01/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) @@ -29,7 +26,7 @@ Get-MgBetaDirectoryObjectDelta [-ExpandProperty ] [-Filter ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-PageSize ] [-All] - [-CountVariable ] [] + [-CountVariable ] ``` ## ALIASES @@ -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 dc03a72c91fd9..67cd99f83d27d 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: 06/05/2026 +ms.date: 08/01/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) @@ -31,7 +28,6 @@ Get-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId [-ResponseHeade [-AdditionalProperties ] [-SecurityEnabledOnly] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### Get @@ -42,7 +38,6 @@ Get-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### GetViaIdentityExpanded @@ -52,7 +47,7 @@ Get-MgBetaDirectoryObjectMemberGroup -InputObject [-ResponseHeadersVariable ] [-AdditionalProperties ] [-SecurityEnabledOnly] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### GetViaIdentity @@ -63,7 +58,6 @@ Get-MgBetaDirectoryObjectMemberGroup -InputObject [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -79,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, User.Read.All, Group.ReadWrite.All, GroupMember.Read.All, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, Application.ReadWrite.All, GroupMember.Read.All, Group.ReadWrite.All, Group.Read.All, Directory.ReadWrite.All, User.Read.All, Device.ReadWrite.All, Device.Read.All, Directory.Read.All, | - ## EXAMPLES -### Example 1: Check group memberships for a directory object -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -100,10 +85,6 @@ $params = @{ Get-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params -``` -This example will check group memberships for a directory object - - ## PARAMETERS ### -AdditionalProperties @@ -135,7 +116,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -409,7 +390,7 @@ HelpMessage: '' ### -SecurityEnabledOnly - +. ```yaml Type: System.Management.Automation.SwitchParameter @@ -490,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 @@ -502,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 e6f96a1d2311b..203126a60cf39 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: 06/05/2026 +ms.date: 08/01/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) @@ -27,7 +24,7 @@ Get-MgBetaDirectoryObjectMemberObject -DirectoryObjectId [-ResponseHeadersVariable ] [-AdditionalProperties ] [-SecurityEnabledOnly] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Get @@ -38,7 +35,6 @@ Get-MgBetaDirectoryObjectMemberObject -DirectoryObjectId [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### GetViaIdentityExpanded @@ -48,7 +44,7 @@ Get-MgBetaDirectoryObjectMemberObject -InputObject [-ResponseHeadersVariable ] [-AdditionalProperties ] [-SecurityEnabledOnly] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### GetViaIdentity @@ -59,7 +55,6 @@ Get-MgBetaDirectoryObjectMemberObject -InputObject [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -71,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, User.ReadWrite.All, Directory.Read.All, User.Read, GroupMember.Read.All, Group.ReadWrite.All, Group.Read.All, Directory.ReadWrite.All, Application.ReadWrite.All, Device.Read.All, AgentIdUser.ReadWrite.IdentityParentedBy, AgentIdUser.ReadWrite.All, User.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.IdentityParentedBy, User.Read.All, GroupMember.Read.All, Group.ReadWrite.All, Group.Read.All, Directory.ReadWrite.All, User.ReadWrite.All, Device.ReadWrite.All, Device.Read.All, Application.ReadWrite.All, Directory.Read.All, AgentIdUser.ReadWrite.All, | +{{ Add code here }} ## PARAMETERS @@ -110,7 +107,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -384,7 +381,7 @@ HelpMessage: '' ### -SecurityEnabledOnly - +. ```yaml Type: System.Management.Automation.SwitchParameter @@ -465,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 @@ -477,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 a219bfa3b78b3..a6239df8ddd52 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: 06/05/2026 +ms.date: 08/01/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectUserOwnedObject --- @@ -25,7 +25,7 @@ Get-MgBetaDirectoryObjectUserOwnedObject [-ResponseHeadersVariable ] [-AdditionalProperties ] [-Type ] [-UserId ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Get @@ -36,7 +36,6 @@ Get-MgBetaDirectoryObjectUserOwnedObject [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -49,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 @@ -74,7 +83,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -287,7 +296,7 @@ HelpMessage: '' ### -Type - +. ```yaml Type: System.String @@ -308,7 +317,7 @@ HelpMessage: '' ### -UserId - +. ```yaml Type: System.String @@ -379,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 ]: @@ -387,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) @@ -27,7 +24,6 @@ New-MgBetaDirectoryObject [-ResponseHeadersVariable ] [-AdditionalProper [-DeletedDateTime ] [-Id ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### Create @@ -37,7 +33,6 @@ New-MgBetaDirectoryObject -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -49,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 @@ -381,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. @@ -391,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 df6a4e915902e..8d613b1757b08 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: 06/05/2026 +ms.date: 08/01/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) @@ -27,7 +24,6 @@ Remove-MgBetaDirectoryObject -DirectoryObjectId [-IfMatch ] [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### DeleteViaIdentity @@ -37,7 +33,6 @@ Remove-MgBetaDirectoryObject -InputObject [-IfMatch [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -50,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 @@ -392,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 @@ -400,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 492eadefd08f6..91ccbc9a4d119 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: 06/05/2026 +ms.date: 08/01/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) @@ -36,7 +33,6 @@ Test-MgBetaDirectoryObjectProperty [-ResponseHeadersVariable ] [-MailNickname ] [-OnBehalfOfUserId ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### Validate @@ -47,7 +43,6 @@ Test-MgBetaDirectoryObjectProperty [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-PassThru] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ## ALIASES @@ -60,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.ReadWrite.All, Directory.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Group.Read.All, Group.ReadWrite.All, Directory.ReadWrite.All, Directory.Read.All, | - ## EXAMPLES -### Example 1: A successful validation request -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -91,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 @@ -109,10 +90,6 @@ $params = @{ Test-MgBetaDirectoryObjectProperty -BodyParameter $params -``` -This example will an unsuccessful validation request - - ## PARAMETERS ### -AdditionalProperties @@ -138,7 +115,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -203,7 +180,7 @@ HelpMessage: '' ### -DisplayName - +. ```yaml Type: System.String @@ -224,7 +201,7 @@ HelpMessage: '' ### -EntityType - +. ```yaml Type: System.String @@ -308,7 +285,7 @@ HelpMessage: '' ### -MailNickname - +. ```yaml Type: System.String @@ -329,7 +306,7 @@ HelpMessage: '' ### -OnBehalfOfUserId - +. ```yaml Type: System.String @@ -506,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 ]: @@ -516,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) @@ -27,7 +24,7 @@ Update-MgBetaDirectoryObject -DirectoryObjectId [-ResponseHeadersVariab [-AdditionalProperties ] [-DeletedDateTime ] [-Id ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### Update @@ -37,7 +34,7 @@ Update-MgBetaDirectoryObject -DirectoryObjectId -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ### UpdateViaIdentityExpanded @@ -48,7 +45,6 @@ Update-MgBetaDirectoryObject -InputObject [-DeletedDateTime ] [-Id ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] - [] ``` ### UpdateViaIdentity @@ -58,7 +54,7 @@ Update-MgBetaDirectoryObject -InputObject -BodyParameter [-ResponseHeadersVariable ] [-Break] [-Headers ] [-HttpPipelineAppend ] [-HttpPipelinePrepend ] [-Proxy ] [-ProxyCredential ] - [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] [] + [-ProxyUseDefaultCredentials] [-WhatIf] [-Confirm] ``` ## ALIASES @@ -70,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 @@ -485,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 @@ -500,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 2bf0ea381d7959a24f8408be1de21f0e79c65001 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Sat, 1 Aug 2026 04:35:51 +0000 Subject: [PATCH 2/8] 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 21a031290555f..c2356e4ae92f5 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 ee29a2d262ee5..8fd677ac3b3d6 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 c3d315f73af59..1687c4c909ea0 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 c71877a42abae..a2a7f0a6eac69 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 203126a60cf39..3afe5814447dc 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 a6239df8ddd52..902c3f47879dd 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 8d613b1757b08..bd3bf499d65a7 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 91ccbc9a4d119..d71c727922bf6 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 87c9dc0a2ac3dec0852ee72dcbdcdd6efba95eae Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Sat, 1 Aug 2026 04:48:36 +0000 Subject: [PATCH 3/8] 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 c2356e4ae92f5..9750b0c31cafd 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 8fd677ac3b3d6..3a249cf4d9d46 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 1687c4c909ea0..df7da44db49ac 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 a2a7f0a6eac69..065f7a64189f4 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 50c9ec76af856..fb4cbe9b2b7f9 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 e2930324dd9c5..89b1160b036c2 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 3afe5814447dc..a1bf781f285d8 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 d71c727922bf6..5a2ceab09425b 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 9dadf42099ca4aa36a91f8bdfc099a7d0b49a4aa Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Sat, 1 Aug 2026 04:48:47 +0000 Subject: [PATCH 4/8] 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 9750b0c31cafd..c2db29d102c57 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 3a249cf4d9d46..df699c15ff071 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 df7da44db49ac..0fa51f1a74a34 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 065f7a64189f4..46d6b7bd5d96e 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 e625f2fb8dc96..fd159cd78e622 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 fb4cbe9b2b7f9..ae11454015a6d 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 89b1160b036c2..ec012d447603c 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 a1bf781f285d8..771c2e8d96ea5 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 a90d1f5460228..88a2563740641 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 bd3bf499d65a7..01e8d6bbddc2d 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 5a2ceab09425b..0e3220ec8af5d 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 4404c70888358..b71f3bff245d1 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 c9697c5a538a793c9a2fd6b5f0a1a31344ab29ce Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Sat, 1 Aug 2026 04:48:54 +0000 Subject: [PATCH 5/8] 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 c2db29d102c57..a6e94f2f24550 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 0fa51f1a74a34..b138a8df5a9bb 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 46d6b7bd5d96e..97f501fa1b0ef 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 ae11454015a6d..156f8e582f0b8 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 ec012d447603c..f1a9a46653746 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 902c3f47879dd..d72313595abc0 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: Sat, 1 Aug 2026 04:48:57 +0000 Subject: [PATCH 6/8] 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 df699c15ff071..01ccb56423d75 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 fd159cd78e622..907f9c55f6d4e 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 771c2e8d96ea5..caf5baf16756c 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 88a2563740641..f4a7f5617c097 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 b71f3bff245d1..c0d6ecfef1a18 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 699549ffb2765268241863a744a55d41ca1757a4 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Sat, 1 Aug 2026 04:49:01 +0000 Subject: [PATCH 7/8] 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 a6e94f2f24550..8fc61dd8b371e 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 01ccb56423d75..e6238b9e391d9 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 97f501fa1b0ef..d34f564f8c254 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 f1a9a46653746..82a611c0853b0 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 caf5baf16756c..13b6cc7b41d3a 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 d72313595abc0..d9d7d57e13e26 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 3db11b596d6da..7375edeacc376 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 2766b0bf5955b5485c108140ed80ce94aaf17d7a Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Sat, 1 Aug 2026 04:49:18 +0000 Subject: [PATCH 8/8] 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 8fc61dd8b371e..18fec6b96d5de 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 e6238b9e391d9..2a42926319a22 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 b138a8df5a9bb..31dd301a49d9f 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 d34f564f8c254..7f084aab8739d 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 13b6cc7b41d3a..78ba098bacbc3 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 d9d7d57e13e26..52af87172ed00 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 7375edeacc376..a20e23560187a 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)