Skip to content

Commit 328e5fd

Browse files
authored
Merge pull request #114615 from tajaber/patch-9
Update reference-powershell.md
2 parents 14780e3 + 57e7cb9 commit 328e5fd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

articles/active-directory/hybrid/cloud-sync/reference-powershell.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,21 @@ This cmdlet modifies *AADConnectProvisioningAgent.exe.config* to disable verbose
142142

143143
This cmdlet pauses synchronization.
144144

145+
### Disable-AADCloudSyncToolsDirSyncAccidentalDeletionPrevention
146+
147+
Disables accidentalDeletionPrevention tenant feature
148+
``` powershell
149+
Disable-AADCloudSyncToolsDirSyncAccidentalDeletionPrevention -tenantId <TenantId>
150+
```
151+
152+
This cmdlet requires `TenantId` of the Azure AD tenant. It will verify if Accidental Deletion Prevention feature, set on the tenant with Azure AD Connect (ADSync, not Cloud Sync), is enabled and disables it.
153+
154+
#### Example:
155+
``` powershell
156+
Disable-AADCloudSyncToolsDirSyncAccidentalDeletionPrevention -tenantId "340ab039-1234-5678-9012-28fe88f83980"
157+
```
158+
159+
145160
## Next steps
146161

147162
- [What is provisioning?](../what-is-provisioning.md)

0 commit comments

Comments
 (0)