You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the command entra m365group user remove only supports specifying one user by UPN. Let's enhance this command so it can accept multiple users by UPN or ID.
In addition, let's also add the possibility to reference the group by display name.
Options to add
Option
Description
--groupName [groupName]
The display name of the Microsoft 365 group. Specify only one of the following: groupId, groupName, teamId, or teamName.
--teamName [teamName]
The display name of the Microsoft Teams team. Specify only one of the following: groupId, groupName, teamId, or teamName.
--ids [ids]
Microsoft Entra IDs of users. You can also pass a comma-separated list of IDs. Specify either ids or userNames but not both.
--userNames [userNames]
The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either ids or userNames but not both.
Deprecate current option
This will come at a cost, we'll have to deprecate the currently required option -n, --userName <userName>.
Let's make the option optional and deprecate it.
Currently, the command entra m365group user remove only supports specifying one user by UPN. Let's enhance this command so it can accept multiple users by UPN or ID.
In addition, let's also add the possibility to reference the group by display name.
Options to add
--groupName [groupName]
groupId
,groupName
,teamId
, orteamName
.--teamName [teamName]
groupId
,groupName
,teamId
, orteamName
.--ids [ids]
ids
oruserNames
but not both.--userNames [userNames]
ids
oruserNames
but not both.Deprecate current option
This will come at a cost, we'll have to deprecate the currently required option
-n, --userName <userName>
.Let's make the option optional and deprecate it.
userName
fromentra m365group user remove
#6357The text was updated successfully, but these errors were encountered: