Office 365 add users to group workflow.

  • 25 February 2019
  • 1 reply
  • 7 views

Badge +2

I'm looking to utilize the "office 365 add user to group" to automate access requests using lazy approval. I've got the lazy approval working but want to add a step to the workflow that if approved to automatically add the requested user to a specified SharePoint group. Having some trouble with the options for "office 365 add user to group" so wanted to reach out to you all. Any help/recommendations will be greatly appreciated. 

 

 


1 reply

Badge +9

Hi Ryan,

 

This is a Nintex Live action, it runs outside of the workflow (because the workflow engine doesn't natively have access to make this change). You need to specify both the site you want to make the change on (You can use the Workflow Context > Current Site Url variable for this), and also a Connection.

 

A Connection is created with a set of credentials that has access to run the action (e.g. a service account), when the action executes at runtime it will run using the Connection rather than the user who triggered the workflow.

 

Aside from that you should be able to specify a group name, and a user login name to add into that group.

 

If you're not familiar with people variables, there are multiple ways to read the same value, click the next to the insert area to change which value you want (login name, as opposed to display name etc.).

 

Callum

Reply