Set-EntraDirSyncConfiguration
Modifies the directory synchronization settings.
Syntax
Set-EntraDirSyncConfiguration
-AccidentalDeletionThreshold <UInt32>
[-Force]
[-TenantId <Guid>]
[<CommonParameters>]
Description
The Set-EntraDirSyncConfiguration
cmdlet modifies the directory synchronization settings.
Examples
Example 1: Set directory synchronization settings
Set-EntraDirSyncConfiguration -AccidentalDeletionThreshold 600 -Force
This command sets directory synchronization settings.
Example 2: Set directory synchronization settings for a Tenant
$params = @{
AccidentalDeletionThreshold = 600
TenantId = 'bbbbcccc-1111-dddd-2222-eeee3333ffff'
Force = $true
}
Set-EntraDirSyncConfiguration @params
This command sets directory synchronization settings.
Parameters
-AccidentalDeletionThreshold
Specifies the accidental deletion prevention configuration for a tenant.
Type: | System.UInt32 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Force
Forces the command to run without asking for user confirmation.
Type: | System.Management.Automation.SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TenantId
Specifies the unique ID of the tenant on which to perform the operation. The default value is the tenant of the current user. This parameter applies only to partner users.
Type: | System.String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
System.UInt32
System.Guid
Outputs
System.Object
Notes
- For additional details see Update onPremisesDirectorySynchronization.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for