当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 永久清除以前的邮箱信息

作者:精品下载站 日期:2024-12-14 18:37:14 浏览:13 分类:玩电脑

永久清除以前的邮箱信息


如何在Office 365中删除邮箱而不删除用户?完全删除用户意味着邮箱将被删除,包括 OneDrive 和 SharePoint 文件。相反,您希望保留用户并删除邮箱,因为他们拥有 OneDrive 或 Sharepoint 文件。本文将介绍如何永久清除以前的邮箱信息并在 Office 365 中保留用户身份。

介绍

当一切都经过测试和规划后,将邮箱迁移到 Office 365 会很棒。但是,您可能会发现同一用户身份的本地邮箱和云中的邮箱。发生这种情况时,意味着本地和云之间的 Azure AD Connect 同步出现问题。因此,必须解决这个问题,因为如果不这样做,就会发生邮件流问题。

当您在本地邮箱与 Azure AD Connect 同步到云之前将 Exchange Online 许可证添加到本地邮箱时,会出现这些问题。

注意: Microsoft 提供PermanentlyClearPreviousMailboxInfo 参数来删除 Exchange Online 中的邮箱并将用户保留在云中。

如何永久清除以前的邮箱信息

要删除 Exchange Online 邮箱,请按照以下步骤操作:

1. 连接到 Exchange Online PowerShell

以管理员身份运行 Windows PowerShell 并连接到 Exchange Online PowerShell。

PS C:\> Connect-ExchangeOnline

2.获取用户信息

运行 Get-User cmdlet 以检查状态。

PS C:\> Get-User [email protected] | Select-Object Name,*Recipient*

Name          PreviousRecipientTypeDetails RecipientType RecipientTypeDetails
----          ---------------------------- ------------- --------------------
Richard Grant                  UserMailbox      MailUser    RemoteUserMailbox

3.清除以前的邮箱信息

运行包含 -PermanentlyClearPreviousMailboxInfo 参数的 Set-User cmdlet 以删除云中的邮箱。输入Y并按Enter

PS C:\> Set-User [email protected] -PermanentlyClearPreviousMailboxInfo

Confirm
Are you sure you want to perform this action?
Delete all existing information about user Identity:'[email protected]'?. This operation will clear existing
values from Previous home MDB and Previous Mailbox GUID of the user. After deletion, reconnecting to the previous
mailbox that existed in the cloud will not be possible and any content it had will be unrecoverable PERMANENTLY.
Do you want to continue?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): Y

邮箱已成功删除,用户身份在云端仍然可用。

了解更多:从 Office 365 永久删除用户 »

结论

您了解了如何永久清除以前的邮箱信息。首先,检查用户身份。之后,运行PermanentlyClearPreviousMailboxInfo参数从云中删除邮箱。但在此之前,请确保导出邮箱数据(如果有)。否则,数据将被永久删除。

您喜欢这篇文章吗?您可能还喜欢 Exchange Hybrid 中邮箱类型的差异。不要忘记关注我们并分享这篇文章。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯