积极答复者
Test-ActiveSyncConnectivity 命令后 ping 始终显示失败,但手机邮箱可以正常登陆

问题
-
1. ping 失败代表什么意思? 会有什么影响?
2. 其他几个 Scenario 值具体什么含义,有没有官方文档介绍?
3.如何在指定的服务器上进行用户认证?
使用此命令时发现,用户认证的服务是ews 连接的这台,而在测试登录的服务器上没有认证信息。 (命令运行在server01上, 测试的URL是server02 ,如何让认证信息在server02上面进行?)
$User = "XXXX\USER01"
$PWord = ConvertTo-SecureString -String "123456.COM" -AsPlainText -Force
$Credential = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $User, $PWord
Test-ActiveSyncConnectivity -URL https://mailserver02.XXXX.com/Microsoft-Server-Ac
tiveSync -MailboxCredential $Credential | select CasServer,LocalSite,Scenario,Result
CasServer LocalSite Scenario Result
--------- --------- -------- ------
an 选项 成功
an FolderSync 成功
an 初次同步 成功
an GetItemEstimate 成功
an 同步数据 成功
an Ping 失败
答案
-
您好,
1.我建议您运行以下命令来收集更多信息:
Test-ActiveSyncConnectivity -URL https://mailserver02.XXXX.com/Microsoft-Server-Ac tiveSync -MailboxCredential $Credential | select CasServer,LocalSite,Scenario,Result,Error
Get-ActiveSyncDevice -Mailbox| select user*,device* | fl
2.目前没有官方文档介绍这个值的含义,但其实Test-ActiveSyncConnectivity有一个值“ScenarioDescription”代表了对它的描述:
Options – Issue an HTTP OPTIONS command to retrieve the Exchange ActiveSync protocol version.
FolderSync – Issue a FolderSync command to retrieve the folder hierarchy.
First Sync – Initialize the Sync partnership for the test folder and create a sync state on the server.
GetItemEstimate – Issue a GetItemEstimate command to retrieve count of items waiting to sync.
Sync Data – Sync all existing data in the test folder.
Ping – Execute Ping command for testing DirectPush against a test folder. An item is created in the folder to trigger the Ping response.
Sync Test Item – Sync the test item.3.您可以尝试添加一条参量"-ClientAccessServer MBX01"
此致,
Eric Yin
如果以上回复对您有所帮助,建议您将其“标记为答复”. 如果您对我们的论坛支持有任何的建议,可以通过此邮箱联系我们:tnsf@microsoft.com.
- 已编辑 Eric_YinMicrosoft contingent staff 2020年3月16日 5:12
- 已建议为答案 Eric_YinMicrosoft contingent staff 2020年3月17日 1:27
- 已标记为答案 Caesar_CL 2020年3月27日 7:11
全部回复
-
您好,
1.我建议您运行以下命令来收集更多信息:
Test-ActiveSyncConnectivity -URL https://mailserver02.XXXX.com/Microsoft-Server-Ac tiveSync -MailboxCredential $Credential | select CasServer,LocalSite,Scenario,Result,Error
Get-ActiveSyncDevice -Mailbox| select user*,device* | fl
2.目前没有官方文档介绍这个值的含义,但其实Test-ActiveSyncConnectivity有一个值“ScenarioDescription”代表了对它的描述:
Options – Issue an HTTP OPTIONS command to retrieve the Exchange ActiveSync protocol version.
FolderSync – Issue a FolderSync command to retrieve the folder hierarchy.
First Sync – Initialize the Sync partnership for the test folder and create a sync state on the server.
GetItemEstimate – Issue a GetItemEstimate command to retrieve count of items waiting to sync.
Sync Data – Sync all existing data in the test folder.
Ping – Execute Ping command for testing DirectPush against a test folder. An item is created in the folder to trigger the Ping response.
Sync Test Item – Sync the test item.3.您可以尝试添加一条参量"-ClientAccessServer MBX01"
此致,
Eric Yin
如果以上回复对您有所帮助,建议您将其“标记为答复”. 如果您对我们的论坛支持有任何的建议,可以通过此邮箱联系我们:tnsf@microsoft.com.
- 已编辑 Eric_YinMicrosoft contingent staff 2020年3月16日 5:12
- 已建议为答案 Eric_YinMicrosoft contingent staff 2020年3月17日 1:27
- 已标记为答案 Caesar_CL 2020年3月27日 7:11
-
您好,
请问您的问题有最新进展吗?如果您对此问题有任何疑问或需要进一步的帮助,请随时回复。
此致,
Eric Yin
如果以上回复对您有所帮助,建议您将其“标记为答复”. 如果您对我们的论坛支持有任何的建议,可以通过此邮箱联系我们:tnsf@microsoft.com.