BizTalk 2020 Server SFTP SSO Affiliate configuration
Hi,
I’m having issues setting up an SFTP Receive location using the SSO Affiliate in the receive location configuration. The receive location will not start. In our pervious installation, we used the blogical SFTP adapter, which worked fine. I think with BizTalk 2020, we should be able to use the standard Microsoft SFTP adapter. This is a new single server installation of BizTalk 2020. In my event log I’m seeing a warning and two errors. It seems to be complaining about a missing parameter from a GetExternalCredentials function. Can somebody point me in the right direction on this?
Example of the SFTP Transport properties and error message
SFTP Transport Properties
Accept Any SSH Server Host Key: True
SSO Affiliate: SFTP.abc
Folder Path: /in/TransactionFiles
Port: 9032
Server Address: abc.customer.com
Warning
SSO AUDIT
Function: GetExternalCredentials (domain\BTServiceAccount)
Tracking ID: 94c7f0d1-c656-4a1c-8e4f-be23fe9f26b6
Client Computer: ABCServer.domain.com (BTSNTSvc.exe:4648)
Client User: domain\BTServiceAccount
Application Name: SFTP.abc
Error Code: 0x80070057, The parameter is incorrect.
Followed by this Error message
The Messaging Engine failed to add a receive location "rcvTestResponse_SFTP" with URL "sftp://abc.customer.com:9032/in/TransactionFiles/*" to the adapter "SFTP". Reason: "System.ArgumentException: The parameter is incorrect.
at Microsoft.BizTalk.SSOClient.Interop.ISSOLookup1.GetCredentials(String applicationName, Int32 flags, String& externalUserName)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.BtsServiceHostBase.ConfigureClientCredentials()
at Microsoft.BizTalk.Adapter.Wcf.Runtime.BtsServiceHostBase.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnBeginOpen()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext, IBTTransportProxy transportProxy, ControlledTermination control)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url, IPropertyBag adapterConfig, IPropertyBag bizTalkConfig)".