This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Active Roles Workflows

I'm trying my first workflow.  I'm working towards a script to automate the licensing of Office365 users.  I'm trying to understand how to use the If-Else branch with a group.  I’m having to guess since documentation doesn’t help. 

I’m trying to choose “If ADDED to a specific groups run script” and “If REMOVED from the group run script”.  How do I do this?

  • The "Start Conditions" for the workflows themselves can fire off of "User added to a group" or "User removed from a group". I'm not necessarily saying that you can't possibly accomplish this with an If-Else branch, but I would initially look into accomplishing this with two separate workflows. Then within the workflow that will execute when someone is added to a group, add a Script workflow step that runs the desired script. Then do the same for the workflow that will execute when someone is removed from a group.