Hello
My SharePoint 2013 farm consists of 1 WFE, 1 APP Server and 1 SQL
Server. I have configured kerberos and claims and I am now building a
simple InfoPath form with one field for Full Name (PreferredName.)
I have followed a few tutorials and have created the Web Service
connection file, converted it and published it to my data connection
library. I have then downloaded it and made the necessary change to use
the Secure Store account with NTLM to impersonate
the user. The account has full read permissions on the Site and the web
service.
My UDCX file has this line
<udc:Authentication>
<udc:SSO AppId="UserProfileContent" CredentialType="NTLM" />
</udc:Authentication>
When I open my form in a browser, I get a 5566 error and when I check the Event Logs on the WFE I see this
An account failed to log on.
Subject:
Security ID: NULL SID
Account Name: -
Account Domain: -
Logon ID: 0x0
Logon Type: 3
Account For Which Logon Failed:
Security ID: NULL SID
Account Name: svc-SP2013IPReader
Account Domain: Contoso
Failure Information:
Failure Reason: An Error occured during Logon.
Status: 0xC000006D
Sub Status: 0x0
Process Information:
Caller Process ID: 0x0
Caller Process Name: -
Network Information:
Workstation Name: WFEServer
Source Network Address: xx.xx.xx.xx
Source Port: xxxx
Detailed Authentication Information:
Logon Process:
Authentication Package: NTLM
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon request fails. It is generated on the computer where access was attempted.
The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).
The Process Information fields indicate which account and process on the system requested the logon.
The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.
In my ULS log on the WFE I see this
The following query failed: GetUserProfileByName (User: 0#.w|contoso\john.doe, Form Name: UserProfileTest, IP: , Connection Target: http://sitecol/departments/corp/DataConnections/usp.udcx, Request: http://sitecol/_layouts/15/FormServer.aspx?XsnLocation=http://sitecol/departments/corp/UserProfileTest/Forms/template.xsn&SaveLocation=http://sitecol/departments/corp/UserProfileTest&ClientInstalled=true&DefaultItemOpen=1&Source=http://sitecol/departments/corp/UserProfileTest/Forms/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:UserProfileTest:-myXSD-2014-04-09T21-12-35 Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Services Runtime - Data Connections m1v0 Warning ...uthorized. The remote server returned an error: (401) Unauthorized.)
I have even tried explicitly using a username and password in the UDCX file and that gives me the same error.
Any suggestions?
Thanks in advance.
Yoshi