问题描述
您好,
我正在努力让交换假冒工作,但到目前为止我没有任何运气。我已经成功运行了这些powershell命令:
I am trying to get exchange impersonation working but so far am not having any luck. I have successfully ran these powershell commands:
1。 New-ManagementScope -Name"模拟范围" -RecipientRestrictionFilter {UserPrincipalName -eq" JSmith"}
2。 New-ManagementRoleAssignment -Name" Impersonation Assignment" -Role:ApplicationImpersonation -User:Domain\EwsSA
2. New-ManagementRoleAssignment -Name "Impersonation Assignment" -Role:ApplicationImpersonation -User:Domain\EwsSA
EwsSA是为此创建的AD帐户,其政策不允许以交互方式登录。我是否必须在此帐户中为我们的网络或Exchange服务器授予任何特殊权限,以允许其对用户JSmith进行模拟?
EwsSA is a AD account created for this, with a policy that does not allow it to logon interactively. Do I have to give this account any special permissions on our network or Exchange server to allow it to perform impersonation of the user JSmith?
谢谢,
柯蒂斯
推荐答案
包含有关先决条件的所有信息
Has all the information you need regarding prerequisites
BTW如果您在2010年的SP1或2上考虑使用EWS 1.2,我发现有一些API可以帮助我一点点,除非你需要一些特殊的原因1.1
BTW if your on SP1 or 2 of 2010 you might consider using EWS 1.2 I found there were some added APIs that helped me out a little, unless theres some specific reason you need 1.1
这篇关于[E2010 SP2] [EWS 1.1] [C#] - 服务帐户是否有用于模仿的要求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!