本文档介绍如何在AsyncOS 13.0及更高版本中为Exchange Online、Exchange内部部署、混合部署和多租户部署配置邮箱自动补救(MAR)功能。
MAR在AsyncOS 10.0中引入,仅支持Microsoft Office 365 Online。
AsyncOS 13.0和更新的功能包括:
Microsoft Office 365原始MAR设置指南中提供了初始设置步骤,以及一个描述AsyncOS 13.0及更新版本更改的附录。
原始文章仍然有效,并包含对功能的说明,以及为Microsoft Office 365 Azure实施、ESA设置和常规故障排除生成证书的步骤。
如何配置ESA的Azure AD和Office 365邮箱设置
对13.0的Azure API权限的新更改
当前的用户指南提供了有关自动补救功能的更多详细信息。
请参阅标题为“自动修复邮箱中的邮件”的章节。
ESA 13.0和更新的版本支持使用Exchange Online和/或Exchange内部部署创建多个帐户配置文件:
在Azure中为Microsoft Office 365创建帐户配置文件的说明包含在“问题”部分的参考文章中。
选择Office 365混合图形API以配置在Exchange Online上部署的邮箱,并输入以下详细信息:
连接到O365的示例配置文件Exchange Online帐户配置文件示例为Exchange内部部署实例创建帐户配置文件需要具有ApplicationImpersonation角色和有效主机值的用户帐户。
此方法需要具有ApplicationImpersonation角色的指定Exchange内部部署服务帐户。
交换内部部署配置文件示例交换内部部署帐户配置文件示例
MAR帐户配置文件示例MAR帐户配置文件示例域映射是将一个或多个域分配到帐户配置文件。
每个实施至少需要一个域映射:
域映射示例域映射示例
图1.可接受的域格式可接受的域格式
域映射示例域映射示例仅当在属于混合部署或多租户部署的邮箱中修复邮件时,才配置链接配置文件。
按优先级顺序添加配置文件,首先使用最频繁的域配置文件。
链配置文件创建。链接配置文件创建通过点击单个配置文件中的测试连接按钮确认每个帐户配置文件。
测试每个配置文件以验证连接是否成功测试帐户配置文件的连接日志包含:
许多信息都可以通过帐户设置中的邮件测试来确定。
SMTP地址没有与其关联的邮箱。
正在使用的用户邮箱不存在。
Access is denied.请检查凭据并重试。
在Microsoft Azure中配置的应用程序没有访问Microsoft Office 365邮箱所需的API权限。
在目录<tenant_id>中找不到标识符为<client_id>的应用程序。
帐户配置文件设置页面上的客户端ID无效。
在数据存储中找不到名为<tenant_id>的服务命名空间。
帐户配置文件设置页面上的租户ID无效。
验证凭证时出错。凭据验证失败。
为Exchange服务器输入的用户名或密码无效。
在配置文件中输入的模拟者帐户用户名和密码无效。
该帐户无权模拟所请求的用户。
未向配置文件中配置的用户帐户分配模拟器角色权限。
请检查主机<hostname>是否为有效的Exchange服务器地址。
在配置文件中输入的内部Exchange服务器主机名无效。
无法使用此配置文件访问邮箱,或者可能缺少所需的权限。
使用错误类型的配置文件访问有效邮箱。例如,使用Microsoft Office 365配置文件访问内部邮箱。
单个配置文件的成功补救示例:
Fri Aug 30 11:57:30 2019 Info: Process ready for Mailbox Remediation
Fri Aug 30 12:29:54 2019 Info: MID: 782107 Attempting to remediate using `o365-profile-1` profile for recipient user@example.com. Attempt number : 1
Fri Aug 30 12:29:54 2019 Info: MID: 782107 Trying to perform the forward and delete action on Office 365 or Hybrid exchange for SHA256:
1e6f324982d4eb71ad967e79261a6435aef928b57bc523dbb3e7de4ed65941ab recipient's (user@example.com) mailbox.
Fri Aug 30 12:29:58 2019 Info: MID: 782107 Message forwarded successfully to admin@example.com.
Fri Aug 30 12:29:58 2019 Info: MID: 782107 Message deleted successfully from user@example.com mailbox.
Fri Aug 30 12:29:58 2019 Info: MID: 782107 Remediation succeeded with `o365-profile-1` profile for recipient user@example.com.
链接配置文件的成功补救示例:
Mon Oct 14 15:01:01 2019 Info: MID: 24 Attempting to remediate using 'o365-profile-1' profile for recipient user@example.com. Attempt number : 1
Mon Oct 14 15:01:01 2019 Info: MID: 24 Trying to perform the delete action on Office 365 or Hybrid exchange for SHA256: 1e6f324982d4eb71ad967e79261a6435aef928b57bc523dbb3e7de4ed65941ab
recipient's (user@example.com) mailbox
Mon Oct 14 15:01:09 2019 Info: MID: 24 Unable to read message(s) from the recipient's (user@example.com) mailbox. Error: The mailbox cannot be accessed using this profile or the required
permissions can be missing
Mon Oct 14 15:01:09 2019 Info: MID: 24 Attempting to remediate using 'exchange-profile-1' profile for recipient user@example.com. Attempt number : 1
Mon Oct 14 15:01:09 2019 Info: MID: 24 Trying to perform the delete action on Exchange on-premises for SHA256: 1e6f324982d4eb71ad967e79261a6435aef928b57bc523dbb3e7de4ed65941ab
recipient's (user@example.com) mailbox.
Mon Oct 14 15:01:16 2019 Info: MID: 24 Message deleted successfully from user@example.com mailbox.
Mon Oct 14 15:01:16 2019 Info: MID: 24 Remediation succeeded with 'exchange-profile-1' profile for recipient user@example.com. Not trying further profile.
AsyncOS 13.0及更高版本引入了扩展的MAR部署支持。此扩展支持需要额外的帐户配置文件、域映射和链接配置文件配置,具体取决于Exchange部署是Exchange Online、Exchange内部部署、混合部署还是多租户。
| 版本 | 发布日期 | 备注 |
|---|---|---|
2.0 |
30-Sep-2026
|
重新认证 — 更新的SEO、可选文本、样式要求和格式。 |
1.0 |
17-Feb-2020
|
初始版本 |