Topic
How to create a SharePoint Online Group using Web Service in Nintex Workflow for Office 365.
Instructions
- Open a Nintex Workflow for Office 365 Designer.
- Drag and drop the Web Request action.
- Configure the action as below
- URL : {Workflow Context:Current site URL}/_vti_bin/UserGroup.asmx
- Method : SOAP 1.1. Soap action : http://schemas.microsoft.com/sharepoint/soap/directory/AddGroup
- Body : Content
- Content :
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddGroup xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">
<groupName>string</groupName>
<ownerIdentifier>string</ownerIdentifier>
<ownerType>string</ownerType>
<defaultUserLoginName>string</defaultUserLoginName>
<description>string</description>
</AddGroup>
</soap:Body>
</soap:Envelope>
<soap:Body>
<AddGroup xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">
<groupName>string</groupName>
<ownerIdentifier>string</ownerIdentifier>
<ownerType>string</ownerType>
<defaultUserLoginName>string</defaultUserLoginName>
<description>string</description>
</AddGroup>
</soap:Body>
</soap:Envelope>