@pnp/cli-microsoft365 5.2.0-beta.dc50ce6 → 5.3.0-beta.b46b892

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,57 @@
1
+ # teams channel member remove
2
+
3
+ Remove the specified member from the specified Microsoft Teams private team channel
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams channel member remove [options]
9
+ ```
10
+
11
+ ## Alias
12
+
13
+ ```sh
14
+ m365 teams conversationmember remove [options]
15
+ ```
16
+
17
+ ## Options
18
+
19
+ `--teamId [teamId]`
20
+ : The Id of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
21
+
22
+ `--teamName [teamName]`
23
+ : The display name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
24
+
25
+ `--channelId [channelId]`
26
+ : The Id of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
27
+
28
+ `--channelName [channelName]`
29
+ : The display name of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
30
+
31
+ `--userName [userName]`
32
+ : User's UPN (user principal name, e.g. johndoe@example.com). Specify either userName, userId or id but not multiple.
33
+
34
+ `--userId [userId]`
35
+ : User's Azure AD Id. Specify either userName, userId or id but not multiple.
36
+
37
+ `--id [id]`
38
+ : Channel member Id of a user. Specify either userName, userId or id but not multiple.
39
+
40
+ `--confirm`
41
+ : Don't prompt for confirmation
42
+
43
+ --8<-- "docs/cmd/_global.md"
44
+
45
+ ## Examples
46
+
47
+ Remove the user _johndoe@example.com_ from the Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
48
+
49
+ ```sh
50
+ m365 teams channel member remove --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype --userName "johndoe@example.com"
51
+ ```
52
+
53
+ Remove the user with id 00000000-0000-0000-0000-000000000000 from the Microsoft Teams team with name _Team Name_ and channel with name _Channel Name_
54
+
55
+ ```sh
56
+ m365 teams channel member remove --teamName "Team Name" --channelName "Channel Name" --userId 00000000-0000-0000-0000-000000000000
57
+ ```