Skip to content

Bug report: m365 aad o365group user remove does not remove a user if it is part of the owners and members group #2368

@plamber

Description

@plamber

Description

I can be part of the members and owners in a Microsoft 365 Group at the same time. The m365 aad o365group user remove only removes the owner if I am a member and owner at the same time.

Steps to reproduce

  • Create a Microsoft 365 Group
  • Add a user to the members and owners of that Group
  • Execute the m365 aad o365group user remove for that user
  • The user is only removed from the owners but not from the members

Expected result

The user is removed from both, owners and members

Actual result

The user is removed from the owners only

Environment

Latest CLI version

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions