From 676070910d13b26d78cceb3069fdf332bf259174 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Wed, 12 Aug 2026 16:07:08 -0700 Subject: [PATCH 1/9] Update documentation generation modules Align the v1.0 and beta pipeline module lists with the upstream OpenAPI documents while retaining the v1.0 Authentication module. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a37a8961-0f02-43e0-9b0c-f4f9673c4d28 --- azure-pipelines/powershell-docs.yml | 40 ++++++++++++++--------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/azure-pipelines/powershell-docs.yml b/azure-pipelines/powershell-docs.yml index 71679bf595944..ea07c5b24b240 100644 --- a/azure-pipelines/powershell-docs.yml +++ b/azure-pipelines/powershell-docs.yml @@ -57,34 +57,31 @@ extends: Modules: - Authentication - Applications - - Bookings - - BusinessScenario - BackupRestore + - Bookings - Calendar - ChangeNotifications - CloudCommunications - Compliance + - ConfigurationManagement - CrossDeviceExperiences - - Devices.CloudPrint - - Devices.CorporateManagement - - Devices.ServiceAnnouncement - - DeviceManagement + - DeviceManagement.Actions - DeviceManagement.Administration - DeviceManagement.Enrollment - - DeviceManagement.Actions - DeviceManagement.Functions + - DeviceManagement + - Devices.CloudPrint + - Devices.CorporateManagement + - Devices.ServiceAnnouncement - DirectoryObjects - Education - Files - - Financials - Groups - Identity.DirectoryManagement - Identity.Governance - - Identity.SignIns - Identity.Partner + - Identity.SignIns - Mail - - ManagedTenants - - NetworkAccess - Notes - People - PersonalContacts @@ -95,10 +92,9 @@ extends: - Security - Sites - Teams - - Users - Users.Actions - Users.Functions - - WindowsUpdates + - Users - template: common-templates/module-stages.yml@self parameters: GraphProfileFilter: "beta" @@ -108,22 +104,23 @@ extends: PipelineTimeout: ${{ parameters.PipelineTimeout }} Modules: - Applications + - BackupRestore - Bookings - BusinessScenario - - BackupRestore - Calendar - ChangeNotifications - CloudCommunications - Compliance + - ConfigurationManagement - CrossDeviceExperiences - - Devices.CloudPrint - - Devices.CorporateManagement - - Devices.ServiceAnnouncement - - DeviceManagement + - DeviceManagement.Actions - DeviceManagement.Administration - DeviceManagement.Enrollment - - DeviceManagement.Actions - DeviceManagement.Functions + - DeviceManagement + - Devices.CloudPrint + - Devices.CorporateManagement + - Devices.ServiceAnnouncement - DirectoryObjects - Education - Files @@ -131,10 +128,11 @@ extends: - Groups - Identity.DirectoryManagement - Identity.Governance - - Identity.SignIns - Identity.Partner + - Identity.SignIns - Mail - ManagedTenants + - Migrations - NetworkAccess - Notes - People @@ -146,7 +144,7 @@ extends: - Security - Sites - Teams - - Users - Users.Actions - Users.Functions + - Users - WindowsUpdates From c7383b65bc237a5c2562f8d8d2bd80895ce8c1cd Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 13 Aug 2026 04:34:58 +0000 Subject: [PATCH 2/9] Updated markdown help --- ...onfirm-MgBetaDirectoryObjectMemberGroup.md | 58 +++----------- ...nfirm-MgBetaDirectoryObjectMemberObject.md | 52 ++++--------- .../Get-MgBetaDirectoryObject.md | 48 ++---------- .../Get-MgBetaDirectoryObjectById.md | 54 ++----------- .../Get-MgBetaDirectoryObjectCount.md | 40 +++------- .../Get-MgBetaDirectoryObjectDelta.md | 75 +++--------------- .../Get-MgBetaDirectoryObjectMemberGroup.md | 54 ++----------- .../Get-MgBetaDirectoryObjectMemberObject.md | 52 ++++--------- ...et-MgBetaDirectoryObjectUserOwnedObject.md | 47 ++++------- .../Microsoft.Graph.Beta.DirectoryObjects.md | 21 +---- .../New-MgBetaDirectoryObject.md | 42 ++++------ .../Remove-MgBetaDirectoryObject.md | 40 ++-------- .../Test-MgBetaDirectoryObjectProperty.md | 77 ++++--------------- .../Update-MgBetaDirectoryObject.md | 44 ++++------- 14 files changed, 149 insertions(+), 555 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 4c974e1c341dd..b37f2e7555acf 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Confirm-MgBetaDirectoryObjectMemberGroup --- @@ -14,14 +14,11 @@ title: Confirm-MgBetaDirectoryObjectMemberGroup ## SYNOPSIS Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. -The specified object can be of one of the following types:\r- user\r- group\r- service principal\r- organizational contact\r- device\r- directory object This function is transitive. +The specified object can be of one of the following types:\r\n- user\r\n- group\r\n- service principal\r\n- organizational contact\r\n- device\r\n- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Confirm-MgDirectoryObjectMemberGroup](/powershell/module/Microsoft.Graph.DirectoryObjects/Confirm-MgDirectoryObjectMemberGroup?view=graph-powershell-1.0) - ## SYNTAX ### CheckExpanded (Default) @@ -72,23 +69,14 @@ This cmdlet has the following aliases, ## DESCRIPTION Check for membership in a specified list of group IDs, and return from that list the IDs of groups where a specified object is a member. -The specified object can be of one of the following types:\r- user\r- group\r- service principal\r- organizational contact\r- device\r- directory object This function is transitive. +The specified object can be of one of the following types:\r\n- user\r\n- group\r\n- service principal\r\n- organizational contact\r\n- device\r\n- directory object This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Microsoft Entra ID. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | - ## EXAMPLES -### Example 1: Check group memberships for a directory object -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -104,10 +92,6 @@ $params = @{ Confirm-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params -``` -This example will check group memberships for a directory object - - ## PARAMETERS ### -AdditionalProperties @@ -139,7 +123,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -237,7 +221,7 @@ HelpMessage: '' ### -GroupIds - +. ```yaml Type: System.String[] @@ -494,11 +478,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [GroupIds ]: -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -506,27 +490,5 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Confirm-MgBetaDirectoryObjectMemberGroup](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmembergroup) +- [](https://learn.microsoft.com/graph/api/directoryobject-checkmembergroups?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index 35794d4d8e4ce..67e863d1df405 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Confirm-MgBetaDirectoryObjectMemberObject --- @@ -15,9 +15,6 @@ title: Confirm-MgBetaDirectoryObjectMemberObject Invoke action checkMemberObjects -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Confirm-MgDirectoryObjectMemberObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Confirm-MgDirectoryObjectMemberObject?view=graph-powershell-1.0) - ## SYNTAX ### CheckExpanded (Default) @@ -69,13 +66,15 @@ This cmdlet has the following aliases, Invoke action checkMemberObjects -**Permissions** +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read, User.Read.All, User.ReadWrite.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | +{{ Add code here }} ## PARAMETERS @@ -108,7 +107,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -269,7 +268,7 @@ HelpMessage: '' ### -Ids - +. ```yaml Type: System.String[] @@ -463,11 +462,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [Ids ]: -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -475,27 +474,4 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Confirm-MgBetaDirectoryObjectMemberObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/confirm-mgbetadirectoryobjectmemberobject) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md index 55889f6eb27b0..179c745407b86 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObject --- @@ -15,9 +15,6 @@ title: Get-MgBetaDirectoryObject Retrieve the properties and relationships of a directoryObject object. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObject?view=graph-powershell-1.0) - ## SYNTAX ### List (Default) @@ -58,27 +55,14 @@ This cmdlet has the following aliases, Retrieve the properties and relationships of a directoryObject object. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Directory.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Directory.Read.All, | - ## EXAMPLES -### Example 1: Code snippet -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects Get-MgBetaDirectoryObject -DirectoryObjectId $directoryObjectId -``` -This example shows how to use the Get-MgBetaDirectoryObject Cmdlet. - - ## PARAMETERS ### -All @@ -561,7 +545,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -569,27 +553,5 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Get-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject) +- [](https://learn.microsoft.com/graph/api/directoryobject-get?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md index 9d88f0b354f5b..e02d57ab8a70e 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectbyid Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectById --- @@ -16,9 +16,6 @@ title: Get-MgBetaDirectoryObjectById Return the directory objects specified in a list of IDs. Some common uses for this function are to: -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectById](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectById?view=graph-powershell-1.0) - ## SYNTAX ### GetExpanded (Default) @@ -51,18 +48,9 @@ This cmdlet has the following aliases, Return the directory objects specified in a list of IDs. Some common uses for this function are to: -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Directory.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Directory.Read.All, | - ## EXAMPLES -### Example 1: Code snippet -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -82,10 +70,6 @@ types = @( Get-MgBetaDirectoryObjectById -BodyParameter $params -``` -This example shows how to use the Get-MgBetaDirectoryObjectById Cmdlet. - - ## PARAMETERS ### -AdditionalProperties @@ -111,7 +95,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -239,7 +223,7 @@ HelpMessage: '' ### -Ids - +. ```yaml Type: System.String[] @@ -345,7 +329,7 @@ HelpMessage: '' ### -Types - +. ```yaml Type: System.String[] @@ -416,7 +400,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [Ids ]: [Types ]: @@ -424,27 +408,5 @@ BODYPARAMETER ` [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectCount](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectCount?view=graph-powershell-1.0) - ## SYNTAX ### Get (Default) @@ -38,6 +35,16 @@ This cmdlet has the following aliases, Get the number of the resource +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 + +{{ Add code here }} + ## PARAMETERS ### -Break @@ -296,27 +303,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -- [Get-MgBetaDirectoryObjectCount](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectcount) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectcount) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md index 1d219153551b8..c693f63a88446 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectDelta.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectdelta Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectDelta --- @@ -16,9 +16,6 @@ title: Get-MgBetaDirectoryObjectDelta Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectDelta](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectDelta?view=graph-powershell-1.0) - ## SYNTAX ### Delta (Default) @@ -42,59 +39,31 @@ This cmdlet has the following aliases, Get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Directory.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Directory.Read.All, | - ## EXAMPLES -### Example 1: Retrieve changes for a collection of users and groups -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" - -``` -This example will retrieve changes for a collection of users and groups - -### Example 2: Retrieve a collection of changes for a directory object +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -```powershell +### EXAMPLE 2 Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "id eq '87d349ed-44d7-43e1-9a83-5f2406dee5bd'" - -``` -This example will retrieve a collection of changes for a directory object +Get-MgBetaDirectoryObjectDelta -Filter "id eq '87d349ed-44d7-43e1-9a83-5f2406dee5bd'" -### Example 3: Retrieve changes to specific properties for a collection of users and groups - -```powershell +### EXAMPLE 3 Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" -``` -This example will retrieve changes to specific properties for a collection of users and groups - -### Example 4: Retrieve specific properties only if they changed for a collection of users and groups - -```powershell +### EXAMPLE 4 Import-Module Microsoft.Graph.Beta.DirectoryObjects -Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" - -``` -This example will retrieve specific properties only if they changed for a collection of users and groups - +Get-MgBetaDirectoryObjectDelta -Filter "isof('microsoft.graph.user') or isof('microsoft.graph.group')" -Property "microsoft.graph.user/surname,microsoft.graph.group/displayName" ## PARAMETERS @@ -506,27 +475,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -- [Get-MgBetaDirectoryObjectDelta](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectdelta) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectdelta) +- [](https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md index c5043c9c27221..b5cbc94fee221 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberGroup.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectMemberGroup --- @@ -19,9 +19,6 @@ This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectMemberGroup](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectMemberGroup?view=graph-powershell-1.0) - ## SYNTAX ### GetExpanded (Default) @@ -76,18 +73,9 @@ This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the DirectoryResultSizeLimitExceeded error code. If you get the DirectoryResultSizeLimitExceeded error code, use the List group transitive memberOf API instead. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Application.Read.All, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, | - ## EXAMPLES -### Example 1: Check group memberships for a directory object -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -97,10 +85,6 @@ $params = @{ Get-MgBetaDirectoryObjectMemberGroup -DirectoryObjectId $directoryObjectId -BodyParameter $params -``` -This example will check group memberships for a directory object - - ## PARAMETERS ### -AdditionalProperties @@ -132,7 +116,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -406,7 +390,7 @@ HelpMessage: '' ### -SecurityEnabledOnly - +. ```yaml Type: System.Management.Automation.SwitchParameter @@ -487,11 +471,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [SecurityEnabledOnly ]: -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -499,27 +483,5 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Get-MgBetaDirectoryObjectMemberGroup](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmembergroup) +- [](https://learn.microsoft.com/graph/api/directoryobject-getmembergroups?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md index 8ccdbbe00452e..3d16840793486 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectMemberObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectMemberObject --- @@ -15,9 +15,6 @@ title: Get-MgBetaDirectoryObjectMemberObject Invoke action getMemberObjects -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Get-MgDirectoryObjectMemberObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Get-MgDirectoryObjectMemberObject?view=graph-powershell-1.0) - ## SYNTAX ### GetExpanded (Default) @@ -69,13 +66,15 @@ This cmdlet has the following aliases, Invoke action getMemberObjects -**Permissions** +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read, User.Read.All, User.ReadWrite.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Application.Read.All, AgentIdUser.ReadWrite.All, AgentIdUser.ReadWrite.IdentityParentedBy, Application.ReadWrite.All, Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, GroupMember.Read.All, User.Read.All, User.ReadWrite.All, | +{{ Add code here }} ## PARAMETERS @@ -108,7 +107,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -382,7 +381,7 @@ HelpMessage: '' ### -SecurityEnabledOnly - +. ```yaml Type: System.Management.Automation.SwitchParameter @@ -463,11 +462,11 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [SecurityEnabledOnly ]: -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -475,27 +474,4 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Get-MgBetaDirectoryObjectMemberObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectmemberobject) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md index beba5529e816a..4e84dc23e7aa2 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectUserOwnedObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobjectuserownedobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Get-MgBetaDirectoryObjectUserOwnedObject --- @@ -48,6 +48,16 @@ This cmdlet has the following aliases, Retrieve a list of recently deleted application and group objects owned by the specified user. This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination. +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 + +{{ Add code here }} + ## PARAMETERS ### -AdditionalProperties @@ -73,7 +83,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -286,7 +296,7 @@ HelpMessage: '' ### -Type - +. ```yaml Type: System.String @@ -307,7 +317,7 @@ HelpMessage: '' ### -UserId - +. ```yaml Type: System.String @@ -378,7 +388,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [Type ]: [UserId ]: @@ -386,28 +396,5 @@ BODYPARAMETER ` [!NOTE] -> To view the v1.0 release of this cmdlet, view [New-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/New-MgDirectoryObject?view=graph-powershell-1.0) - ## SYNTAX ### CreateExpanded (Default) @@ -47,6 +44,16 @@ This cmdlet has the following aliases, Add new entity to directoryObjects +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 + +{{ Add code here }} + ## PARAMETERS ### -AdditionalProperties @@ -379,7 +386,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: directoryObject +BODYPARAMETER : directoryObject [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. @@ -389,27 +396,4 @@ Always null when the object hasn't been deleted. ## RELATED LINKS -- [New-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/new-mgbetadirectoryobject) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/new-mgbetadirectoryobject) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md index 87601ce063865..5fc01ee8da3b2 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Remove-MgBetaDirectoryObject.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Remove-MgBetaDirectoryObject --- @@ -15,9 +15,6 @@ title: Remove-MgBetaDirectoryObject Delete a directory object, for example, a group, user, application, or service principal. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Remove-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Remove-MgDirectoryObject?view=graph-powershell-1.0) - ## SYNTAX ### Delete (Default) @@ -48,18 +45,13 @@ This cmdlet has the following aliases, Delete a directory object, for example, a group, user, application, or service principal. ## EXAMPLES -### Example 1: Code snippet -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects Remove-MgBetaDirectoryObject -DirectoryObjectId $directoryObjectId -``` -This example shows how to use the Remove-MgBetaDirectoryObject Cmdlet. - - ## PARAMETERS ### -Break @@ -390,7 +382,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -398,27 +390,5 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Remove-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject) -- [Graph API Reference](https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-beta) - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/remove-mgbetadirectoryobject) +- [](https://learn.microsoft.com/graph/api/directoryobject-delete?view=graph-rest-beta) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md index d4a1c804b90c0..e2e5a19e4a7ff 100644 --- a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md +++ b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Test-MgBetaDirectoryObjectProperty.md @@ -4,7 +4,7 @@ external help file: Microsoft.Graph.Beta.DirectoryObjects-Help.xml HelpUri: https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/test-mgbetadirectoryobjectproperty Locale: en-US Module Name: Microsoft.Graph.Beta.DirectoryObjects -ms.date: 08/07/2026 +ms.date: 08/13/2026 PlatyPS schema version: 2024-05-01 title: Test-MgBetaDirectoryObjectProperty --- @@ -16,16 +16,13 @@ title: Test-MgBetaDirectoryObjectProperty Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. -The following validations are performed for the display name and mail nickname properties:\r1. -Validate the prefix and suffix naming policy\r2. -Validate the custom banned words policy\r3. +The following validations are performed for the display name and mail nickname properties:\r\n1. +Validate the prefix and suffix naming policy\r\n2. +Validate the custom banned words policy\r\n3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. -> [!NOTE] -> To view the v1.0 release of this cmdlet, view [Test-MgDirectoryObjectProperty](/powershell/module/Microsoft.Graph.DirectoryObjects/Test-MgDirectoryObjectProperty?view=graph-powershell-1.0) - ## SYNTAX ### ValidateExpanded (Default) @@ -58,25 +55,16 @@ This cmdlet has the following aliases, Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. For validating properties of an existing group, use the validateProperties function for groups. -The following validations are performed for the display name and mail nickname properties:\r1. -Validate the prefix and suffix naming policy\r2. -Validate the custom banned words policy\r3. +The following validations are performed for the display name and mail nickname properties:\r\n1. +Validate the prefix and suffix naming policy\r\n2. +Validate the custom banned words policy\r\n3. Validate the mail nickname is unique This API returns with the first failure encountered. If one or more properties fail multiple validations, only the property with the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you're only validating the prefix and suffix naming policy. -**Permissions** - -| Permission type | Permissions (from least to most privileged) | -| --------------- | ------------------------------------------ | -| Delegated (work or school account) | Group.Read.All, Directory.Read.All, Directory.ReadWrite.All, | -| Delegated (personal Microsoft account) | Not supported | -| Application | Group.Read.All, Directory.Read.All, Directory.ReadWrite.All, Group.ReadWrite.All, | - ## EXAMPLES -### Example 1: A successful validation request -```powershell +### EXAMPLE 1 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -89,12 +77,7 @@ $params = @{ Test-MgBetaDirectoryObjectProperty -BodyParameter $params -``` -This example will a successful validation request - -### Example 2: An unsuccessful validation request - -```powershell +### EXAMPLE 2 Import-Module Microsoft.Graph.Beta.DirectoryObjects @@ -107,10 +90,6 @@ $params = @{ Test-MgBetaDirectoryObjectProperty -BodyParameter $params -``` -This example will an unsuccessful validation request - - ## PARAMETERS ### -AdditionalProperties @@ -136,7 +115,7 @@ HelpMessage: '' ### -BodyParameter - +. To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ```yaml @@ -201,7 +180,7 @@ HelpMessage: '' ### -DisplayName - +. ```yaml Type: System.String @@ -222,7 +201,7 @@ HelpMessage: '' ### -EntityType - +. ```yaml Type: System.String @@ -306,7 +285,7 @@ HelpMessage: '' ### -MailNickname - +. ```yaml Type: System.String @@ -327,7 +306,7 @@ HelpMessage: '' ### -OnBehalfOfUserId - +. ```yaml Type: System.String @@ -504,7 +483,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: . +BODYPARAMETER : . [(Any) ]: This indicates any property can be added to this object. [DisplayName ]: [EntityType ]: @@ -514,27 +493,5 @@ BODYPARAMETER ` [!NOTE] -> To view the v1.0 release of this cmdlet, view [Update-MgDirectoryObject](/powershell/module/Microsoft.Graph.DirectoryObjects/Update-MgDirectoryObject?view=graph-powershell-1.0) - ## SYNTAX ### UpdateExpanded (Default) @@ -69,6 +66,16 @@ This cmdlet has the following aliases, Update entity in directoryObjects +## EXAMPLES + +### EXAMPLE 1 + +{{ Add code here }} + +### EXAMPLE 2 + +{{ Add code here }} + ## PARAMETERS ### -AdditionalProperties @@ -484,14 +491,14 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -BODYPARAMETER ``: directoryObject +BODYPARAMETER : directoryObject [(Any) ]: This indicates any property can be added to this object. [Id ]: The unique identifier for an entity. Read-only. [DeletedDateTime ]: Date and time when this object was deleted. Always null when the object hasn't been deleted. -INPUTOBJECT ``: Identity Parameter +INPUTOBJECT : Identity Parameter [CertificateAuthorityDetailId ]: The unique identifier of certificateAuthorityDetail [CertificateBasedAuthPkiId ]: The unique identifier of certificateBasedAuthPki [DirectoryObjectId ]: The unique identifier of directoryObject @@ -499,27 +506,4 @@ INPUTOBJECT ``: Identity Parameter ## RELATED LINKS -- [Update-MgBetaDirectoryObject](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/update-mgbetadirectoryobject) - - - - - - - - - - - - - - - - - - - - - - - +- [](https://learn.microsoft.com/powershell/module/microsoft.graph.beta.directoryobjects/update-mgbetadirectoryobject) From 635a72067a3ce437fc3ebb95a8c3f55df426f1d4 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 13 Aug 2026 04:35:02 +0000 Subject: [PATCH 3/9] Escaped disallowed html tags --- ...onfirm-MgBetaDirectoryObjectMemberGroup.md | 30 +++++++++++++--- ...nfirm-MgBetaDirectoryObjectMemberObject.md | 26 ++++++++++++-- .../Get-MgBetaDirectoryObject.md | 24 ++++++++++++- .../Get-MgBetaDirectoryObjectById.md | 24 ++++++++++++- .../Get-MgBetaDirectoryObjectCount.md | 22 ++++++++++++ .../Get-MgBetaDirectoryObjectDelta.md | 22 ++++++++++++ .../Get-MgBetaDirectoryObjectMemberGroup.md | 26 ++++++++++++-- .../Get-MgBetaDirectoryObjectMemberObject.md | 26 ++++++++++++-- ...et-MgBetaDirectoryObjectUserOwnedObject.md | 24 ++++++++++++- .../Microsoft.Graph.Beta.DirectoryObjects.md | 19 ++++++++++ .../New-MgBetaDirectoryObject.md | 24 ++++++++++++- .../Remove-MgBetaDirectoryObject.md | 24 ++++++++++++- .../Test-MgBetaDirectoryObjectProperty.md | 36 +++++++++++++++---- .../Update-MgBetaDirectoryObject.md | 26 ++++++++++++-- 14 files changed, 329 insertions(+), 24 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index b37f2e7555acf..9775a47e2bce9 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 67e863d1df405..ba57721fbd9ea 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 179c745407b86..b33d92ca4a7be 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 e02d57ab8a70e..b6fb1665fff84 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 3d16840793486..181dc698e7d79 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 4e84dc23e7aa2..edb7118fc3d89 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 5fc01ee8da3b2..9a4b898efc349 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 e2e5a19e4a7ff..be0e34db23aa3 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 f917a7a406e65f46f058b037981a5012ee177b1b Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 13 Aug 2026 04:47:48 +0000 Subject: [PATCH 4/9] Inserted permissions Table --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 8 ++++++++ .../Confirm-MgBetaDirectoryObjectMemberObject.md | 8 ++++++++ .../Get-MgBetaDirectoryObject.md | 8 ++++++++ .../Get-MgBetaDirectoryObjectById.md | 8 ++++++++ .../Get-MgBetaDirectoryObjectDelta.md | 8 ++++++++ .../Get-MgBetaDirectoryObjectMemberGroup.md | 8 ++++++++ .../Get-MgBetaDirectoryObjectMemberObject.md | 8 ++++++++ .../Test-MgBetaDirectoryObjectProperty.md | 8 ++++++++ 8 files changed, 64 insertions(+) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 9775a47e2bce9..43bf65a9f6d37 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 ba57721fbd9ea..9287649425817 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 b33d92ca4a7be..1a35f8f65826d 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 b6fb1665fff84..40de33a58323c 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 277e814d37682..f1fd3c73cce2c 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 7fda590381785..f7d4e63d01b84 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 181dc698e7d79..b1fc5d1cfec2a 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 be0e34db23aa3..e79db0cefeeec 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 d7c67453183661dcf9ee8d2a6e8e856569ca7163 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 13 Aug 2026 04:47:58 +0000 Subject: [PATCH 5/9] Updated metadata parameters --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 3 +++ .../Confirm-MgBetaDirectoryObjectMemberObject.md | 3 +++ .../Get-MgBetaDirectoryObject.md | 3 +++ .../Get-MgBetaDirectoryObjectById.md | 3 +++ .../Get-MgBetaDirectoryObjectCount.md | 3 +++ .../Get-MgBetaDirectoryObjectDelta.md | 3 +++ .../Get-MgBetaDirectoryObjectMemberGroup.md | 3 +++ .../Get-MgBetaDirectoryObjectMemberObject.md | 3 +++ .../New-MgBetaDirectoryObject.md | 3 +++ .../Remove-MgBetaDirectoryObject.md | 3 +++ .../Test-MgBetaDirectoryObjectProperty.md | 3 +++ .../Update-MgBetaDirectoryObject.md | 3 +++ 12 files changed, 36 insertions(+) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 43bf65a9f6d37..00f42f3770011 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 9287649425817..6ddd8b4152863 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 1a35f8f65826d..aeb7be0917099 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 40de33a58323c..134b93bac369a 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 84a740117c8b1..b81b28ac99de9 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 f1fd3c73cce2c..4e67ab62d5095 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 f7d4e63d01b84..8f1b0345cefbd 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 b1fc5d1cfec2a..b4c9d70063c64 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 8b5e2eb27de22..90dd6a871fc85 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 9a4b898efc349..9618a212e8537 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 e79db0cefeeec..728edc4f55ec4 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 b1818921c7d05..32c489d4cb2ec 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 a8ffb61ab97ec080af772dca784e03606db9d04c Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 13 Aug 2026 04:48:05 +0000 Subject: [PATCH 6/9] Repaired examples and descriptions --- ...onfirm-MgBetaDirectoryObjectMemberGroup.md | 7 +++- .../Get-MgBetaDirectoryObject.md | 7 +++- .../Get-MgBetaDirectoryObjectById.md | 7 +++- .../Get-MgBetaDirectoryObjectDelta.md | 36 ++++++++++++++----- .../Get-MgBetaDirectoryObjectMemberGroup.md | 7 +++- ...et-MgBetaDirectoryObjectUserOwnedObject.md | 11 +----- .../Remove-MgBetaDirectoryObject.md | 7 +++- .../Test-MgBetaDirectoryObjectProperty.md | 14 ++++++-- 8 files changed, 71 insertions(+), 25 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 00f42f3770011..d87fa7c075b96 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 aeb7be0917099..d39d14d1a0c4e 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 134b93bac369a..b5385903df8f3 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 4e67ab62d5095..2b4603245fb86 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 8f1b0345cefbd..9e56caddcb837 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 edb7118fc3d89..d691963c9fd4a 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: Thu, 13 Aug 2026 04:48:08 +0000 Subject: [PATCH 7/9] Remove boiler plate code injected by Autorest --- .../Confirm-MgBetaDirectoryObjectMemberObject.md | 11 +---------- .../Get-MgBetaDirectoryObjectCount.md | 11 +---------- .../Get-MgBetaDirectoryObjectMemberObject.md | 11 +---------- .../New-MgBetaDirectoryObject.md | 11 +---------- .../Update-MgBetaDirectoryObject.md | 11 +---------- 5 files changed, 5 insertions(+), 50 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberObject.md index 6ddd8b4152863..8ba9f698a2822 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 b81b28ac99de9..d9091ef22cb14 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 b4c9d70063c64..35d6500b85af3 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 90dd6a871fc85..3c8eb7294c948 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 32c489d4cb2ec..93f44125a8495 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 1d2ddc2c0ccd512103f10e29acdcda1e38091aa2 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 13 Aug 2026 04:48:11 +0000 Subject: [PATCH 8/9] Removed invalid full stops from the beginning of lines --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 4 ++-- .../Confirm-MgBetaDirectoryObjectMemberObject.md | 4 ++-- .../Get-MgBetaDirectoryObjectById.md | 6 +++--- .../Get-MgBetaDirectoryObjectMemberGroup.md | 4 ++-- .../Get-MgBetaDirectoryObjectMemberObject.md | 4 ++-- .../Get-MgBetaDirectoryObjectUserOwnedObject.md | 6 +++--- .../Test-MgBetaDirectoryObjectProperty.md | 10 +++++----- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index d87fa7c075b96..0f726d13a9ace 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 8ba9f698a2822..5db7c79866874 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 b5385903df8f3..9c2aba809ca81 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 9e56caddcb837..fd15541f62345 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 35d6500b85af3..dc760657932a6 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 d691963c9fd4a..48b05caac3de0 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 7d13972acf629..914b26a75dc90 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 20b77962547ce1b85cd4f574da973ea27d27d1da Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 13 Aug 2026 04:48:26 +0000 Subject: [PATCH 9/9] Corrected related link to conform to the new platyps rules --- .../Confirm-MgBetaDirectoryObjectMemberGroup.md | 4 ++-- .../Confirm-MgBetaDirectoryObjectMemberObject.md | 2 +- .../Get-MgBetaDirectoryObject.md | 4 ++-- .../Get-MgBetaDirectoryObjectById.md | 4 ++-- .../Get-MgBetaDirectoryObjectCount.md | 2 +- .../Get-MgBetaDirectoryObjectDelta.md | 4 ++-- .../Get-MgBetaDirectoryObjectMemberGroup.md | 4 ++-- .../Get-MgBetaDirectoryObjectMemberObject.md | 2 +- .../Get-MgBetaDirectoryObjectUserOwnedObject.md | 4 ++-- .../New-MgBetaDirectoryObject.md | 2 +- .../Remove-MgBetaDirectoryObject.md | 4 ++-- .../Test-MgBetaDirectoryObjectProperty.md | 4 ++-- .../Update-MgBetaDirectoryObject.md | 2 +- 13 files changed, 21 insertions(+), 21 deletions(-) diff --git a/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md b/microsoftgraph/graph-powershell-beta/Microsoft.Graph.Beta.DirectoryObjects/Confirm-MgBetaDirectoryObjectMemberGroup.md index 0f726d13a9ace..44cab7b6c26ea 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 5db7c79866874..a07c1917a0219 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 d39d14d1a0c4e..cca49723e7f6a 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 9c2aba809ca81..6965a920b6703 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 dc760657932a6..afc308d2477eb 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 48b05caac3de0..34c22a3614d94 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 914b26a75dc90..8b20681b6d22d 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)