SharePoint Online - Add user to SharePoint group

Use the SharePoint Online - Add user to SharePoint group action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. to add a user to a specified SharePoint Online group.

For more information about the SharePoint Online connector, go to SharePoint Online.

Configure the SharePoint Online - Add user to SharePoint group action

Prerequisites 
  1. Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.

  2. Select a Connection. If you do not have a connection, see Add a connection.

    Note: Only the connections created with the Administration authentication method are available in the drop-down. For more information about authentication methods for SharePoint Online connections, see Authentication methods for SharePoint Online connections.

  3. Type a SharePoint site URL.

    Example:https://domain.sharepoint.com/sites/hr

  4. Type a SharePoint group to which you want to add a user.
  5. Type the User email address (principal name) of the user that you would want to add.
  6. Example: username@domain.com

SharePoint Online - Add user to SharePoint group action fields and settings

Section

Field Description Variable types
(unlabeled)

Connection Credentials and other settings that enables workflows to communicate with external systems, services, or applications. It's required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

SharePoint Online connection for the SharePoint Online site that you want to access.

To refresh the available connections , click .

(n/a)
 

SharePoint site URL

The URL of the SharePoint Online site containing the group that you want to use.

Example: https://domain.sharepoint.com/sites/hr

Boolean, Collection, DateTime, Decimal, Integer, Text

 

SharePoint group

The name of the group to which you want to add the user.

Boolean, Collection, DateTime, Decimal, Integer, Text

  User email address (principal name)

User name of the user to be added to the group.

Example: username@domain.com

Boolean, Collection, DateTime, Decimal, Integer, Text
Output Result

Stores the result of the action as an object with the following variable:

  • Outcome: Boolean variable to store the outcome of the action. The following boolean values are returned:
    • Yes: If the user is successfully added to the specified group.
    • No: If the user is not added to the specified group.

Object