AnsweredAssumed Answered

UserGroup.asmx does not resolve users from another forest

Question asked by kapilkjoshi Champion on May 20, 2015
Latest reply on May 27, 2015 by pesikwane

Hi All,

My Sharepoint 2010 environment is built on ABC domain. We have 2 way trusts with another domain e.g. XYZ. I'm able to add people from XYZ domain to sites and they are able to access my environment.

When i try to use webservice UserGroup.asmx to resolve their display names from account ID, it throws exception. The Query WebService in the 2010 workflow is able to resolve the Name for ABC\UserName but when I query for XYZ\UserName, it throws exception.

Failed to invoke web service. Error returned from server: <soap:Fault

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Server</faultcode><faultstring>Exception

of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

In ULS logs it shows this:

<detail><errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">User cannot be found.</errorstring>

How can I resolve this issue? Does it mean that web service cannot resolve users from different domain? Any help is appreciated.

Outcomes