Remove User From Group
  • 09 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Remove User From Group

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationData > Text

The Remove User From Group step will remove the specified user from a group in the Azure Active Directory.



Properties

Inputs

PropertyDescriptionData Type
Group IdGroup IdString
User IdUser account Id to remove from groupInt32



Common Errors

OAuth token selected () could not be found

If an OAuth token is not selected when configuring the settings for Azure Active Directory, it will cause an error.

To correct this, ensure that an OAuth token is selected in the Azure Active Directory settings.

Exception Message:

Name: Error running step Remove User From Group 1[RemoveUserFromGroup] in flow [Flow 2]: Exception invoking method RemoveUserFromGroup on class AzureActiveDirectorySteps
                Exception Message: Error running step Remove User From Group 1[RemoveUserFromGroup] in flow [Flow 2]: Exception invoking method RemoveUserFromGroup on class AzureActiveDirectorySteps                

                Input Values: -- No Data --
                
                Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Remove User From Group 1[RemoveUserFromGroup] in flow [Flow 2]: Exception invoking method RemoveUserFromGroup on class AzureActiveDirectorySteps
 ---> DecisionsFramework.LoggedException: Exception invoking method RemoveUserFromGroup on class AzureActiveDirectorySteps
 ---> DecisionsFramework.LoggedException: OAuth token selected () could not be found.
   at ActiveDirectory.AzureActiveDirectorySteps.MakeHttpRequest(String httpMethod, String url, String body, Boolean contentTypeJson)
   at ActiveDirectory.AzureActiveDirectorySteps.RemoveUserFromGroup(String userId, String groupId)
   --- End of inner exception stack trace ---
   at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
   at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
   at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --

Was this article helpful?

What's Next