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
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
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