Skip to content

New command: teams channel member set #3177

@milanholemans

Description

@milanholemans

Usage

teams channel member set

Description

Updates role of the specified user in the specified Microsoft Teams private channel.

Options

Option Description
--teamId [teamId] The Id of the Microsoft Team. Specify either teamId or teamName but not both.
--teamName [teamName] The name of the Microsoft Team. Specify either teamId or teamName but not both.
--channelId [channelId] The Id of the Microsoft Team channel. Specify either channelId or channelName but not both.
--channelName [channelName] The name of the Microsoft Team channel. Specify either channelId or channelName but not both.
--userName [userName] User's UPN (user principal name, eg. [email protected]). Specify either userName, userId or id but not multiple.
--userId [userId] User's Azure AD Id. Specify either userName, userId or id but not multiple.
--id [id] Channel membership Id of a user. Specify either userName, userId or id but not multiple.
-r, --role <role> The role to be assigned to the new user: owner, member.

Additional Info

Docs: Update member in channel

Discussed in #3168

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions