Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 495 Bytes

File metadata and controls

23 lines (18 loc) · 495 Bytes
description Automatically generated file. DO NOT MODIFY
Import-Module Microsoft.Graph.Identity.DirectoryManagement

$params = @{
	configuration = @{
		accidentalDeletionPrevention = @{
			synchronizationPreventionType = "enabledForCount"
			alertThreshold = 500
		}
	}
	features = @{
		groupWriteBackEnabled = $true
	}
}

Update-MgDirectoryOnPremiseSynchronization -OnPremisesDirectorySynchronizationId $onPremisesDirectorySynchronizationId -BodyParameter $params