使用 BizTalk 2013 ("R1") 和 SharePoint Online 时出现以下问题:
我有一个静态发送端口配置为将数据添加到 SharePoint Online 环境中列表中的一个特定列表。
我使用用户名和密码进行了身份验证设置,并且我 100% 确定这是一个正确的用户名和密码。我可以毫无问题地通过浏览器使用相同的凭据登录。
仅供参考:使用的帐户是仅“Microsoft”帐户,因此也未列为组织(工作/学校)帐户。
每当我尝试向列表发送内容时,都会收到以下错误:
A message sent to adapter "Windows SharePoint Services" on send port "SP_SharePointOnline" with URI "wsss://company.sharepoint.com:443/sites/poc/Biztalk-Demo/TR/Lists/List%%201" is suspended.
Error details: [System.ServiceModel.CommunicationObjectFaultedException] The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
This error was triggered by the Windows SharePoint Services receive location or send port with URI wsss://company.sharepoint.com:443/sites/poc/Biztalk-Demo/TR/Lists/List%%201.
Windows SharePoint Services adapter event ID: 12310
我在 BizTalk BTSNTSvc.exe 和 BTSNTSvc.exe.config 中启用了 WCF 和 WIF 跟踪,如下所示:
<system.diagnostics>
<sources>
<source name="Microsoft.IdentityModel" switchValue="Verbose">
<listeners>
<add name="wif" />
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging" switchValue="Verbose">
<listeners>
<add name="wcf" />
</listeners>
</source>
</sources>
<sharedListeners>
<add initializeData="C:\logs\WCF64.svclog" type="System.Diagnostics.XmlWriterTraceListener" name="wcf" />
<add initializeData="C:\logs\WIF64.svclog" type="System.Diagnostics.XmlWriterTraceListener" name="wif" />
</sharedListeners>
我得到 WCF 日志记录,但我没有任何 WIF 日志记录(如我所料)。
WCF 日志记录提供了以下关于通道故障的原因(从 WCF 跟踪查看器中提取):
<S:Fault>
<S:Code>
<S:Value>S:Sender</S:Value>
<S:Subcode>
<S:Value>wst:FailedAuthentication</S:Value>
</S:Subcode>
</S:Code>
<S:Reason>
<S:Text xml:lang="en-US">Authentication Failure</S:Text>
</S:Reason>
<S:Detail>
<psf:error>
<psf:value>0x80048821</psf:value>
<psf:internalerror>
<psf:code>0x80041012</psf:code>
<psf:text>The entered and stored passwords do not match.
</psf:text>
</psf:internalerror>
</psf:error>
</S:Detail>
</S:Fault>
如前所述:我 100% 确定这是正确的用户名和密码!我被困在这里,谁能帮助我或指出我正确的方向?
为什么我没有任何 WIF 日志记录?
问候,