UserGroup.asmx does not resolve users from another Forest

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="<faultcode>soap:Server</faultcode><faultstring>Exception" rel="nofollow" target="_blank">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. I'm using Nintex Workflow 2010 but this should be generic to Web Service a

May 21st, 2015 3:25pm

Hi,

As I understand, UserGroup.asmx does not resolve users from another Forest in Nintex workflow in SharePoint 2010.

You could check if users and Groups Web Service and query web service can work.

http://<Site>/vti_bin/usergroup.asmx

http://Server_Name/[sites/][Site_Name/]_vti_bin/search.asmx

When you configure the call web service action in the Nintex workflow, you could select the check box for Encode Inserted Tokens.

The article below is about Failed to invoke web service (400) Bad Request

https://askmanisha.wordpress.com/2014/06/10/failed-to-invoke-web-service-400-bad-request/

The article below is about starting a Workflow using a Web Service.

https://community.nintex.com/docs/DOC-1048

Best regards,

Sara Fan

Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2015 4:30am

Thank you Sara for taking time and replying.

But this did not help me much. As you see from the decription it is specific to the users from another domain. The query action works fine for my domain users. Any other appropriate suggestions?

May 22nd, 2015 10:34am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics