Remove User from Group

Remove a user from 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.

For example, john.doe@somedomain.com. This could be the user's email address, but this is not true in all cases.

String TRUE
Group
Id ID of the group that the user will be removed from. String TRUE

Output

Field Definition Type
Output
Status Code Result of the operation. The HTTP status code is returned by the connector and 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 was not processed because the necessary permissions were missing.

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

Number

Related topics

Office 365 Admin connector

About the elements of Okta Workflows

Office 365 Admin Management API overview