Usage
m365 teams chat member remove [options]
Description
Removes a member from a Microsoft Teams chat conversation.
Options
| Option |
Description |
-i, --chatId <chatId> |
The ID of the chat conversation. |
--id [id] |
The ID of the chat member. Specify either id, userId, or userName but not multiple. |
--userId [userId] |
The Azure AD ID of the user. Specify either id, userId, or userName but not multiple. |
--userName [userName] |
User's UPN (user principal name, e.g. [email protected]). Specify either id, userId, or userName but not multiple. |
--confirm |
Don't prompt for confirmation. |
Examples
Remove a member from a Teams chat by its member ID.
m365 teams chat member remove --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --id MCMjMjQzMmI1N2ItMGFiZC00M2RiLWFhN2ItMTZlYWRkMTE1ZDM0IyMxOTpiZDlkYTQ2MzIzYWY0MjUzOTZkMGZhNjcyMDAyODk4NEB0aHJlYWQudjIjIzQ4YmY5ZDUyLWRjYTctNGE1Zi04Mzk4LTM3Yjk1Y2M3YmQ4Mw==
Remove a member from a Teams chat by its Azure AD ID.
m365 teams chat member remove --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --userId bd94e214-7852-48b0-a326-5a34b2a02183
Remove a member from a Teams chat by its Azure AD UPN.
m365 teams chat member remove --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --userName [email protected]
Default properties
No response
Additional Info
Idea: #4898
https://learn.microsoft.com/en-us/graph/api/chat-delete-members
Usage
m365 teams chat member remove [options]
Description
Removes a member from a Microsoft Teams chat conversation.
Options
-i, --chatId <chatId>--id [id]id,userId, oruserNamebut not multiple.--userId [userId]id,userId, oruserNamebut not multiple.--userName [userName]id,userId, oruserNamebut not multiple.--confirmExamples
Remove a member from a Teams chat by its member ID.
Remove a member from a Teams chat by its Azure AD ID.
Remove a member from a Teams chat by its Azure AD UPN.
Default properties
No response
Additional Info
Idea: #4898
https://learn.microsoft.com/en-us/graph/api/chat-delete-members