設定已刪除使用者的 OneDrive 保留Set the OneDrive retention for deleted users

如果使用者的 Microsoft 365 帳戶已刪除,則其 OneDrive 檔案會保留一段時間。If a user's Microsoft 365 account is deleted, their OneDrive files are preserved for a period of time. 您可以設定此時間週期。You can set this time period.

設定 OneDrive 帳戶的保留時間To set the retention time for OneDrive accounts

  1. 以全域或 SharePoint 系統管理員身分登入 OneDrive 系統管理中心 ,然後在左窗格中選取 [ 儲存 ]。Sign in to the OneDrive admin center as a global or SharePoint admin, and select Storage in the left pane.

    OneDrive 系統管理中心的 [儲存] 頁面

  2. OneDrive 輸入在將 使用者帳戶標示為 [刪除 ] 方塊後,在 OneDrive 中保留檔案的天數。Enter the number of days you want to keep the OneDrive files in the Days to retain files in OneDrive after a user account is marked for deletion box.

    會為已刪除的下一個使用者以及正在刪除的任何使用者啟用此設定。The setting is activated for the next user that is deleted as well as any users that are in the process of being deleted. 當使用者帳戶在 Microsoft 365 系統管理中心中刪除時,便會立即開始計數,即使刪除程式需要時間也是一樣。The count begins as soon as the user account was deleted in the Microsoft 365 admin center, even though the deletion process takes time. 最小值為30天,而最大值為3650天 (10 年) 。The minimum value is 30 days and the maximum value is 3650 days (10 years).

  3. 按一下 [儲存]Click Save.

刪除組織中的使用者Delete a user from your organization

設定 OneDrive 以在使用者離開組織時自動提醒管理員及委派存取權Set up OneDrive to alert managers and delegate access automatically when users leave your organization

保留原則概觀Overview of retention policies