onPremisesAccidentalDeletionPrevention resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Contains the accidental deletion prevention configuration for a tenant. This configuration is geared at administrators who accidentally make an on-premises Active Directory change which results in deleting a large number of items on Microsoft Entra ID.

Properties

Property Type Description
alertThreshold Int32 Threshold value which triggers accidental deletion prevention. The threshold is either an absolute number of objects or a percentage number of objects.
synchronizationPreventionType onPremisesDirectorySynchronizationDeletionPreventionType The status of the accidental deletion prevention feature. The possible values are: disabled, enabledForCount, enabledForPercentage, unknownFutureValue.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.onPremisesAccidentalDeletionPrevention",
  "synchronizationPreventionType": "String",
  "alertThreshold": "Integer"
}