问题现象
您正在备份或恢复 Exchange 数据:邮箱或电子邮件。
操作失败:
Error code: 3
Module: 349
LineInfo: 0x5B3CC972C81BD710
Fields: {"$module":"arx_agent_fork_vsa64_9058"}
Message: The account does not have permission to impersonate the requested user.
Error code: 3126
Module: 91
LineInfo: 0x5B3CC972C81BD701
Fields: {"$module":"arx_agent_vsa64_8477"}
Message: SOAP protocol error has occurred while accessing the EWS server. SOAP code: ErrorImpersonateUserDenied. SOAP message: The account does not have permission to impersonate the requested user.
问题原因
访问 Exchange 数据库的用户不是组织管理角色组的成员,并且没有足够的权限来备份或还原单个邮箱或电子邮件。
解决方法
要允许此用户访问邮箱或电子邮件以进行备份和恢复,请为此用户配置:
- 打开Exchange命令行管理程序。从“开始”菜单中,选择“所有程序”>“Microsoft Exchange Server”。
- 运行“新建管理角色分配”cmdlet 以将模拟权限添加到指定的用户。下面的示例演示如何配置以使服务帐户能够模拟组织中的所有其他用户。
New-ManagementRoleAssignment –name:impersonationAssignmentName –Role:ApplicationImpersonation –User:<user>
其中<user>是您指定用于访问 Exchange 数据库的用户。 - 重新尝试操作。
如果上述解决方案不起作用,则错误可能是由不正确的 Exchange 配置引起的,其中内部 URL 指向您的公用邮件服务器地址。请验证原因并应用邮箱备份或恢复失败并显示“Failed to connect to Microsoft Exchange API using url '{0}'”中描述的解决方案。