--- title: "Remove User From Group" slug: "remove-user-from-group" tags: ["users", "Groups", "active directory", "azure"] updated: 2022-12-09T19:59:16Z published: 2022-12-09T19:59:16Z canonical: "documentation.decisions.com/remove-user-from-group" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Remove User From Group | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > Text | The **Remove User From Group** step will remove the specified user from a group in the Azure Active Directory. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Group Id | Group Id | String | | User Id | User account Id to remove from group | Int32 | ## #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1670614678334.png) --- ## 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: ```csharp 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) -- ``` ## Related - [Add Group](/add-group.md) - [Add User To Group](/add-user-to-group.md) - [Update User](/update-user.md)