Skip to main content

Office 365: Add Member to Group

Description

Office 365: Add Member to Group plugin step adds an Office 365 user to a Group.

Permissions Following permissions are required to add member to group in Office 365:

Permission typePermission (from least to most privileged)
ApplicationGroupMember.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All

References

Limitation Users can only be added to Office 365 Groups.

Configurations

No.Field NameDescription
1Step NameName of the step. This name has to be unique in a single workflow.
Connection:For details about app registration, see O365 App Registration, Authentication, and Permissions in Azure AD
2Tenant IDTenant ID of Microsoft Account.
The data type is string. This field is mandatory.
3Client IDClient ID of the Application created in Microsoft Account.
The data type is string. This field is mandatory.
Client Secret
4Accept Value as variable/staticLeave checkbox unchecked to accept Client Secret value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Client Secret field to appear as Text box.
5Client SecretSpecify the Client Secret generated in Microsoft Account.
Client Secret is entered using a widget. The widget handles both Text (static value or environment variable) and Combo (drop down containing values from previous steps).
If checkbox above is enabled, Client Secret field appears as a Text box and accepts static or variable values. Else if checkbox above is disabled, Client Secret field appears as a drop down to select fields from previous steps.
The data type is secure string. This field is mandatory.
6Button: Test ConnectionTest connection with Client ID and Client Secret provided. Verifies whether the connection is established or not.
Note: For the purpose of verification, fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed.
Input Fields
1Group Email/IDSpecify The Email address or Group ID of the group to which member is to be added.
Note:
- After successful execution, the added member takes some time to get reflected on the instance.
- To add member to security group use Group ID as security group doesn’t have email address.
- We cannot add members to Mail-Enabled Security Group through the plugin step.
2Button: GetClick to display the list of all the available emails of the group.
3User EmailSpecify the email address of the user.
4Button: GetClick to display list of all the available emails of the user.
Note: Get button fetches only top 100 User Emails.