We've created these specs because there was a confusion with the current implementation of aad m365group user list around member roles and user types. userType (Members VS Guests) is an AAD related user property, while Owners VS Members is the role the user has in the group.
The change described in this issue removes the deprecated Guest value of the role option.
Options
| Option |
Description |
-r, --role [role] |
Filter the results to only users with the given role. Allowed values: Owner or Member. |
Remove value (Deprecated) Guest from the list of allowed options.
Default properties
Remove the following property:
Also remove the code that updates the userType property of the response output. Any reference to userType may be deleted
Additional Info
Originally posted by @martinlingstuyl in #5557
We've created these specs because there was a confusion with the current implementation of
aad m365group user listaround member roles and user types. userType (Members VS Guests) is an AAD related user property, while Owners VS Members is the role the user has in the group.The change described in this issue removes the deprecated
Guestvalue of the role option.Options
-r, --role [role]OwnerorMember.Remove value (Deprecated)
Guestfrom the list of allowed options.Default properties
Remove the following property:
Also remove the code that updates the userType property of the response output. Any reference to userType may be deleted
Additional Info
Originally posted by @martinlingstuyl in #5557