Skip to content

Commit

Permalink
Actual fix :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
MathijsVerbeeck committed Oct 16, 2024
1 parent 7a05d4c commit 13956e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/docs/cmd/entra/m365group/m365group-user-remove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ You can remove users from a Microsoft 365 Group or Microsoft Teams team if you a
Removes user from the specified Microsoft 365 Group.

```sh
m365 entra m365group user remove --groupId '5b8e4cb1-ea40-484b-a94e-02a4313fefb4' --userName '[email protected]'
m365 entra m365group user remove --groupId '5b8e4cb1-ea40-484b-a94e-02a4313fefb4' --userNames '[email protected]'
```

Removes user from the specified Microsoft 365 Team specified by id without confirmation.

```sh
m365 entra m365group user remove --teamId '5b8e4cb1-ea40-484b-a94e-02a4313fefb4' --userName '[email protected]' --force
m365 entra m365group user remove --teamId '5b8e4cb1-ea40-484b-a94e-02a4313fefb4' --userNames '[email protected]' --force
```

Removes users specified by a comma separated list of user principal names from the specified Microsoft Teams team specified by name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ describe(commands.M365GROUP_USER_REMOVE, () => {


it('removes the specified members of the specified Microsoft 365 Group specified by groupName', async () => {

sinon.stub(entraGroup, 'getGroupIdByDisplayName').withArgs(groupOrTeamName).resolves(groupOrTeamId);

const deleteStub = sinon.stub(request, 'delete').callsFake(async (opts) => {
Expand Down

0 comments on commit 13956e2

Please sign in to comment.