This project has moved. For the latest updates, please go here.
2

Closed

ResolvePrincipals with addToUserInfoList=true requires SOAPAction

description

The following fails at moment.
$().SPServices({
    operation: "ResolvePrincipals",
    principalKeys: '<string>SPIRIT\\testuser99</string>',
    addToUserInfoList: true
})
with a cryptic:
<errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.</errorstring>
<errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x8102006d</errorcode>
There's no issue if addToUserInfoList: false is used.

Proposed solution: Setting needSoapAction to true
WSops.ResolvePrincipals                         = [PEOPLE, true];
Closed Dec 16, 2014 at 6:34 PM by sympmarc
Fixed/deployed in 2014.02

comments

bguidinger wrote Jun 25, 2013 at 2:38 PM

I can confirm that changing the needs SOAP action to true fixes this.

sympmarc wrote Sep 9, 2013 at 3:44 PM

Fixed in 2013.02ALPHA1

sympmarc wrote Dec 28, 2013 at 7:49 PM

Released in 2013.02

** Closed by sympmarc 12/28/2013 11:49AM

ptavares wrote Jun 14, 2014 at 5:24 PM

Marc,

Looks like this one was dropped from the latest release as well... I just checked 2014.01 and the value is false for resolvePrincipals...

Did you want me to open a new discussion in the forums?

(found it while investigating the item I emailed you about the others day (users with ID of -1). :)

sympmarc wrote Jun 14, 2014 at 6:29 PM

Paul:

I've reopened the issue. Damn my quality control.

M.

sympmarc wrote Oct 24, 2014 at 4:00 AM

Refixed in 2014.02ALPHA6