Add User to Group

Add a user to an Office 365 group.

Input

Field Definition Type Required
User
Id or Username

User ID or username of the Office 365 user. This is the user's User Principal Name (UPN). A UPN is formed by taking the username and domain and combining them with the @ separator. This could be the user's email address, but not always.

For example, john.doe@somedomain.com.

String TRUE
Group
Id ID of the group where you want to add the user. String TRUE

Output

Field Definition Type
Output
Status Code Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:
  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Azure Active Directory connector

Workflow elements

Guidance for Azure Active Directory connector

Azure Active Directory Management API overview