Hi, I'm having an issue with the Call Web Service - _vti_bin/usergroup.asmx
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/directory/">
If I test the connection, this succeeds
If I run this from within the workflow it fails, but I have read that this is common
When I publish and run the workflow, it errors with the following:
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.
I'm seeing various posts around similar errors but so far am unable to resolve. I'm looking for any tips around this
Are all of those fields in the first screenshot required? there isn't too much help around this.
check webservice method specification UserGroup.AddGroup Method (Users and Groups)
none of the parameter is marked as optional, so you have to provide values for all of them.
user accounts are required in form domain\loginname (or even if not documented I would say claim|domain\loginname)