From 4b02d3d0af945b5003371467f6fa2ca5f23d561b Mon Sep 17 00:00:00 2001 From: Steve Mutungi <132555836+SteveMutungi254@users.noreply.github.com> Date: Fri, 25 Oct 2024 05:56:31 +0000 Subject: [PATCH] Improvements on directory sync features and configurations --- .../Get-EntraBetaDirSyncConfiguration.md | 5 +++-- .../Get-EntraBetaDirSyncFeature.md | 10 +++++----- .../Get-EntraDirSyncConfiguration.md | 5 +++-- .../Microsoft.Graph.Entra/Get-EntraDirSyncFeature.md | 10 +++++----- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/module/docs/entra-powershell-beta/Microsoft.Graph.Entra.Beta/Get-EntraBetaDirSyncConfiguration.md b/module/docs/entra-powershell-beta/Microsoft.Graph.Entra.Beta/Get-EntraBetaDirSyncConfiguration.md index cf174aa3a..4783228b6 100644 --- a/module/docs/entra-powershell-beta/Microsoft.Graph.Entra.Beta/Get-EntraBetaDirSyncConfiguration.md +++ b/module/docs/entra-powershell-beta/Microsoft.Graph.Entra.Beta/Get-EntraBetaDirSyncConfiguration.md @@ -33,7 +33,7 @@ Get-EntraBetaDirSyncConfiguration ## Description -The `Get-EntraBetaDirSyncConfiguration` cmdlet gets the directory synchronization settings. +The `Get-EntraBetaDirSyncConfiguration` cmdlet gets the directory synchronization settings. See [configuration settings](https://learn.microsoft.com/graph/api/resources/onpremisesaccidentaldeletionprevention#properties) details. For delegated scenarios, the user needs to be assigned the Global Administrator role. @@ -58,7 +58,8 @@ This example gets directory synchronization settings. ```powershell Connect-Entra -Scopes 'OnPremDirectorySynchronization.ReadWrite.All' -Get-EntraBetaDirSyncConfiguration -TenantId 'aaaabbbb-0000-cccc-1111-dddd2222eeee' +$tenant = Get-EntraBetaTenantDetail +Get-EntraBetaDirSyncConfiguration -TenantId $tenant.Id ``` ```Output diff --git a/module/docs/entra-powershell-beta/Microsoft.Graph.Entra.Beta/Get-EntraBetaDirSyncFeature.md b/module/docs/entra-powershell-beta/Microsoft.Graph.Entra.Beta/Get-EntraBetaDirSyncFeature.md index f763eed74..448a6fb35 100644 --- a/module/docs/entra-powershell-beta/Microsoft.Graph.Entra.Beta/Get-EntraBetaDirSyncFeature.md +++ b/module/docs/entra-powershell-beta/Microsoft.Graph.Entra.Beta/Get-EntraBetaDirSyncFeature.md @@ -34,7 +34,9 @@ Get-EntraBetaDirSyncFeature ## Description -The `Get-EntraBetaDirSyncFeature` cmdlet checks the status of directory synchronization features for a tenant. +The `Get-EntraBetaDirSyncFeature` cmdlet checks the status of directory sync features for a tenant. If no features are specified, it returns a list of all features and their enabled or disabled status. + +For delegated scenarios, the user needs to be assigned the Global Administrator role. Some of the features that can be used with this cmdlet include: @@ -48,9 +50,7 @@ Some of the features that can be used with this cmdlet include: - **UnifiedGroupWriteback** - **UserWriteback** -The cmdlet can be run without specifying any features, in which case it returns a list of all features and their enabled or disabled status. - -For delegated scenarios, the user needs to be assigned the Global Administrator role. +To view all supported features, see the [complete feature list](https://learn.microsoft.com/graph/api/resources/onpremisesdirectorysynchronizationfeature#properties). ## Examples @@ -124,7 +124,7 @@ Accept wildcard characters: False ### -Feature -The directory synchronization feature to check the status of. +The directory sync feature to check. See the [complete feature list](https://learn.microsoft.com/graph/api/resources/onpremisesdirectorysynchronizationfeature#properties). ```yaml Type: System.String diff --git a/module/docs/entra-powershell-v1.0/Microsoft.Graph.Entra/Get-EntraDirSyncConfiguration.md b/module/docs/entra-powershell-v1.0/Microsoft.Graph.Entra/Get-EntraDirSyncConfiguration.md index a771858b4..cd6d8ca44 100644 --- a/module/docs/entra-powershell-v1.0/Microsoft.Graph.Entra/Get-EntraDirSyncConfiguration.md +++ b/module/docs/entra-powershell-v1.0/Microsoft.Graph.Entra/Get-EntraDirSyncConfiguration.md @@ -33,7 +33,7 @@ Get-EntraDirSyncConfiguration ## Description -The `Get-EntraDirSyncConfiguration` cmdlet gets the directory synchronization settings. +The `Get-EntraDirSyncConfiguration` cmdlet gets the directory synchronization settings. See [configuration settings](https://learn.microsoft.com/graph/api/resources/onpremisesaccidentaldeletionprevention#properties) details. For delegated scenarios, the user needs to be assigned the Global Administrator role. @@ -58,7 +58,8 @@ This example gets directory synchronization settings. ```powershell Connect-Entra -Scopes 'OnPremDirectorySynchronization.ReadWrite.All' -Get-EntraDirSyncConfiguration -TenantId 'aaaabbbb-0000-cccc-1111-dddd2222eeee' +$tenant = Get-EntraTenantDetail +Get-EntraDirSyncConfiguration -TenantId $tenant.Id ``` ```Output diff --git a/module/docs/entra-powershell-v1.0/Microsoft.Graph.Entra/Get-EntraDirSyncFeature.md b/module/docs/entra-powershell-v1.0/Microsoft.Graph.Entra/Get-EntraDirSyncFeature.md index 6b0d0dcab..6ef66b16b 100644 --- a/module/docs/entra-powershell-v1.0/Microsoft.Graph.Entra/Get-EntraDirSyncFeature.md +++ b/module/docs/entra-powershell-v1.0/Microsoft.Graph.Entra/Get-EntraDirSyncFeature.md @@ -34,7 +34,9 @@ Get-EntraDirSyncFeature ## Description -The `Get-EntraDirSyncFeature` cmdlet checks the status of directory synchronization features for a tenant. +The `Get-EntraDirSyncFeature` cmdlet checks the status of directory sync features for a tenant. If no features are specified, it returns a list of all features and their enabled or disabled status. + +For delegated scenarios, the user needs to be assigned the Global Administrator role. Some of the features that can be used with this cmdlet include: @@ -48,9 +50,7 @@ Some of the features that can be used with this cmdlet include: - **UnifiedGroupWriteback** - **UserWriteback** -The cmdlet can be run without specifying any features, in which case it returns a list of all features and their enabled or disabled status. - -For delegated scenarios, the user needs to be assigned the Global Administrator role. +To view all supported features, see the [complete feature list](https://learn.microsoft.com/graph/api/resources/onpremisesdirectorysynchronizationfeature#properties). ## Examples @@ -124,7 +124,7 @@ Accept wildcard characters: False ### -Feature -The directory synchronization feature to check the status of. +The directory sync feature to check. See the [complete feature list](https://learn.microsoft.com/graph/api/resources/onpremisesdirectorysynchronizationfeature#properties). ```yaml Type: System.String