@pnp/cli-microsoft365 6.8.0-beta.f473be5 → 6.9.0-beta.289ab69

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.
Files changed (225) hide show
  1. package/.eslintrc.js +2 -0
  2. package/README.md +6 -1
  3. package/dist/Command.js +6 -0
  4. package/dist/chili/chili.js +298 -0
  5. package/dist/chili/index.js +20 -0
  6. package/dist/cli/Cli.js +2 -2
  7. package/dist/m365/aad/commands/user/user-add.js +30 -21
  8. package/dist/m365/app/commands/permission/permission-add.js +279 -0
  9. package/dist/m365/app/commands.js +1 -0
  10. package/dist/m365/commands/commands.js +2 -0
  11. package/dist/m365/commands/docs.js +42 -0
  12. package/dist/m365/commands/login.js +1 -1
  13. package/dist/m365/commands/setup.js +180 -0
  14. package/dist/m365/commands/setupPresets.js +25 -0
  15. package/dist/m365/pa/commands/app/app-consent-set.js +101 -0
  16. package/dist/m365/pa/commands.js +1 -0
  17. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
  18. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
  19. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
  20. package/dist/m365/purview/commands.js +3 -0
  21. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.2.js +25 -0
  22. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001035_DEP_fluentui_react.js +18 -0
  23. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +11 -4
  24. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  25. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001035_DEP_fluentui_react.js +18 -0
  26. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +2 -0
  27. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.2.js +61 -0
  28. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  29. package/dist/m365/spfx/commands/spfx-doctor.js +29 -30
  30. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +146 -0
  31. package/dist/m365/spo/commands/file/file-list.js +15 -4
  32. package/dist/m365/spo/commands/file/file-remove.js +3 -0
  33. package/dist/m365/spo/commands/list/list-get.js +30 -3
  34. package/dist/m365/spo/commands/list/list-list.js +39 -2
  35. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +308 -0
  36. package/dist/m365/spo/commands/page/page-section-add.js +2 -3
  37. package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +119 -0
  38. package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +106 -0
  39. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +30 -39
  40. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +47 -0
  41. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +151 -0
  42. package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +152 -0
  43. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +203 -0
  44. package/dist/m365/spo/commands/term/term-add.js +13 -4
  45. package/dist/m365/spo/commands/term/term-get.js +14 -5
  46. package/dist/m365/spo/commands/term/term-group-get.js +12 -3
  47. package/dist/m365/spo/commands/term/term-group-list.js +39 -4
  48. package/dist/m365/spo/commands/term/term-list.js +18 -9
  49. package/dist/m365/spo/commands/term/term-set-add.js +13 -4
  50. package/dist/m365/spo/commands/term/term-set-get.js +12 -3
  51. package/dist/m365/spo/commands/term/term-set-list.js +12 -3
  52. package/dist/m365/spo/commands.js +9 -0
  53. package/dist/m365/teams/commands/chat/chat-member-remove.js +137 -0
  54. package/dist/m365/teams/commands.js +1 -0
  55. package/dist/utils/formatting.js +35 -11
  56. package/dist/utils/pid.js +5 -0
  57. package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
  58. package/docs/docs/cmd/aad/user/user-add.md +4 -0
  59. package/docs/docs/cmd/aad/user/user-set.md +2 -2
  60. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +13 -13
  61. package/docs/docs/cmd/app/app-get.md +25 -6
  62. package/docs/docs/cmd/app/app-open.md +8 -2
  63. package/docs/docs/cmd/app/permission/permission-add.md +53 -0
  64. package/docs/docs/cmd/app/permission/permission-list.md +19 -19
  65. package/docs/docs/cmd/booking/business/business-get.md +30 -8
  66. package/docs/docs/cmd/booking/business/business-list.md +17 -8
  67. package/docs/docs/cmd/cli/cli-consent.md +6 -0
  68. package/docs/docs/cmd/cli/cli-doctor.md +17 -0
  69. package/docs/docs/cmd/cli/cli-issue.md +6 -0
  70. package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
  71. package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
  72. package/docs/docs/cmd/cli/config/config-get.md +6 -0
  73. package/docs/docs/cmd/docs.md +51 -0
  74. package/docs/docs/cmd/flow/environment/environment-list.md +18 -0
  75. package/docs/docs/cmd/flow/flow-get.md +20 -0
  76. package/docs/docs/cmd/flow/flow-list.md +17 -0
  77. package/docs/docs/cmd/graph/changelog/changelog-list.md +52 -0
  78. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +61 -0
  79. package/docs/docs/cmd/graph/schemaextension/schemaextension-get.md +61 -0
  80. package/docs/docs/cmd/graph/schemaextension/schemaextension-list.md +61 -0
  81. package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.md +4 -0
  82. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -0
  83. package/docs/docs/cmd/graph/subscription/subscription-add.md +73 -0
  84. package/docs/docs/cmd/login.md +1 -1
  85. package/docs/docs/cmd/onedrive/onedrive-list.md +225 -0
  86. package/docs/docs/cmd/onedrive/report/report-activityfilecounts.md +39 -0
  87. package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +39 -0
  88. package/docs/docs/cmd/onedrive/report/report-activityuserdetail.md +43 -0
  89. package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.md +38 -0
  90. package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.md +43 -0
  91. package/docs/docs/cmd/onedrive/report/report-usagefilecounts.md +38 -0
  92. package/docs/docs/cmd/onedrive/report/report-usagestorage.md +37 -0
  93. package/docs/docs/cmd/onenote/notebook/notebook-list.md +79 -0
  94. package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
  95. package/docs/docs/cmd/planner/plan/plan-get.md +1 -1
  96. package/docs/docs/cmd/planner/plan/plan-list.md +1 -1
  97. package/docs/docs/cmd/planner/roster/roster-add.md +2 -1
  98. package/docs/docs/cmd/planner/roster/roster-get.md +1 -1
  99. package/docs/docs/cmd/planner/roster/roster-remove.md +2 -1
  100. package/docs/docs/cmd/planner/task/task-get.md +0 -6
  101. package/docs/docs/cmd/planner/task/task-set.md +1 -1
  102. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +6 -7
  103. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +6 -7
  104. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +4 -4
  105. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +4 -4
  106. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +10 -10
  107. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +11 -11
  108. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +10 -10
  109. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +10 -10
  110. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +10 -10
  111. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -12
  112. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +8 -9
  113. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +8 -9
  114. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +8 -8
  115. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +8 -8
  116. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
  117. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
  118. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
  119. package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
  120. package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
  121. package/docs/docs/cmd/setup.md +86 -0
  122. package/docs/docs/cmd/spfx/project/project-doctor.md +1 -1
  123. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  124. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +1 -1
  125. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.md +77 -0
  126. package/docs/docs/cmd/spo/commandset/commandset-set.md +1 -1
  127. package/docs/docs/cmd/spo/contenttype/contenttype-set.md +2 -2
  128. package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
  129. package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
  130. package/docs/docs/cmd/spo/file/file-list.md +9 -6
  131. package/docs/docs/cmd/spo/file/file-remove.md +12 -0
  132. package/docs/docs/cmd/spo/folder/folder-copy.md +1 -1
  133. package/docs/docs/cmd/spo/list/list-get.md +10 -0
  134. package/docs/docs/cmd/spo/list/list-list.md +28 -0
  135. package/docs/docs/cmd/spo/listitem/listitem-batch-set.md +67 -0
  136. package/docs/docs/cmd/spo/listitem/listitem-list.md +1 -1
  137. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
  138. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
  139. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
  140. package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
  141. package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
  142. package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
  143. package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
  144. package/docs/docs/cmd/spo/page/page-copy.md +35 -0
  145. package/docs/docs/cmd/spo/page/page-get.md +39 -0
  146. package/docs/docs/cmd/spo/page/page-list.md +53 -0
  147. package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
  148. package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
  149. package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
  150. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
  151. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
  152. package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
  153. package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
  154. package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
  155. package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
  156. package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
  157. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
  158. package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
  159. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
  160. package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
  161. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
  162. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
  163. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
  164. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
  165. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
  166. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
  167. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
  168. package/docs/docs/cmd/spo/site/site-recyclebinitem-move.md +43 -0
  169. package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.md +45 -0
  170. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +1 -1
  171. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.md +103 -0
  172. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.md +49 -0
  173. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.md +49 -0
  174. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.md +57 -0
  175. package/docs/docs/cmd/spo/term/term-add.md +107 -6
  176. package/docs/docs/cmd/spo/term/term-get.md +111 -10
  177. package/docs/docs/cmd/spo/term/term-group-get.md +71 -5
  178. package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
  179. package/docs/docs/cmd/spo/term/term-list.md +80 -8
  180. package/docs/docs/cmd/spo/term/term-set-add.md +95 -11
  181. package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
  182. package/docs/docs/cmd/spo/term/term-set-list.md +85 -5
  183. package/docs/docs/cmd/teams/app/app-list.md +17 -0
  184. package/docs/docs/cmd/teams/app/app-publish.md +18 -1
  185. package/docs/docs/cmd/teams/channel/channel-add.md +20 -0
  186. package/docs/docs/cmd/teams/channel/channel-get.md +21 -0
  187. package/docs/docs/cmd/teams/channel/channel-list.md +21 -0
  188. package/docs/docs/cmd/teams/channel/channel-member-list.md +20 -0
  189. package/docs/docs/cmd/teams/channel/channel-member-set.md +21 -0
  190. package/docs/docs/cmd/teams/chat/chat-get.md +22 -0
  191. package/docs/docs/cmd/teams/chat/chat-list.md +22 -0
  192. package/docs/docs/cmd/teams/chat/chat-member-list.md +20 -0
  193. package/docs/docs/cmd/teams/chat/chat-member-remove.md +52 -0
  194. package/docs/docs/cmd/teams/chat/chat-message-list.md +23 -0
  195. package/docs/docs/cmd/teams/funsettings/funsettings-list.md +15 -0
  196. package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +13 -0
  197. package/docs/docs/cmd/teams/membersettings/membersettings-list.md +17 -0
  198. package/docs/docs/cmd/teams/tab/tab-remove.md +1 -1
  199. package/docs/docs/cmd/todo/list/list-add.md +18 -0
  200. package/docs/docs/cmd/todo/list/list-get.md +18 -0
  201. package/docs/docs/cmd/todo/list/list-list.md +18 -0
  202. package/docs/docs/cmd/todo/task/task-get.md +21 -0
  203. package/docs/docs/cmd/todo/task/task-list.md +21 -0
  204. package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +6 -0
  205. package/docs/docs/cmd/version.md +1 -1
  206. package/docs/docs/cmd/viva/connections/connections-app-create.md +3 -3
  207. package/docs/docs/cmd/yammer/group/group-list.md +42 -0
  208. package/docs/docs/cmd/yammer/message/message-add.md +32 -0
  209. package/docs/docs/cmd/yammer/message/message-get.md +32 -0
  210. package/docs/docs/cmd/yammer/message/message-list.md +34 -0
  211. package/docs/docs/cmd/yammer/network/network-list.md +70 -0
  212. package/docs/docs/cmd/yammer/report/report-activitycounts.md +7 -0
  213. package/docs/docs/cmd/yammer/report/report-activityusercounts.md +7 -0
  214. package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +7 -0
  215. package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +7 -0
  216. package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +7 -0
  217. package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +7 -0
  218. package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +7 -0
  219. package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +7 -0
  220. package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +7 -0
  221. package/docs/docs/cmd/yammer/user/user-get.md +55 -0
  222. package/docs/docs/cmd/yammer/user/user-list.md +55 -0
  223. package/docs/docs/cmd/yammer/yammer-search.md +15 -3
  224. package/npm-shrinkwrap.json +3 -2
  225. package/package.json +2 -1
@@ -10,35 +10,119 @@ m365 spo term set get [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to get a term set from the tenant term store as well as the sitecollection specific term store. Defaults to the tenant admin site.
15
+
13
16
  `-i, --id [id]`
14
- : ID of the term set to retrieve. Specify `name` or `id` but not both
17
+ : ID of the term set to retrieve. Specify `name` or `id` but not both.
15
18
 
16
19
  `-n, --name [name]`
17
- : Name of the term set to retrieve. Specify `name` or `id` but not both
20
+ : Name of the term set to retrieve. Specify `name` or `id` but not both.
18
21
 
19
22
  `--termGroupId [termGroupId]`
20
- : ID of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both
23
+ : ID of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both.
21
24
 
22
25
  `--termGroupName [termGroupName]`
23
- : Name of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both
26
+ : Name of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both.
24
27
 
25
28
  --8<-- "docs/cmd/_global.md"
26
29
 
27
30
  ## Remarks
28
31
 
29
32
  !!! important
30
- To use this command you have to have permissions to access the tenant admin site.
33
+ To use this command without the --webUrl option you have to have permissions to access the tenant admin site.
34
+
35
+ When using the `--webUrl` option you can connect to the term store with limited permissions, and do not need the SharePoint Administrator role. You need to be a site visitor or more. It allows you to get a term set from the tenant term store as well as a term set from the sitecollection term store.
31
36
 
32
37
  ## Examples
33
38
 
34
- Get information about a taxonomy term set using its ID
39
+ Get information about a taxonomy term set using its ID.
35
40
 
36
41
  ```sh
37
42
  m365 spo term set get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termGroupName PnPTermSets
38
43
  ```
39
44
 
40
- Get information about a taxonomy term set using its name
45
+ Get information about a taxonomy term set using its name.
41
46
 
42
47
  ```sh
43
- m365 spo term set get --name PnPTermSets --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb
48
+ m365 spo term set get --name PnP-Organizations --termGroupId 0a099ee9-e231-4ae9-a5b6-d7f94a0d241d
44
49
  ```
50
+
51
+ Get information about a taxonomy term set using its ID from the specified sitecollection.
52
+
53
+ ```sh
54
+ m365 spo term set get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termGroupName PnPTermSets --webUrl https://contoso.sharepoint.com/sites/project-x
55
+ ```
56
+
57
+ ## Response
58
+
59
+ === "JSON"
60
+
61
+ ```json
62
+ {
63
+ "CreatedDate": "2019-09-03T06:41:32.110Z",
64
+ "Id": "0e8f395e-ff58-4d45-9ff7-e331ab728beb",
65
+ "LastModifiedDate": "2019-09-03T06:41:32.260Z",
66
+ "Name": "PnP-Organizations",
67
+ "CustomProperties": {
68
+ "SearchCenterNavVer": "15"
69
+ },
70
+ "CustomSortOrder": null,
71
+ "IsAvailableForTagging": true,
72
+ "Owner": "",
73
+ "Contact": "",
74
+ "Description": "",
75
+ "IsOpenForTermCreation": true,
76
+ "Names": {
77
+ "1033": "PnP-Organizations"
78
+ },
79
+ "Stakeholders": []
80
+ }
81
+ ```
82
+
83
+ === "Text"
84
+
85
+ ```text
86
+ Contact :
87
+ CreatedDate : 2019-09-03T06:41:32.110Z
88
+ CustomProperties : {"SearchCenterNavVer":"15"}
89
+ CustomSortOrder : null
90
+ Description :
91
+ Id : 0e8f395e-ff58-4d45-9ff7-e331ab728beb
92
+ IsAvailableForTagging: true
93
+ IsOpenForTermCreation: true
94
+ LastModifiedDate : 2019-09-03T06:41:32.260Z
95
+ Name : PnP-Organizations
96
+ Names : {"1033":"PnP-Organizations"}
97
+ Owner :
98
+ Stakeholders : []
99
+ ```
100
+
101
+ === "CSV"
102
+
103
+ ```csv
104
+ CreatedDate,Id,LastModifiedDate,Name,IsAvailableForTagging,Owner,Contact,Description,IsOpenForTermCreation
105
+ 2019-09-03T06:41:32.110Z,0e8f395e-ff58-4d45-9ff7-e331ab728beb,2019-09-03T06:41:32.260Z,PnP-Organizations,1,,,,1
106
+ ```
107
+
108
+ === "Markdown"
109
+
110
+ ```md
111
+ # spo term set get --name "PnP-Organizations" --termGroupName "PnPTermSets"
112
+
113
+ Date: 5/9/2023
114
+
115
+ ## PnP-Organizations (0e8f395e-ff58-4d45-9ff7-e331ab728beb)
116
+
117
+ Property | Value
118
+ ---------|-------
119
+ CreatedDate | 2019-09-03T06:41:32.110Z
120
+ Id | 0e8f395e-ff58-4d45-9ff7-e331ab728beb
121
+ LastModifiedDate | 2019-09-03T06:41:32.260Z
122
+ Name | PnP-Organizations
123
+ IsAvailableForTagging | true
124
+ Owner |
125
+ Contact |
126
+ Description |
127
+ IsOpenForTermCreation | true
128
+ ```
@@ -10,29 +10,109 @@ m365 spo term set list [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to list term sets from the tenant term store as well as the sitecollection specific term store. Defaults to the tenant admin site.
15
+
13
16
  `--termGroupId [termGroupId]`
14
- : ID of the term group from which to retrieve term sets. Specify `termGroupName` or `termGroupId` but not both
17
+ : ID of the term group from which to retrieve term sets. Specify `termGroupName` or `termGroupId` but not both.
15
18
 
16
19
  `--termGroupName [termGroupName]`
17
- : Name of the term group from which to retrieve term sets. Specify `termGroupName` or `termGroupId` but not both
20
+ : Name of the term group from which to retrieve term sets. Specify `termGroupName` or `termGroupId` but not both.
18
21
 
19
22
  --8<-- "docs/cmd/_global.md"
20
23
 
21
24
  ## Remarks
22
25
 
23
26
  !!! important
24
- To use this command you have to have permissions to access the tenant admin site.
27
+ To use this command without the --webUrl option you have to have permissions to access the tenant admin site.
28
+
29
+ When using the `--webUrl` option you can connect to the term store with limited permissions, and do not need the SharePoint Administrator role. You need to be a site visitor or more. It allows you to list term sets from the tenant term store as well as term sets from the sitecollection term store.
25
30
 
26
31
  ## Examples
27
32
 
28
- List taxonomy term sets from the term group with the given name
33
+ List taxonomy term sets from the term group with the given name.
29
34
 
30
35
  ```sh
31
36
  m365 spo term set list --termGroupName PnPTermSets
32
37
  ```
33
38
 
34
- List taxonomy term sets from the term group with the given ID
39
+ List taxonomy term sets from the term group with the given ID.
35
40
 
36
41
  ```sh
37
42
  m365 spo term set list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb
38
43
  ```
44
+
45
+ List taxonomy term sets from the specified sitecollection, from the term group with the given name.
46
+
47
+ ```sh
48
+ m365 spo term set list --termGroupName PnPTermSets --webUrl https://contoso.sharepoint.com/sites/project-x
49
+ ```
50
+
51
+ ## Response
52
+
53
+ === "JSON"
54
+
55
+ ```json
56
+ [
57
+ {
58
+ "_ObjectType_": "SP.Taxonomy.TermSet",
59
+ "_ObjectIdentity_": "676eb2a0-80e7-2000-3976-610eb3f5a91e|fec14c62-7c3b-481b-851b-c80d7802b224:se:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g/qydiOUnAdTKTXucEL/+pv",
60
+ "CreatedDate": "2019-09-03T06:41:32.110Z",
61
+ "Id": "8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f",
62
+ "LastModifiedDate": "2019-09-03T06:41:32.260Z",
63
+ "Name": "Department",
64
+ "CustomProperties": {
65
+ "SearchCenterNavVer": "15"
66
+ },
67
+ "CustomSortOrder": null,
68
+ "IsAvailableForTagging": true,
69
+ "Owner": "",
70
+ "Contact": "",
71
+ "Description": "",
72
+ "IsOpenForTermCreation": true,
73
+ "Names": {
74
+ "1033": "Department"
75
+ },
76
+ "Stakeholders": []
77
+ }
78
+ ]
79
+ ```
80
+
81
+ === "Text"
82
+
83
+ ```text
84
+ Id Name
85
+ ------------------------------------ ----------
86
+ 8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f Department
87
+ ```
88
+
89
+ === "CSV"
90
+
91
+ ```csv
92
+ _ObjectType_,_ObjectIdentity_,CreatedDate,Id,LastModifiedDate,Name,IsAvailableForTagging,Owner,Contact,Description,IsOpenForTermCreation
93
+ SP.Taxonomy.TermSet,7c6eb2a0-20fe-2000-47f1-69774ac909f5|fec14c62-7c3b-481b-851b-c80d7802b224:se:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g/qydiOUnAdTKTXucEL/+pv,2019-09-03T06:41:32.110Z,8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f,2019-09-03T06:41:32.260Z,Department,1,,,,1
94
+ ```
95
+
96
+ === "Markdown"
97
+
98
+ ```md
99
+ # spo term set list --termGroupName "PnPTermSets"
100
+
101
+ Date: 5/13/2023
102
+
103
+ ## Department (8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f)
104
+
105
+ Property | Value
106
+ ---------|-------
107
+ \_ObjectType\_ | SP.Taxonomy.TermSet
108
+ \_ObjectIdentity\_ | 826eb2a0-405f-2000-41be-bfe56d4cdc73\|fec14c62-7c3b-481b-851b-c80d7802b224:se:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g/qydiOUnAdTKTXucEL/+pv
109
+ CreatedDate | 2019-09-03T06:41:32.110Z
110
+ Id | 8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f
111
+ LastModifiedDate | 2019-09-03T06:41:32.260Z
112
+ Name | Department
113
+ IsAvailableForTagging | true
114
+ Owner |
115
+ Contact |
116
+ Description |
117
+ IsOpenForTermCreation | true
118
+ ```
@@ -58,3 +58,20 @@ m365 teams app list --distributionMethod 'store'
58
58
  id,displayName,distributionMethod
59
59
  ffdb7239-3b58-46ba-b108-7f90a6d8799b,Contoso App,store
60
60
  ```
61
+
62
+ === "Markdown"
63
+
64
+ ```md
65
+ # teams app list
66
+
67
+ Date: 4/3/2023
68
+
69
+ ## Contoso App (ffdb7239-3b58-46ba-b108-7f90a6d8799b)
70
+
71
+ Property | Value
72
+ ---------|-------
73
+ id | ffdb7239-3b58-46ba-b108-7f90a6d8799b
74
+ externalId | null
75
+ displayName | Contoso App
76
+ distributionMethod | store
77
+ ```
@@ -11,7 +11,7 @@ m365 teams app publish [options]
11
11
  ## Options
12
12
 
13
13
  `-p, --filePath <filePath>`
14
- : Absolute or relative path to the Teams manifest zip file to add to the app catalog
14
+ : Absolute or relative path to the Teams manifest zip file to add to the app catalog.
15
15
 
16
16
  --8<-- "docs/cmd/_global.md"
17
17
 
@@ -56,3 +56,20 @@ m365 teams app publish --filePath ./teams-manifest.zip
56
56
  id,externalId,displayName,distributionMethod
57
57
  e3e29acb-8c79-412b-b746-e6c39ff4cd22,b5561ec9-8cab-4aa3-8aa2-d8d7172e4311,Test App,organization
58
58
  ```
59
+
60
+ === "Markdown"
61
+
62
+ ```md
63
+ # teams app publish
64
+
65
+ Date: 4/3/2023
66
+
67
+ ## Test App (e3e29acb-8c79-412b-b746-e6c39ff4cd22)
68
+
69
+ Property | Value
70
+ ---------|-------
71
+ id | e3e29acb-8c79-412b-b746-e6c39ff4cd22
72
+ externalId | b5561ec9-8cab-4aa3-8aa2-d8d7172e4311
73
+ displayName | Test App
74
+ distributionMethod | organization
75
+ ```
@@ -96,3 +96,23 @@ m365 teams channel add --teamId 6703ac8a-c49b-4fd4-8223-28f0ac3a6402 --name clim
96
96
  id,createdDateTime,displayName,description,isFavoriteByDefault,email,webUrl,membershipType
97
97
  19:591922f67c4341eeb15e49c791822bfe@thread.tacv2,2022-11-05T12:34:59.6583728Z,climicrosoft365,,,,https://teams.microsoft.com/l/channel/19%3a591922f67c4341eeb15e49c791822bfe%40thread.tacv2/climicrosoft365?groupId=6703ac8a-c49b-4fd4-8223-28f0ac3a6402&tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b,standard
98
98
  ```
99
+
100
+ === "Markdown"
101
+
102
+ ```md
103
+ # teams channel add --teamName "Team Name" --name "climicrosoft365" --description "development"
104
+
105
+ Date: 5/12/2023
106
+
107
+ ## climicrosoft365 (19:591922f67c4341eeb15e49c791822bfe@thread.tacv2)
108
+
109
+ Property | Value
110
+ ---------|-------
111
+ id | 19:591922f67c4341eeb15e49c791822bfe@thread.tacv2
112
+ createdDateTime | 2022-11-05T10:02:44.3930065Z
113
+ displayName | climicrosoft365
114
+ isFavoriteByDefault | false
115
+ email |
116
+ webUrl | https://teams.microsoft.com/l/channel/19%3a591922f67c4341eeb15e49c791822bfe%40thread.tacv2/climicrosoft365?groupId=6703ac8a-c49b-4fd4-8223-28f0ac3a6402&tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b
117
+ membershipType | standard
118
+ ```
@@ -85,3 +85,24 @@ m365 teams channel get --teamName "Team Name" --primary
85
85
  id,createdDateTime,displayName,description,isFavoriteByDefault,email,tenantId,webUrl,membershipType
86
86
  19:493665404ebd4a18adb8a980a31b4986@thread.tacv2,2022-10-26T15:43:31.954Z,Channel Name,This team is about Contoso,,TeamName@contoso.onmicrosoft.com,446355e4-e7e3-43d5-82f8-d7ad8272d55b,https://teams.microsoft.com/l/channel/19%3A493665404ebd4a18adb8a980a31b4986%40thread.tacv2/ChannelName?groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b&allowXTenantAccess=False,standard
87
87
  ```
88
+
89
+ === "Markdown"
90
+
91
+ ```md
92
+ # teams channel get --teamName TeamName --id "19:493665404ebd4a18adb8a980a31b4986@thread.tacv2"
93
+
94
+ Date: 5/6/2023
95
+
96
+ ## Channel Name (19:493665404ebd4a18adb8a980a31b4986@thread.tacv2)
97
+
98
+ Property | Value
99
+ ---------|-------
100
+ id | 19:493665404ebd4a18adb8a980a31b4986@thread.tacv2
101
+ createdDateTime | 2022-10-26T15:43:31.954Z
102
+ displayName | Channel Name
103
+ description | This team is about Contoso
104
+ email | TeamName@contoso.onmicrosoft.com
105
+ tenantId | 446355e4-e7e3-43d5-82f8-d7ad8272d55b
106
+ webUrl | https://teams.microsoft.com/l/channel/19%3A493665404ebd4a18adb8a980a31b4986%40thread.tacv2/ChannelName?groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b&allowXTenantAccess=False
107
+ membershipType | standard
108
+ ```
@@ -75,3 +75,24 @@ m365 teams channel list --teamId 00000000-0000-0000-0000-000000000000 --type pri
75
75
  id,displayName
76
76
  19:B3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1@thread.tacv2,Channel Name
77
77
  ```
78
+
79
+ === "Markdown"
80
+
81
+ ```md
82
+ # teams channel list --teamName TeamName
83
+
84
+ Date: 5/6/2023
85
+
86
+ ## Channel Name (19:B3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1@thread.tacv2)
87
+
88
+ Property | Value
89
+ ---------|-------
90
+ id | 19:B3nCnLKwwCoGDEADyUgQ5kJ5Pkekujyjmwxp7uhQeAE1@thread.tacv2
91
+ createdDateTime | 2022-10-26T15:43:31.954Z
92
+ displayName | Channel Name
93
+ description | This team is about Contoso
94
+ email | TeamName@contoso.onmicrosoft.com
95
+ tenantId | 446355e4-e7e3-43d5-82f8-d7ad8272d55b
96
+ webUrl | https://teams.microsoft.com/l/channel/19%3A493665404ebd4a18adb8a980a31b4986%40thread.tacv2/ChannelName?groupId=aee5a2c9-b1df-45ac-9964-c708e760a045&tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b&allowXTenantAccess=False
97
+ membershipType | standard
98
+ ```
@@ -83,3 +83,23 @@ m365 teams channel member list --teamId 00000000-0000-0000-0000-000000000000 --c
83
83
  id,roles,displayName,userId,email
84
84
  MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpCM25DbkxLd3dDb0dERUFEeVVnUTVrSjVQa2VrdWp5am13eHA3dWhRZUFFMUB0aHJlYWQudGFjdjIjIzc4Y2NmNTMwLWJiZjAtNDdlNC1hYWU2LWRhNWY4YzZmYjE0Mg==,"[""owner""]",John Doe,78ccf530-bbf0-47e4-aae6-da5f8c6fb142,johndoe@contoso.onmicrosoft.com
85
85
  ```
86
+
87
+ === "Markdown"
88
+
89
+ ```md
90
+ # teams channel member list --teamName "Team Name" --channelName "Channel Name"
91
+
92
+ Date: 5/6/2023
93
+
94
+ ## John Doe (MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpCM25DbkxLd3dDb0dERUFEeVVnUTVrSjVQa2VrdWp5am13eHA3dWhRZUFFMUB0aHJlYWQudGFjdjIjIzc4Y2NmNTMwLWJiZjAtNDdlNC1hYWU2LWRhNWY4YzZmYjE0Mg==)
95
+
96
+ Property | Value
97
+ ---------|-------
98
+ id | MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpCM25DbkxLd3dDb0dERUFEeVVnUTVrSjVQa2VrdWp5am13eHA3dWhRZUFFMUB0aHJlYWQudGFjdjIjIzc4Y2NmNTMwLWJiZjAtNDdlNC1hYWU2LWRhNWY4YzZmYjE0Mg==
99
+ roles | ["Owner"]
100
+ displayName | John Doe
101
+ visibleHistoryStartDateTime | 0001-01-01T00:00:00Z
102
+ userId | 78ccf530-bbf0-47e4-aae6-da5f8c6fb142
103
+ email | johndoe@contoso.onmicrosoft.com
104
+ tenantId | 446355e4-e7e3-43d5-82f8-d7ad8272d55b
105
+ ```
@@ -84,3 +84,24 @@ m365 teams channel member set --teamName "Team Name" --channelName "Channel Name
84
84
  id,roles,displayName,visibleHistoryStartDateTime,userId,email,tenantId
85
85
  MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpjOTg1MzBhZjFiMWQ0ZGQyOTMwOGRkYWQ2Zjc2YjdhMUB0aHJlYWQudGFjdjIjIzI0MWFkYmY2LTJhNTYtNGM3Mi04MWYyLTY5ZTc1ZGU2YWMzNA==,[],John Doe,0001-01-01T00:00:00Z,00000000-0000-0000-0000-000000000000,johndoe@contoso.onmicrosoft.com,446355e4-e7e3-43d5-82f8-d7ad8272d55b
86
86
  ```
87
+
88
+ === "Markdown"
89
+
90
+ ```md
91
+
92
+ # teams channel member set --teamName "Team Name" --channelName "Channel Name" --userName "johndoe@contoso.onmicrosoft.com" --role "owner"
93
+
94
+ Date: 5/6/2023
95
+
96
+ ## John Doe (MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpjOTg1MzBhZjFiMWQ0ZGQyOTMwOGRkYWQ2Zjc2YjdhMUB0aHJlYWQudGFjdjIjIzI0MWFkYmY2LTJhNTYtNGM3Mi04MWYyLTY5ZTc1ZGU2YWMzNA==)
97
+
98
+ Property | Value
99
+ ---------|-------
100
+ id | MCMjMiMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOTpjOTg1MzBhZjFiMWQ0ZGQyOTMwOGRkYWQ2Zjc2YjdhMUB0aHJlYWQudGFjdjIjIzI0MWFkYmY2LTJhNTYtNGM3Mi04MWYyLTY5ZTc1ZGU2YWMzNA==
101
+ roles | ["owner"]
102
+ displayName | John Doe
103
+ visibleHistoryStartDateTime | 0001-01-01T00:00:00Z
104
+ userId | 00000000-0000-0000-0000-000000000000
105
+ email | johndoe@contoso.onmicrosoft.com
106
+ tenantId | 446355e4-e7e3-43d5-82f8-d7ad8272d55b
107
+ ```
@@ -93,3 +93,25 @@ m365 teams chat get --name "Just a conversation"
93
93
  id,topic,createdDateTime,lastUpdatedDateTime,chatType,webUrl,tenantId,onlineMeetingInfo,viewpoint
94
94
  19:2da4c29f6d7041eca70b638b43d45437@thread.v2,,2022-11-05T13:06:25.218Z,2022-11-05T13:06:25.218Z,oneOnOne,https://teams.microsoft.com/l/chat/19%3A2da4c29f6d7041eca70b638b43d45437%40thread.v2/0?tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b,446355e4-e7e3-43d5-82f8-d7ad8272d55b,,"{""isHidden"":false,""lastMessageReadDateTime"":""2022-11-05T13:06:30.582Z""}"
95
95
  ```
96
+
97
+ === "Markdown"
98
+
99
+ ```md
100
+ # teams chat get --name "Just a conversation"
101
+
102
+ Date: 5/7/2023
103
+
104
+ ## 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
105
+
106
+ Property | Value
107
+ ---------|-------
108
+ id | 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
109
+ topic | Just a conversation
110
+ createdDateTime | 2022-11-05T13:06:25.218Z
111
+ lastUpdatedDateTime | 2022-11-05T13:06:25.218Z
112
+ chatType | group
113
+ webUrl | https://teams.microsoft.com/l/chat/19%3A2da4c29f6d7041eca70b638b43d45437%40thread.v2/0?tenantId=446355e4-e7e3-43d5-82f8-d7ad8272d55b
114
+ tenantId | 446355e4-e7e3-43d5-82f8-d7ad8272d55b
115
+ onlineMeetingInfo | null
116
+ viewpoint | {"isHidden":false,"lastMessageReadDateTime":"2022-11-05T13:06:30.582Z"}
117
+ ```
@@ -78,3 +78,25 @@ m365 teams chat list --userName 'john@contoso.com' --type group
78
78
  id,topic,chatType
79
79
  19:2da4c29f6d7041eca70b638b43d45437@thread.v2,,oneOnOne
80
80
  ```
81
+
82
+ === "Markdown"
83
+
84
+ ```md
85
+ # teams chat list --type "group"
86
+
87
+ Date: 5/8/2023
88
+
89
+ ## 19:b4874b8c8472461d9ac7b033ca782b33@thread.v2
90
+
91
+ Property | Value
92
+ ---------|-------
93
+ id | 19:b4874b8c8472461d9ac7b033ca782b33@thread.v2
94
+ topic | Just a conversation
95
+ createdDateTime | 2021-03-04T18:18:50.303Z
96
+ lastUpdatedDateTime | 2023-05-07T18:15:20.291Z
97
+ chatType | group
98
+ webUrl | https://teams.microsoft.com/l/chat/19%3Ab4874b8c8472461d9ac7b033ca782b33%40thread.v2/0?tenantId=de348bc7-1aeb-4406-8cb3-97db021cadb4
99
+ tenantId | de348bc7-1aeb-4406-8cb3-97db021cadb4
100
+ onlineMeetingInfo | null
101
+ viewpoint | {"isHidden":false,"lastMessageReadDateTime":"2023-05-07T18:15:20.309Z"}
102
+ ```
@@ -57,3 +57,23 @@ m365 teams chat member list --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_503
57
57
  userId,displayName,email
58
58
  78ccf530-bbf0-47e4-aae6-da5f8c6fb142,John Doe,johndoe@contoso.onmicrosoft.com
59
59
  ```
60
+
61
+ === "Markdown"
62
+
63
+ ```md
64
+ # teams chat member list --chatId "19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces"
65
+
66
+ Date: 5/8/2023
67
+
68
+ ## John Doe (MCMjMCMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOToyNDFhZGJmNi0yYTU2LTRjNzItODFmMi02OWU3NWRlNmFjMzRfNzhjY2Y1MzAtYmJmMC00N2U0LWFhZTYtZGE1ZjhjNmZiMTQyQHVucS5nYmwuc3BhY2VzIyM3OGNjZjUzMC1iYmYwLTQ3ZTQtYWFlNi1kYTVmOGM2ZmIxNDI=)
69
+
70
+ Property | Value
71
+ ---------|-------
72
+ id | MCMjMCMjMGNhYzZjZGEtMmUwNC00YTNkLTljMTYtOWM5MTQ3MGQ3MDIyIyMxOToyNDFhZGJmNi0yYTU2LTRjNzItODFmMi02OWU3NWRlNmFjMzRfNzhjY2Y1MzAtYmJmMC00N2U0LWFhZTYtZGE1ZjhjNmZiMTQyQHVucS5nYmwuc3BhY2VzIyM3OGNjZjUzMC1iYmYwLTQ3ZTQtYWFlNi1kYTVmOGM2ZmIxNDI=
73
+ roles | ["owner"]
74
+ displayName | John Doe
75
+ visibleHistoryStartDateTime | 0001-01-01T00:00:00Z
76
+ userId | 78ccf530-bbf0-47e4-aae6-da5f8c6fb142
77
+ email | johndoe@contoso.onmicrosoft.com
78
+ tenantId | 446355e4-e7e3-43d5-82f8-d7ad8272d55b
79
+ ```
@@ -0,0 +1,52 @@
1
+ # teams chat member remove
2
+
3
+ Removes a member from a Microsoft Teams chat conversation
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams chat member remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --chatId <chatId>`
14
+ : The ID of the chat conversation.
15
+
16
+ `--id [id]`
17
+ : The ID of the chat member. Specify either `id`, `userId`, or `userName` but not multiple.
18
+
19
+ `--userId [userId]`
20
+ : The Azure AD ID of the user. Specify either `id`, `userId`, or `userName` but not multiple.
21
+
22
+ `--userName [userName]`
23
+ : User's UPN (user principal name, e.g. johndoe@example.com). Specify either `id`, `userId`, or `userName` but not multiple.
24
+
25
+ `--confirm`
26
+ : Don't prompt for confirmation.
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Examples
31
+
32
+ Remove a member from a Teams chat by its member ID without prompting for confirmation.
33
+
34
+ ```sh
35
+ m365 teams chat member remove --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --id MCMjMjQzMmI1N2ItMGFiZC00M2RiLWFhN2ItMTZlYWRkMTE1ZDM0IyMxOTpiZDlkYTQ2MzIzYWY0MjUzOTZkMGZhNjcyMDAyODk4NEB0aHJlYWQudjIjIzQ4YmY5ZDUyLWRjYTctNGE1Zi04Mzk4LTM3Yjk1Y2M3YmQ4Mw== --confirm
36
+ ```
37
+
38
+ Remove a member from a Teams chat by its Azure AD ID.
39
+
40
+ ```sh
41
+ 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
42
+ ```
43
+
44
+ Remove a member from a Teams chat by its Azure AD UPN.
45
+
46
+ ```sh
47
+ m365 teams chat member remove --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces --userName john.doe@contoso.com
48
+ ```
49
+
50
+ ## Response
51
+
52
+ The command won't return a response on success.
@@ -82,3 +82,26 @@ m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread
82
82
  id,shortBody
83
83
  1667653590582,<p>Hello world</p>
84
84
  ```
85
+
86
+ === "Markdown"
87
+
88
+ ```md
89
+ # teams chat message list --chatId "19:04355ecd-2124-4097-bc2b-c2295a71d7a3_e1251b10-1ba4-49e3-b35a-933e3f21772b@unq.gbl.spaces"
90
+
91
+ Date: 5/8/2023
92
+
93
+ ## 1662642685689
94
+
95
+ Property | Value
96
+ ---------|-------
97
+ id | 1662642685689
98
+ etag | 1667653590582
99
+ messageType | message
100
+ createdDateTime | 2022-11-05T13:06:30.582Z
101
+ lastModifiedDateTime | 2022-11-05T13:06:30.582Z
102
+ chatId | 19:04355ecd-2124-4097-bc2b-c2295a71d7a3_e1251b10-1ba4-49e3-b35a-933e3f21772b@unq.gbl.spaces
103
+ importance | normal
104
+ locale | en-us
105
+ body | <p>Hello world</p>
106
+ shortBody | <p>Hello world</p>
107
+ ```
@@ -51,3 +51,18 @@ m365 teams funsettings list --teamId 83cece1e-938d-44a1-8b86-918cf6151957
51
51
  allowGiphy,giphyContentRating,allowStickersAndMemes,allowCustomMemes
52
52
  1,moderate,1,1
53
53
  ```
54
+
55
+ === "Markdown"
56
+
57
+ ```md
58
+ # teams funsettings list --teamId "83cece1e-938d-44a1-8b86-918cf6151957"
59
+
60
+ Date: 5/7/2023
61
+
62
+ Property | Value
63
+ ---------|-------
64
+ allowGiphy | true
65
+ giphyContentRating | moderate
66
+ allowStickersAndMemes | true
67
+ allowCustomMemes | true
68
+ ```
@@ -47,3 +47,16 @@ m365 teams guestsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
47
47
  allowCreateUpdateChannels,allowDeleteChannels
48
48
  ,
49
49
  ```
50
+
51
+ === "Markdown"
52
+
53
+ ```md
54
+ # teams guestsettings list --teamId "2609af39-7775-4f94-a3dc-0dd67657e900"
55
+
56
+ Date: 5/7/2023
57
+
58
+ Property | Value
59
+ ---------|-------
60
+ allowCreateUpdateChannels | false
61
+ allowDeleteChannels | false
62
+ ```
@@ -55,3 +55,20 @@ m365 teams membersettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
55
55
  allowCreateUpdateChannels,allowCreatePrivateChannels,allowDeleteChannels,allowAddRemoveApps,allowCreateUpdateRemoveTabs,allowCreateUpdateRemoveConnectors
56
56
  1,1,1,1,1,1
57
57
  ```
58
+
59
+ === "Markdown"
60
+
61
+ ```md
62
+ # teams membersettings list --teamId "2609af39-7775-4f94-a3dc-0dd67657e900"
63
+
64
+ Date: 5/7/2023
65
+
66
+ Property | Value
67
+ ---------|-------
68
+ allowCreateUpdateChannels | true
69
+ allowCreatePrivateChannels | true
70
+ allowDeleteChannels | true
71
+ allowAddRemoveApps | true
72
+ allowCreateUpdateRemoveTabs | true
73
+ allowCreateUpdateRemoveConnectors | true
74
+ ```
@@ -42,6 +42,6 @@ m365 teams tab remove --teamId 00000000-0000-0000-0000-000000000000 --channelId
42
42
 
43
43
  The command won't return a response on success.
44
44
 
45
- ## Additional information
45
+ ## More information
46
46
 
47
47
  - Delete tab from channel: [https://docs.microsoft.com/en-us/graph/api/teamstab-delete?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/teamstab-delete?view=graph-rest-1.0)
@@ -53,3 +53,21 @@ m365 todo list add --name "My task list"
53
53
  displayName,isOwner,isShared,wellknownListName,id
54
54
  My task list,1,,none,AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA=
55
55
  ```
56
+
57
+ === "Markdown"
58
+
59
+ ```md
60
+ # todo list add --name "My task list"
61
+
62
+ Date: 26/5/2023
63
+
64
+ ## My task list (AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA=)
65
+
66
+ Property | Value
67
+ ---------|-------
68
+ displayName | My task list
69
+ isOwner | true
70
+ isShared | false
71
+ wellknownListName | none
72
+ id | AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA=
73
+ ```