MS 365 chạm giới hạn số lượng xóa user cùng lúc

Để tránh xóa nhầm, trên hệ thống AAD Connect sẽ có giới hạn số lượng user xóa trong cùng 1 lượt: 

https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-sync-feature-prevent-accidental-deletes

Giới hạn mặc định: 500

Cách check:

Trên server AAD Connect, mở powershell chạy lệnh:

Get-ADSyncExportDeletionThreshold

và nhập tài khoản Admin 365 

Để thay đổi hạn mức, ví dụ 980:

Enable-ADSyncExportDeletionThreshold -DeletionThreshold 980 

Sau khi xóa xong nên chỉnh lại hạn mức thấp xuống như cũ cho an toàn

No comments:

Post a Comment

Reset time cho remote desktop

# Remove-RDSTimebomb.ps1 # Remove registry value start with "L$RTMTIMEBOMB" in key GracePeriod # Require: run as Administrator $Er...