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

想要如何刪除您在工作或學校使用的 自己 的 Microsoft 365 使用者帳戶?請聯繫您工作或學校的技術支援人員,為您執行這些步驟。Looking for how to delete your own Microsoft 365 user account that you use at work or school? Contact the technical support at your work or university to do these steps for you.

刪除使用者的注意事項What you need to know about deleting users

  • 只有擁有公司或學校之 Microsoft 365 全域系統管理員 或使用者管理許可權的人員才能刪除使用者帳戶。Only people who have Microsoft 365 global admin or User management permissions for the business or school can delete user accounts.
  • 在永久刪除使用者資料之前,您有 30 天的期限可以還原帳戶。You have 30 days to restore the account before the user's data is permanently deleted.
  • 如果您想要保留使用者的 OneDrive 資料,請將其移到不同的位置。If you want to keep the user's OneDrive data, move it to a different location. 您甚至可以在刪除帳戶後的30天內移動資料。You can even move the data up to 30 days after deleting the account. 請參閱存取及備份離職使用者的資料See Get access to and back up a former user's data. 您不需要移動他們的 SharePoint 檔案;您仍然可以存取這些檔案。You don't need to move their SharePoint files; you'll still have access to them.
  • 如果您想要保留使用者的電子郵件,請在刪除帳戶 之前 ,將電子郵件移到不同的位置。如果您已刪除帳戶:如果尚未經過 30 天,則您可以還原帳戶、移動電子郵件資料,然後再刪除帳戶。請參閱 存取及備份離職使用者的資料 (機器翻譯)。If you want to keep the user's email, BEFORE you delete the account, move the email to a different location. If you've already deleted the account: if it's been less than 30 days you can restore it, then move the email data, then delete the account. See Get access to and back up a former user's data.
  • 如果您的企業訂閱如 Office 365 企業版 E3,您可以將已刪除之使用者帳戶的信箱資料,將其變成非使用中的 信箱,以加以保留。If you have an Enterprise subscription like Office 365 Enterprise E3, you can preserve the mailbox data of a deleted user account by turning it into an inactive mailbox. To learn more, see Manage inactive mailboxes in Exchange Online.To learn more, see Manage inactive mailboxes in Exchange Online.

全域管理員:刪除使用者、停止支付其授權,並選擇要如何處理他們的電子郵件和 OneDrive 內容。Global admin: Delete a user, stop paying for their license, and choose what to do with their email and OneDrive content

如果您是全域系統管理員,當您刪除使用者時,您也可以讓其他使用者存取他們的電子郵件,並選擇要如何處理其 OneDrive 內容。If you are a global administrator, when you delete a user you can also give another user access to their email, and choose what to do with their OneDrive content.

考量事項...Things to consider...

開始之前,請先考慮您想要如何處理使用者的電子郵件和 OneDrive 內容,以及您是否要保留授權或停止付款。Before you begin, think about what you want to do with the user's email and OneDrive content, and whether you want to keep the license or stop paying for it.

項目Item 描述Description
產品授權Product licenses
您可以從使用者移除授權,並將其從您的訂閱中移除,以停止支付該授權。You can remove the license from the user and remove it from your subscriptions to stop paying for that license. 如果您選取此選項,則會自動從您的訂閱中移除授權。If you select this option, the license will be removed automatically from your subscriptions.

如果您是透過合作夥伴或大量授權購買,您就無法移除授權You can't remove the license if you bought it through a Partner or volume licensing. 如果您是支付年度計畫,或是您正在計費週期的中央,您將無法在您的承諾完成之前,從訂閱中移除授權。If you're paying for an annual plan or if you're in the middle of a billing cycle, you won't be able to remove the license from your subscription until your commitment is completed.
OneDrive 內容OneDrive content
如果使用者將其檔案儲存為 OneDrive,您可以授予另一個使用者存取這些檔案的許可權。If the user saved their files to OneDrive, you can give another user access to these files.

您必須將想要保留的檔案移至 OneDrive 檔設定的保留期間內。You'll need to move the files you want to keep within the retention period that is set for OneDrive files. 根據預設,保留期間是30天。By default, the retention period is 30 days. 如果您在刪除使用者之後未移動保留期間內的檔案,則會永久刪除 OneDrive 內容。If you don't move the files within the retention period after deleting the user, the OneDrive content will be permanently deleted. 若要增加您為已刪除的帳戶 OneDrive 的檔案保留天數,請參閱 設定已刪除使用者的 OneDrive 保留To increase the number of days that you retain OneDrive files for deleted accounts, see Set the OneDrive retention for deleted users.

重要!Important! 如果刪除的使用者使用個人電腦從 SharePoint 和 OneDrive 下載檔案,您就無法在其電腦上擦除儲存的檔案。If the deleted user used a personal computer to download files from SharePoint and OneDrive, there's no way for you to wipe those files they stored on their computer. 他們將繼續存取所有從 OneDrive 同步處理的檔案。They will continue to have access to any files that were synced from OneDrive.
電子郵件Email
授與另一個使用者對已刪除使用者之電子郵件的存取權,會將刪除的使用者信箱轉換成共用信箱。Giving another user access to the deleted user's email will convert the deleted user's mailbox to a shared mailbox. 然後新的信箱擁有者可以存取信箱,並監視新的電子郵件。The new mailbox owner can then access the mailbox and monitor for new email. 您也會有下列選項:You'll also have the following options:

變更顯示名稱-建議您變更顯示名稱,以便在作用中 使用者 清單中識別共用信箱。Change the display name - We recommend changing the display name so that it will be easy to identify the shared mailbox in the Active users list.
開啟自動回復-我們已經為您撰寫了禮貌的自動回復。Turn on automatic replies - We've already written a polite automatic reply for you. 您可以將不同的自動回復傳送給組織內的人員,以及組織外的人員。You can send different automatic replies to people within your organization and people from outside your organization.

清除別名-別名是使用者的其他電子郵件地址。Clean up aliases - Aliases are additional email addresses for users. 有些組織並未使用它們,否則您不需要在這裡做任何其他事情。Some organizations don't use them, so if you don't have any you don't need to do anything else here. 如果使用者確實有別名,我們建議您將其移除,這樣您就可以重複使用這些電子郵件地址。If the user does have aliases, we recommend removing them so that you can reuse those email addresses. 否則,您無法重複使用這些電子郵件地址,直到已刪除信箱的保留期間已經過去為止。Otherwise, you can't reuse those email addresses until the retention period for deleted mailboxes has passed. 根據預設,已刪除的信箱可復原30天。By default, a deleted mailbox is recoverable for 30 days. 如需詳細資訊,請參閱 刪除或還原 Exchange Online 中的使用者信箱For more information, see Delete or restore user mailboxes in Exchange Online.
Active DirectoryActive Directory
如果您的公司使用與 Azure AD 同步處理的 Active Directory ,您必須從 Active Directory 中刪除使用者帳戶。If your business uses Active Directory that is synchronizing with Azure AD, you need to delete the user account from Active Directory. 您無法透過 Office 365 執行這個動作。You can't do it through Office 365. 如需相關指示,請參閱 刪除使用者帳戶For instructions, see Delete a User Account.

快速入門Get started

由於引導體驗逐步逐步完成刪除使用者的步驟,以下是如何開始的方式。Since the guided experience walks through the steps to delete a user, here's how to get started.

  1. 在系統管理中心中,移至 [使用者] > [作用中使用者] 頁面。In the admin center, go to the Users > Active users page.
  1. 在系統管理中心中,移至 [使用者] > [作用中使用者] 頁面。In the admin center, go to the Users > Active users page.
  1. 在系統管理中心中,移至 [使用者] > [作用中使用者] 頁面。In the admin center, go to the Users > Active users page.
  1. 選取您要刪除的使用者,然後選取 [ 刪除使用者]。Select the user that you want to delete, and then select Delete user.

使用者管理:從 Office 365 刪除一或多個使用者User management admin: Delete one or more users from Office 365

重要

如果您已將使用者的帳戶 轉換成共用信箱 ,或已設定該帳戶的電子郵件轉寄功能,請勿刪除使用者帳戶。Don't delete a user's account if you've converted it to a shared mailbox or if you've set up email forwarding on the account. 這些函數仍然需要該帳戶。Those functions still need the account. 共用信箱不需要授權。A shared mailbox doesn't require a license. 如果您已將帳戶轉換成共用信箱,您可以 停止支付授權If you've converted the account to a shared mailbox you can Stop paying for the license. 如果您已設定帳戶的電子郵件轉寄功能,您就無法移除授權。If you've set up email forwarding on the account, you can't remove the license. 這樣做會停止電子郵件轉發並停用信箱。Doing so will stop email forwarding and deactivate the mailbox.

  1. 在系統管理中心中,移至 [使用者] > [作用中使用者] 頁面。In the admin center, go to the Users > Active users page.

  2. 選取您要刪除的使用者名稱,然後選取 [ 更多選項 (...) ],然後選擇 [ 刪除使用者]。Select the names of the users that you want to delete, select More options (...), and then choose Delete user.

    雖然您已刪除使用者的帳戶,但 仍在支付授權Although you deleted the user's account, you're still paying for the license. 請參閱下一個步驟,以停止支付授權。See the next procedure to stop paying for the license. 或者,您可以將授權指派給其他使用者。Or, you can assign the license to another user. 它不會自動指派給某人。It won't be assigned to someone automatically.

  1. 在系統管理中心中,移至 [使用者] > [作用中使用者] 頁面。In the admin center, go to the Users > Active users page.

  2. 選取您要刪除的使用者名稱,然後在 [ 大量動作 ] 窗格中,選擇 [ 刪除使用者]。Select the names of the users that you want to delete, and in the Bulk actions pane, choose Delete users.

    雖然您已刪除使用者的帳戶,但 仍在支付授權Although you deleted the user's account, you're still paying for the license. 請參閱下一個步驟,以停止支付授權。See the next procedure to stop paying for the license. 或者,您可以將授權指派給其他使用者。Or, you can assign the license to another user. 它不會自動指派給某人。It won't be assigned to someone automatically.

  1. 在系統管理中心中,移至 [使用者] > [作用中使用者] 頁面。In the admin center, go to the Users > Active users page.

  2. 選取您要刪除的使用者名稱,然後在 [ 大量動作 ] 窗格中,選擇 [ 刪除使用者]。Select the names of the users that you want to delete, and in the Bulk actions pane, choose Delete users.

    雖然您已刪除使用者的帳戶,但 仍在支付授權Although you deleted the user's account, you're still paying for the license. 請參閱下一個步驟,以停止支付授權。See the next procedure to stop paying for the license. 或者,您可以將授權指派給其他使用者。Or, you can assign the license to another user. 它不會自動指派給某人。It won't be assigned to someone automatically.

停止支付授權費用Stop paying for the license

減少授權數量是一項獨立的步驟,只能由全域系統管理員或計費系統管理員來執行。Reducing the number of licenses is a separate step that can only be performed by the global admin or billing admin.

  1. 在系統管理中心,移至 [帳單 ] > [您的產品 ] 頁面。In the admin center, go to the Billing > Your products page. 如果您未看到此選項,則表示您不是全域系統管理員或計費系統管理員,且無法執行此步驟。If you don't see this option, you aren't a global admin or billing admin, and can't do this step.

  2. 在 [ 產品 ] 索引標籤上,選取您要移除授權的訂閱。On the Products tab, select the subscription that you want to remove licenses for.

  3. 在訂閱詳細資料頁面上,選取 [移除授權]On the subscription details page, select Remove licenses.

  4. 在 [ 移除授權 ] 窗格中的 [ 新數量] 底下的 [ 授權總數 ] 方塊中,輸入此訂閱所需的授權總數。In the Remove licenses pane, under New quantity, in the Total licenses box, enter the total number of licenses that you want for this subscription. 例如,如果您有100授權,而且想要移除五個,請輸入95。For example, if you have 100 licenses and you want to remove five of them, enter 95.

  5. 選取 [儲存]。Select Save.

稍後當您執行步驟以將其他人員新增至您的公司時,系統會提示您同時購買授權,只需一個步驟即可!Later when you go through the steps to add another person to your business, you'll be prompted to buy a license at the same time, with just one step!

  1. 在系統管理中心中,前往 [帳單] > [訂閱] 頁面。In the admin center, go to the Billing > Subscriptions page. 如果您未看到此選項,則表示您不是全域系統管理員或計費系統管理員,且無法執行此步驟。If you don't see this option, you aren't a global admin or billing admin, and can't do this step.

  2. 如果您有多個) ,請選取 [訂閱 (],然後選取 [ 新增/移除 授權以刪除授權],以便在您雇用其他人員之前不必支付。Select the subscription (if you have more than one) and then select Add/Remove licenses to delete the license so you don't pay for it until you hire another person.

    稍後當您執行步驟以將其他人員新增至您的公司時,系統會提示您同時購買授權,只需一個步驟即可!Later when you go through the steps to add another person to your business, you'll be prompted to buy a license at the same time, with just one step!

  1. 在系統管理中心中,前往 [帳單] > [訂閱] 頁面。In the admin center, go to the Billing > Subscriptions page. 如果您未看到此選項,則表示您不是全域系統管理員或計費系統管理員,且無法執行此步驟。If you don't see this option, you aren't a global admin or billing admin, and can't do this step.

  2. 如果您有多個) ,請選取 [訂閱 (],然後選取 [ 新增/移除 授權以刪除授權],以便在您雇用其他人員之前不必支付。Select the subscription (if you have more than one) and then select Add/Remove licenses to delete the license so you don't pay for it until you hire another person.

    稍後當您執行步驟以將其他人員新增至您的公司時,系統會提示您同時購買授權,只需一個步驟即可!Later when you go through the steps to add another person to your business, you'll be prompted to buy a license at the same time, with just one step!

同時刪除多個使用者Delete many users at the same time

請參閱 Remove-MsolUser PowerShell Cmdlet。See the Remove-MsolUser PowerShell cmdlet.

修正刪除使用者的問題Fix issues with deleting a user

以下是使用者刪除使用者時遇到的最常見問題:Here are the most common issues people encounter when deleting a user:

  • 您會收到錯誤訊息,指出無法刪除使用者行。請稍後再試一次。」You get an error message along the lines of "User cannot be deleted. Please try again later." 請仔細檢查帳戶是否已設定電子郵件轉寄功能,或是否已轉換成共用信箱。Double-check whether the account has email forwarding set up on it, or it's been converted to a shared mailbox. 這兩種情況都會導致該錯誤。Both of these will cause that error. 若帳戶有電子郵件轉寄或已轉換成共用信箱,請勿刪除帳戶。Don't delete the account if it has email forwarding or it's been converted to a shared mailbox.

  • 您沒有適當的權限可刪除使用者You don't have the appropriate permissions to delete a user. 只有 Microsoft 365 全域系統管理員或使用者管理系統管理員 可以刪除使用者。Only people who are Microsoft 365 global admins or user management admins can delete users. 這通常需要您的學校或公司提供技術支援。Usually this is the technical support in your school or business.

  • 您刪除了某個使用者,但對方的名稱仍在您的全域通訊錄中出現You delete the user but their name continues appear in your global address book. 如果公司使用 Active Directory,就會發生這個問題。This happens when a business is using Active Directory. 您必須刪除 Active Directory 中的使用者帳戶。You must delete the users account from Active Directory. 如需相關指示,請參閱 刪除使用者帳戶。For instructions, see Delete a User Account.

您想要從您的電腦刪除 Microsoft 365 嗎?移至 [ 取消您的訂閱]。Do you want to delete Microsoft 365 from your computer? Go to Cancel your subscription.

還原使用者Restore a user

永久刪除信箱Permanently delete a mailbox

從 Office 365 中移除前任員工Remove a former employee from Office 365

將新進員工加入 Office 365Add a new employee to Office 365

刪除使用者帳戶:如果您的公司使用與 Azure AD 同步處理的 Active Directory ,請使用這些指示。Delete a User Account: Use these instructions if your business uses Active Directory that is synchronizing with Azure AD. 您無法透過 Office 365 執行這個動作。You can't do it through Office 365.