@pnp/cli-microsoft365 5.2.0-beta.0f1c454 → 5.2.0-beta.6dee8b6

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 (263) hide show
  1. package/.eslintrc.js +1 -0
  2. package/.mocharc.json +1 -0
  3. package/dist/Auth.js +2 -1
  4. package/dist/Command.js +10 -1
  5. package/dist/cli/Cli.js +2 -18
  6. package/dist/m365/app/commands/app-get.js +3 -0
  7. package/dist/m365/cli/commands/cli-reconsent.js +20 -2
  8. package/dist/m365/cli/commands/config/config-set.js +1 -0
  9. package/dist/m365/pp/commands/environment/environment-list.js +57 -0
  10. package/dist/m365/pp/commands/managementapp/managementapp-list.js +24 -0
  11. package/dist/m365/pp/commands.js +3 -1
  12. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002019_DEVDEP_spfx_fast_serve_helpers.js +14 -0
  13. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.12.0.js +2 -0
  14. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.0.js +2 -0
  15. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +2 -0
  16. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.4.1.js +2 -0
  17. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.9.1.js +2 -0
  18. package/dist/m365/spfx/commands/project/project-upgrade.js +4 -1
  19. package/dist/m365/spo/commands/file/file-checkout.js +2 -2
  20. package/dist/m365/spo/commands/site/site-remove.js +4 -3
  21. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +10 -44
  22. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +21 -0
  23. package/dist/m365/teams/commands/channel/channel-add.js +44 -14
  24. package/dist/m365/teams/commands/channel/channel-list.js +11 -1
  25. package/dist/m365/teams/commands/channel/channel-member-set.js +203 -0
  26. package/dist/m365/teams/commands/channel/channel-membership-list.js +150 -0
  27. package/dist/m365/teams/commands/chat/chat-get.js +143 -0
  28. package/dist/m365/teams/commands/chat/chat-message-send.js +5 -30
  29. package/dist/m365/teams/commands/chat/chatUtil.js +62 -0
  30. package/dist/m365/teams/commands.js +3 -0
  31. package/dist/settingsNames.js +1 -0
  32. package/dist/utils/index.js +1 -0
  33. package/dist/utils/md.js +81 -0
  34. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.md +1 -1
  35. package/docs/docs/cmd/aad/group/group-list.md +1 -1
  36. package/docs/docs/cmd/aad/groupsetting/groupsetting-add.md +1 -1
  37. package/docs/docs/cmd/aad/groupsetting/groupsetting-get.md +1 -1
  38. package/docs/docs/cmd/aad/groupsetting/groupsetting-list.md +1 -1
  39. package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.md +1 -1
  40. package/docs/docs/cmd/aad/groupsetting/groupsetting-set.md +1 -1
  41. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-get.md +1 -1
  42. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-list.md +1 -1
  43. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-clear.md +1 -1
  44. package/docs/docs/cmd/aad/o365group/o365group-remove.md +1 -1
  45. package/docs/docs/cmd/aad/o365group/o365group-renew.md +1 -1
  46. package/docs/docs/cmd/aad/o365group/o365group-report-activitycounts.md +1 -1
  47. package/docs/docs/cmd/aad/o365group/o365group-report-activityfilecounts.md +1 -1
  48. package/docs/docs/cmd/aad/o365group/o365group-report-activitygroupcounts.md +1 -1
  49. package/docs/docs/cmd/aad/o365group/o365group-teamify.md +1 -1
  50. package/docs/docs/cmd/aad/o365group/o365group-user-add.md +1 -1
  51. package/docs/docs/cmd/aad/o365group/o365group-user-remove.md +1 -1
  52. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.md +1 -1
  53. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.md +1 -1
  54. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.md +1 -1
  55. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.md +1 -1
  56. package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.md +1 -1
  57. package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.md +1 -1
  58. package/docs/docs/cmd/aad/siteclassification/siteclassification-get.md +1 -1
  59. package/docs/docs/cmd/aad/siteclassification/siteclassification-set.md +1 -1
  60. package/docs/docs/cmd/aad/sp/sp-get.md +1 -1
  61. package/docs/docs/cmd/aad/user/user-password-validate.md +1 -1
  62. package/docs/docs/cmd/cli/cli-doctor.md +1 -1
  63. package/docs/docs/cmd/flow/environment/environment-get.md +1 -1
  64. package/docs/docs/cmd/flow/environment/environment-list.md +1 -1
  65. package/docs/docs/cmd/flow/run/run-list.md +1 -1
  66. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +1 -1
  67. package/docs/docs/cmd/logout.md +1 -1
  68. package/docs/docs/cmd/onedrive/onedrive-list.md +1 -1
  69. package/docs/docs/cmd/planner/bucket/bucket-list.md +1 -1
  70. package/docs/docs/cmd/pp/environment/environment-list.md +37 -0
  71. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +21 -0
  72. package/docs/docs/cmd/spo/app/app-add.md +1 -1
  73. package/docs/docs/cmd/spo/app/app-deploy.md +1 -1
  74. package/docs/docs/cmd/spo/app/app-get.md +1 -1
  75. package/docs/docs/cmd/spo/app/app-install.md +1 -1
  76. package/docs/docs/cmd/spo/app/app-instance-list.md +1 -1
  77. package/docs/docs/cmd/spo/app/app-list.md +1 -1
  78. package/docs/docs/cmd/spo/app/app-remove.md +1 -1
  79. package/docs/docs/cmd/spo/app/app-retract.md +1 -1
  80. package/docs/docs/cmd/spo/app/app-uninstall.md +1 -1
  81. package/docs/docs/cmd/spo/app/app-upgrade.md +1 -1
  82. package/docs/docs/cmd/spo/apppage/apppage-add.md +1 -1
  83. package/docs/docs/cmd/spo/cdn/cdn-get.md +1 -1
  84. package/docs/docs/cmd/spo/cdn/cdn-origin-add.md +1 -1
  85. package/docs/docs/cmd/spo/cdn/cdn-origin-list.md +1 -1
  86. package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +1 -1
  87. package/docs/docs/cmd/spo/contenttype/contenttype-add.md +1 -1
  88. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +1 -1
  89. package/docs/docs/cmd/spo/contenttype/contenttype-field-set.md +1 -1
  90. package/docs/docs/cmd/spo/contenttype/contenttype-remove.md +1 -1
  91. package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
  92. package/docs/docs/cmd/spo/customaction/customaction-clear.md +1 -1
  93. package/docs/docs/cmd/spo/customaction/customaction-get.md +1 -1
  94. package/docs/docs/cmd/spo/customaction/customaction-list.md +1 -1
  95. package/docs/docs/cmd/spo/customaction/customaction-remove.md +1 -1
  96. package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
  97. package/docs/docs/cmd/spo/externaluser/externaluser-list.md +1 -1
  98. package/docs/docs/cmd/spo/feature/feature-list.md +1 -1
  99. package/docs/docs/cmd/spo/field/field-add.md +1 -1
  100. package/docs/docs/cmd/spo/field/field-get.md +1 -1
  101. package/docs/docs/cmd/spo/field/field-set.md +1 -1
  102. package/docs/docs/cmd/spo/file/file-add.md +1 -1
  103. package/docs/docs/cmd/spo/file/file-checkin.md +1 -1
  104. package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
  105. package/docs/docs/cmd/spo/file/file-copy.md +1 -1
  106. package/docs/docs/cmd/spo/file/file-get.md +1 -1
  107. package/docs/docs/cmd/spo/file/file-move.md +1 -1
  108. package/docs/docs/cmd/spo/file/file-remove.md +1 -1
  109. package/docs/docs/cmd/spo/folder/folder-add.md +1 -1
  110. package/docs/docs/cmd/spo/folder/folder-copy.md +1 -1
  111. package/docs/docs/cmd/spo/folder/folder-get.md +1 -1
  112. package/docs/docs/cmd/spo/folder/folder-list.md +1 -1
  113. package/docs/docs/cmd/spo/folder/folder-move.md +1 -1
  114. package/docs/docs/cmd/spo/folder/folder-remove.md +1 -1
  115. package/docs/docs/cmd/spo/folder/folder-rename.md +1 -1
  116. package/docs/docs/cmd/spo/group/group-user-add.md +1 -1
  117. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.md +1 -1
  118. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.md +1 -1
  119. package/docs/docs/cmd/spo/homesite/homesite-get.md +1 -1
  120. package/docs/docs/cmd/spo/homesite/homesite-set.md +1 -1
  121. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +1 -1
  122. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +1 -1
  123. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +1 -1
  124. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +1 -1
  125. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +1 -1
  126. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +1 -1
  127. package/docs/docs/cmd/spo/hubsite/hubsite-set.md +1 -1
  128. package/docs/docs/cmd/spo/hubsite/hubsite-theme-sync.md +1 -1
  129. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +1 -1
  130. package/docs/docs/cmd/spo/list/list-add.md +1 -1
  131. package/docs/docs/cmd/spo/list/list-contenttype-add.md +1 -1
  132. package/docs/docs/cmd/spo/list/list-contenttype-list.md +1 -1
  133. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +1 -1
  134. package/docs/docs/cmd/spo/list/list-get.md +1 -1
  135. package/docs/docs/cmd/spo/list/list-label-get.md +1 -1
  136. package/docs/docs/cmd/spo/list/list-label-set.md +1 -1
  137. package/docs/docs/cmd/spo/list/list-list.md +1 -1
  138. package/docs/docs/cmd/spo/list/list-remove.md +1 -1
  139. package/docs/docs/cmd/spo/list/list-set.md +1 -1
  140. package/docs/docs/cmd/spo/list/list-sitescript-get.md +1 -1
  141. package/docs/docs/cmd/spo/list/list-view-field-add.md +1 -1
  142. package/docs/docs/cmd/spo/list/list-view-field-remove.md +1 -1
  143. package/docs/docs/cmd/spo/list/list-view-get.md +1 -1
  144. package/docs/docs/cmd/spo/list/list-view-remove.md +1 -1
  145. package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
  146. package/docs/docs/cmd/spo/list/list-webhook-add.md +1 -1
  147. package/docs/docs/cmd/spo/list/list-webhook-get.md +1 -1
  148. package/docs/docs/cmd/spo/list/list-webhook-list.md +1 -1
  149. package/docs/docs/cmd/spo/list/list-webhook-remove.md +1 -1
  150. package/docs/docs/cmd/spo/list/list-webhook-set.md +1 -1
  151. package/docs/docs/cmd/spo/listitem/listitem-add.md +1 -1
  152. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +1 -1
  153. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +1 -1
  154. package/docs/docs/cmd/spo/listitem/listitem-set.md +1 -1
  155. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +1 -1
  156. package/docs/docs/cmd/spo/navigation/navigation-node-list.md +1 -1
  157. package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +1 -1
  158. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +1 -1
  159. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +1 -1
  160. package/docs/docs/cmd/spo/page/page-add.md +1 -1
  161. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.md +1 -1
  162. package/docs/docs/cmd/spo/page/page-column-get.md +1 -1
  163. package/docs/docs/cmd/spo/page/page-column-list.md +1 -1
  164. package/docs/docs/cmd/spo/page/page-control-get.md +1 -1
  165. package/docs/docs/cmd/spo/page/page-control-list.md +1 -1
  166. package/docs/docs/cmd/spo/page/page-list.md +1 -1
  167. package/docs/docs/cmd/spo/page/page-remove.md +1 -1
  168. package/docs/docs/cmd/spo/page/page-section-add.md +1 -1
  169. package/docs/docs/cmd/spo/page/page-section-get.md +1 -1
  170. package/docs/docs/cmd/spo/page/page-section-list.md +1 -1
  171. package/docs/docs/cmd/spo/page/page-set.md +1 -1
  172. package/docs/docs/cmd/spo/page/page-template-list.md +1 -1
  173. package/docs/docs/cmd/spo/page/page-text-add.md +1 -1
  174. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +1 -1
  175. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +1 -1
  176. package/docs/docs/cmd/spo/propertybag/propertybag-remove.md +1 -1
  177. package/docs/docs/cmd/spo/propertybag/propertybag-set.md +1 -1
  178. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +1 -1
  179. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +1 -1
  180. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +1 -1
  181. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +1 -1
  182. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +1 -1
  183. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +1 -1
  184. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +1 -1
  185. package/docs/docs/cmd/spo/site/site-add.md +1 -1
  186. package/docs/docs/cmd/spo/site/site-appcatalog-add.md +1 -1
  187. package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +1 -1
  188. package/docs/docs/cmd/spo/site/site-classic-add.md +1 -1
  189. package/docs/docs/cmd/spo/site/site-commsite-enable.md +1 -1
  190. package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.md +1 -1
  191. package/docs/docs/cmd/spo/site/site-set.md +1 -1
  192. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.md +1 -1
  193. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.md +1 -1
  194. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.md +1 -1
  195. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.md +1 -1
  196. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.md +1 -1
  197. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.md +1 -1
  198. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.md +1 -1
  199. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.md +1 -1
  200. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.md +1 -1
  201. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.md +1 -1
  202. package/docs/docs/cmd/spo/sitescript/sitescript-add.md +1 -1
  203. package/docs/docs/cmd/spo/sitescript/sitescript-get.md +1 -1
  204. package/docs/docs/cmd/spo/sitescript/sitescript-list.md +1 -1
  205. package/docs/docs/cmd/spo/sitescript/sitescript-remove.md +1 -1
  206. package/docs/docs/cmd/spo/sitescript/sitescript-set.md +1 -1
  207. package/docs/docs/cmd/spo/spo-get.md +1 -1
  208. package/docs/docs/cmd/spo/storageentity/storageentity-list.md +1 -1
  209. package/docs/docs/cmd/spo/storageentity/storageentity-remove.md +1 -1
  210. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.md +1 -1
  211. package/docs/docs/cmd/spo/tenant/tenant-settings-list.md +1 -1
  212. package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +52 -33
  213. package/docs/docs/cmd/spo/term/term-add.md +1 -1
  214. package/docs/docs/cmd/spo/term/term-get.md +1 -1
  215. package/docs/docs/cmd/spo/term/term-group-add.md +1 -1
  216. package/docs/docs/cmd/spo/term/term-group-get.md +1 -1
  217. package/docs/docs/cmd/spo/term/term-group-list.md +1 -1
  218. package/docs/docs/cmd/spo/term/term-list.md +1 -1
  219. package/docs/docs/cmd/spo/term/term-set-add.md +1 -1
  220. package/docs/docs/cmd/spo/term/term-set-get.md +1 -1
  221. package/docs/docs/cmd/spo/term/term-set-list.md +1 -1
  222. package/docs/docs/cmd/spo/theme/theme-apply.md +1 -1
  223. package/docs/docs/cmd/spo/theme/theme-get.md +1 -1
  224. package/docs/docs/cmd/spo/theme/theme-list.md +1 -1
  225. package/docs/docs/cmd/spo/theme/theme-remove.md +1 -1
  226. package/docs/docs/cmd/spo/user/user-remove.md +1 -1
  227. package/docs/docs/cmd/spo/web/web-add.md +1 -1
  228. package/docs/docs/cmd/spo/web/web-clientsidewebpart-list.md +1 -1
  229. package/docs/docs/cmd/spo/web/web-get.md +1 -1
  230. package/docs/docs/cmd/spo/web/web-list.md +1 -1
  231. package/docs/docs/cmd/spo/web/web-reindex.md +1 -1
  232. package/docs/docs/cmd/spo/web/web-remove.md +1 -1
  233. package/docs/docs/cmd/teams/app/app-publish.md +1 -1
  234. package/docs/docs/cmd/teams/app/app-remove.md +1 -1
  235. package/docs/docs/cmd/teams/app/app-uninstall.md +1 -1
  236. package/docs/docs/cmd/teams/channel/channel-add.md +18 -0
  237. package/docs/docs/cmd/teams/channel/channel-list.md +12 -3
  238. package/docs/docs/cmd/teams/channel/channel-member-set.md +51 -0
  239. package/docs/docs/cmd/teams/channel/channel-membership-list.md +48 -0
  240. package/docs/docs/cmd/teams/channel/channel-set.md +1 -1
  241. package/docs/docs/cmd/teams/chat/chat-get.md +53 -0
  242. package/docs/docs/cmd/teams/conversationmember/conversationmember-list.md +1 -1
  243. package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +1 -1
  244. package/docs/docs/cmd/teams/guestsettings/guestsettings-set.md +1 -1
  245. package/docs/docs/cmd/teams/membersettings/membersettings-list.md +1 -1
  246. package/docs/docs/cmd/teams/membersettings/membersettings-set.md +1 -1
  247. package/docs/docs/cmd/teams/message/message-get.md +1 -1
  248. package/docs/docs/cmd/teams/message/message-reply-list.md +1 -1
  249. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +1 -1
  250. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +1 -1
  251. package/docs/docs/cmd/teams/report/report-pstncalls.md +1 -1
  252. package/docs/docs/cmd/teams/tab/tab-list.md +1 -1
  253. package/docs/docs/cmd/teams/team/team-archive.md +1 -1
  254. package/docs/docs/cmd/teams/team/team-clone.md +1 -1
  255. package/docs/docs/cmd/teams/team/team-get.md +1 -1
  256. package/docs/docs/cmd/teams/team/team-list.md +1 -1
  257. package/docs/docs/cmd/teams/team/team-remove.md +1 -1
  258. package/docs/docs/cmd/teams/team/team-set.md +1 -1
  259. package/docs/docs/cmd/teams/team/team-unarchive.md +1 -1
  260. package/docs/docs/cmd/todo/task/task-list.md +1 -1
  261. package/docs/docs/cmd/todo/task/task-set.md +1 -1
  262. package/npm-shrinkwrap.json +22 -736
  263. package/package.json +2 -3
@@ -28,4 +28,4 @@ m365 spo theme get --name Contoso-Blue
28
28
 
29
29
  ## More information
30
30
 
31
- - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
31
+ - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
@@ -25,4 +25,4 @@ m365 spo theme list
25
25
 
26
26
  ## More information
27
27
 
28
- - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
28
+ - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
@@ -37,4 +37,4 @@ m365 spo theme remove --name Contoso-Blue --confirm
37
37
 
38
38
  ## More information
39
39
 
40
- - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
40
+ - SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
@@ -44,4 +44,4 @@ m365 spo user remove --webUrl "https://contoso.sharepoint.com/sites/HR" --loginN
44
44
 
45
45
  ## More information
46
46
 
47
- - Remove-PnPUser - [https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps](https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps)
47
+ - Remove-PnPUser - [https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps](https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/remove-pnpuser?view=sharepoint-ps)
@@ -54,4 +54,4 @@ Create subsite with the same navigation as the parent site
54
54
 
55
55
  ```sh
56
56
  m365 spo web add --title Subsite --webUrl subsite --webTemplate STS#0 --parentWebUrl https://contoso.sharepoint.com --inheritNavigation
57
- ```
57
+ ```
@@ -21,4 +21,4 @@ Lists all the available client-side web parts for the specified site
21
21
 
22
22
  ```sh
23
23
  m365 spo web clientsidewebpart list --webUrl https://contoso.sharepoint.com
24
- ```
24
+ ```
@@ -30,4 +30,4 @@ Retrieve information about the site _https://contoso.sharepoint.com/subsite_ alo
30
30
 
31
31
  ```sh
32
32
  m365 spo web get --webUrl https://contoso.sharepoint.com/subsite --withGroups
33
- ```
33
+ ```
@@ -21,4 +21,4 @@ Return all subsites from site _https://contoso.sharepoint.com/_
21
21
 
22
22
  ```sh
23
23
  m365 spo web list -u https://contoso.sharepoint.com
24
- ```
24
+ ```
@@ -25,4 +25,4 @@ Request reindexing the subsite _https://contoso.sharepoint.com/subsite_
25
25
 
26
26
  ```sh
27
27
  m365 spo web reindex --webUrl https://contoso.sharepoint.com/subsite
28
- ```
28
+ ```
@@ -24,4 +24,4 @@ Delete subsite without prompting for confirmation
24
24
 
25
25
  ```sh
26
26
  m365 spo web remove --webUrl https://contoso.sharepoint.com/subsite --confirm
27
- ```
27
+ ```
@@ -25,4 +25,4 @@ Add the _teams-manifest.zip_ file to the organization's app catalog
25
25
 
26
26
  ```sh
27
27
  m365 teams app publish --filePath ./teams-manifest.zip
28
- ```
28
+ ```
@@ -34,4 +34,4 @@ Remove the Teams app with ID _83cece1e-938d-44a1-8b86-918cf6151957_ from the org
34
34
 
35
35
  ```sh
36
36
  m365 teams app remove --id 83cece1e-938d-44a1-8b86-918cf6151957 --confirm
37
- ```
37
+ ```
@@ -32,4 +32,4 @@ Uninstall an app from a Microsoft Teams team
32
32
 
33
33
  ```sh
34
34
  m365 teams app uninstall --appId YzUyN2E0NzAtYTg4Mi00ODFjLTk4MWMtZWU2ZWZhYmE4NWM3IyM0ZDFlYTA0Ny1mMTk2LTQ1MGQtYjJlOS0wZDI4NTViYTA1YTY= --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
35
- ```
35
+ ```
@@ -22,6 +22,12 @@ m365 teams channel add [options]
22
22
  `-d, --description [description]`
23
23
  : The description of the channel to add
24
24
 
25
+ `--type [type]`
26
+ : Type of channel to create: `standard,private`. Default `standard`.
27
+
28
+ `--owner [owner]`
29
+ : User with this ID or UPN will be added as owner of the private channel. This option is required when type is `private`.
30
+
25
31
  --8<-- "docs/cmd/_global.md"
26
32
 
27
33
  ## Remarks
@@ -41,3 +47,15 @@ Add channel to the specified Microsoft Teams team with name _Team Name_
41
47
  ```sh
42
48
  m365 teams channel add --teamName "Team Name" --name climicrosoft365 --description development
43
49
  ```
50
+
51
+ Add private channel to the specified Microsoft Teams team with owner UPN
52
+
53
+ ```sh
54
+ m365 teams channel add --teamName "Team Name" --name climicrosoft365 --type private --owner john.doe@contoso.com
55
+ ```
56
+
57
+ Add private channel to the specified Microsoft Teams team with owner ID
58
+
59
+ ```sh
60
+ m365 teams channel add --teamId 6703ac8a-c49b-4fd4-8223-28f0ac3a6402 --name climicrosoft365 --type private --owner cc693a7d-4833-4911-a89a-f0fe6e49bf69
61
+ ```
@@ -16,18 +16,27 @@ m365 teams channel list [options]
16
16
  `--teamName [teamName]`
17
17
  : The display name of the team to list the channels of. Specify either `teamId` or `teamName` but not both
18
18
 
19
+ `--type [type]`
20
+ : Filter the results to only channels of a given type: `standard, private`. By default all channels are listed.
21
+
19
22
  --8<-- "docs/cmd/_global.md"
20
23
 
21
24
  ## Examples
22
25
 
23
- List the channels in a specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000
26
+ List all channels in a specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000
24
27
 
25
28
  ```sh
26
29
  m365 teams channel list --teamId 00000000-0000-0000-0000-000000000000
27
30
  ```
28
31
 
29
- List the channels in a specified Microsoft Teams team with name _Team Name_
32
+ List all channels in a specified Microsoft Teams team with name _Team Name_
30
33
 
31
34
  ```sh
32
35
  m365 teams channel list --teamName "Team Name"
33
- ```
36
+ ```
37
+
38
+ List private channels in a specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000
39
+
40
+ ```sh
41
+ m365 teams channel list --teamId 00000000-0000-0000-0000-000000000000 --type private
42
+ ```
@@ -0,0 +1,51 @@
1
+ # teams channel member set
2
+
3
+ Updates the role of the specified member in the specified Microsoft Teams private team channel
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams channel member set [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--teamId [teamId]`
14
+ : The Id of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
15
+
16
+ `--teamName [teamName]`
17
+ : The display name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
18
+
19
+ `--channelId [channelId]`
20
+ : The Id of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
21
+
22
+ `--channelName [channelName]`
23
+ : The display name of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
24
+
25
+ `--userName [userName]`
26
+ : User's UPN (user principal name, e.g. johndoe@example.com). Specify either userName, userId or id but not multiple.
27
+
28
+ `--userId [userId]`
29
+ : User's Azure AD Id. Specify either userName, userId or id but not multiple.
30
+
31
+ `--id [id]`
32
+ : Channel member Id of a user. Specify either userName, userId or id but not multiple.
33
+
34
+ `-r, --role <role>`
35
+ : The role to be assigned to the user: owner, member.
36
+
37
+ --8<-- "docs/cmd/_global.md"
38
+
39
+ ## Examples
40
+
41
+ Updates the role of the user _johndoe@example.com_ to owner in the Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
42
+
43
+ ```sh
44
+ m365 teams channel member set --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype --userName "johndoe@example.com" --role owner
45
+ ```
46
+
47
+ Updates the role of the user with id 00000000-0000-0000-0000-000000000000 to member in the Microsoft Teams team with name _Team Name_ and channel with name _Channel Name_
48
+
49
+ ```sh
50
+ m365 teams channel member set --teamName "Team Name" --channelName "Channel Name" --userId 00000000-0000-0000-0000-000000000000 --role member
51
+ ```
@@ -0,0 +1,48 @@
1
+ # teams channel membership list
2
+
3
+ Lists memberships in the specified Microsoft Teams team channel
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams channel membership list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--teamId [teamId]`
14
+ : The Id of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
15
+
16
+ `--teamName [teamName]`
17
+ : The display name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both
18
+
19
+ `--channelId [channelId]`
20
+ : The Id of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
21
+
22
+ `--channelName [channelName]`
23
+ : The display name of the Microsoft Teams team channel. Specify either `channelId` or `channelName` but not both
24
+
25
+ `-r, --role [role]`
26
+ : Filter the results to only users with the given role: owner, member, guest
27
+
28
+ --8<-- "docs/cmd/_global.md"
29
+
30
+ ## Examples
31
+
32
+ List the memberships in a specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
33
+
34
+ ```sh
35
+ m365 teams channel membership list --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype
36
+ ```
37
+
38
+ List the memberships in a specified Microsoft Teams team with name _Team Name_ and channel with name _Channel Name_
39
+
40
+ ```sh
41
+ m365 teams channel membership list --teamName "Team Name" --channelName "Channel Name"
42
+ ```
43
+
44
+ List all owner memberships in the specified Microsoft Teams team with id 00000000-0000-0000-0000-000000000000 and channel id 00:00000000000000000000000000000000@thread.skype
45
+
46
+ ```sh
47
+ m365 teams channel membership list --teamId 00000000-0000-0000-0000-000000000000 --channelId 00:00000000000000000000000000000000@thread.skype --role owner
48
+ ```
@@ -36,4 +36,4 @@ Set new display name for the specified channel in the given Microsoft Teams team
36
36
 
37
37
  ```sh
38
38
  m365 teams channel set --teamId "00000000-0000-0000-0000-000000000000" --channelName Reviews --newChannelName Projects
39
- ```
39
+ ```
@@ -0,0 +1,53 @@
1
+ # teams chat get
2
+
3
+ Get a Microsoft Teams chat conversation by id, participants or chat name.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams chat get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id [id]`
14
+ : The ID of the chat conversation. Specify either `id`, `name` or `participants`, but not multiple.
15
+
16
+ `-n, --name [name]`
17
+ : The display name of the chat conversation. Specify either `id`, `name` or `participants`, but not multiple.
18
+
19
+ `-p, --participants [participants]`
20
+ : A comma-separated list of one or more e-mail addresses. Specify either `id`, `name` or `participants`, but not multiple.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
25
+
26
+ The output will not include the chat conversation members or messages. It will just retrieve the conversation details.
27
+ When using the `participants` option, the signed-in user will automatically be included as a participant. There's no need to add it to the list manually.
28
+
29
+ ## Examples
30
+
31
+ Get a Microsoft Teams chat conversation by id
32
+
33
+ ```sh
34
+ m365 teams chat get --id 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
35
+ ```
36
+
37
+ Get a Microsoft Teams one on one chat conversation, finding it by participant.
38
+
39
+ ```sh
40
+ m365 teams chat get --participants alexw@contoso.com
41
+ ```
42
+
43
+ Get a Microsoft Teams group chat conversation, finding it by participants.
44
+
45
+ ```sh
46
+ m365 teams chat get --participants alexw@contoso.com,meganb@contoso.com
47
+ ```
48
+
49
+ Get a Microsoft Teams chat conversation, finding it by display name
50
+
51
+ ```sh
52
+ m365 teams chat get --name "Just a conversation"
53
+ ```
@@ -36,4 +36,4 @@ List all members of a channel based on their names
36
36
 
37
37
  ```sh
38
38
  m365 teams conversationmember list --teamName "Human Resources" --channelName "Private Channel"
39
- ```
39
+ ```
@@ -21,4 +21,4 @@ Get guest settings for a Microsoft Teams team
21
21
 
22
22
  ```sh
23
23
  m365 teams guestsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
24
- ```
24
+ ```
@@ -33,4 +33,4 @@ Disallow guests to delete channels
33
33
 
34
34
  ```sh
35
35
  m365 teams guestsettings set --teamId '00000000-0000-0000-0000-000000000000' --allowDeleteChannels false
36
- ```
36
+ ```
@@ -21,4 +21,4 @@ Get member settings for a Microsoft Teams team
21
21
 
22
22
  ```sh
23
23
  m365 teams membersettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
24
- ```
24
+ ```
@@ -42,4 +42,4 @@ Disallow members to add and remove apps
42
42
 
43
43
  ```sh
44
44
  m365 teams membersettings set --teamId '00000000-0000-0000-0000-000000000000' --allowAddRemoveApps false
45
- ```
45
+ ```
@@ -31,4 +31,4 @@ Retrieve the specified message from a channel of the Microsoft Teams team
31
31
 
32
32
  ```sh
33
33
  m365 teams message get --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --messageId 1540747442203
34
- ```
34
+ ```
@@ -31,4 +31,4 @@ Retrieve the replies from a specified message from a channel of the Microsoft Te
31
31
 
32
32
  ```sh
33
33
  m365 teams message reply list --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:88f7e66a8dfe42be92db19505ae912a8@thread.skype --messageId 1540747442203
34
- ```
34
+ ```
@@ -21,4 +21,4 @@ Get messaging settings for a Microsoft Teams team
21
21
 
22
22
  ```sh
23
23
  m365 teams messagingsettings list --teamId 2609af39-7775-4f94-a3dc-0dd67657e900
24
- ```
24
+ ```
@@ -42,4 +42,4 @@ Disallow users to delete messages in channels
42
42
 
43
43
  ```sh
44
44
  m365 teams messagingsettings set --teamId '00000000-0000-0000-0000-000000000000' --allowUserDeleteMessages false
45
- ```
45
+ ```
@@ -46,4 +46,4 @@ m365 teams report pstncalls --fromDateTime 2020-10-31 --toDateTime 2020-12-31 --
46
46
 
47
47
  ## More information
48
48
 
49
- - List PSTN calls: [https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0)
49
+ - List PSTN calls: [https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/callrecords-callrecord-getpstncalls?view=graph-rest-1.0)
@@ -36,4 +36,4 @@ Include all the values from the tab configuration and associated teams app
36
36
 
37
37
  ```sh
38
38
  m365 teams tab list --teamId 00000000-0000-0000-0000-000000000000 --channelId 19:00000000000000000000000000000000@thread.skype --output json
39
- ```
39
+ ```
@@ -36,4 +36,4 @@ Archive the specified Microsoft Teams team and set permissions for team members
36
36
 
37
37
  ```sh
38
38
  m365 teams team archive --teamId 6f6fd3f7-9ba5-4488-bbe6-a789004d0d55 --shouldSetSpoSiteReadOnlyForMembers
39
- ```
39
+ ```
@@ -48,4 +48,4 @@ Creates a clone of a Microsoft Teams team with mandatory and optional parameters
48
48
 
49
49
  ```sh
50
50
  m365 teams team clone --teamId 15d7a78e-fd77-4599-97a5-dbb6372846c5 --displayName "Library Assist" --partsToClone "apps,tabs,settings,channels,members" --description "Self help community for library" --classification "Library" --visibility "public"
51
- ```
51
+ ```
@@ -30,4 +30,4 @@ Get information about Microsoft Teams team with name _Team Name_
30
30
 
31
31
  ```sh
32
32
  m365 teams team get --name "Team Name"
33
- ```
33
+ ```
@@ -31,4 +31,4 @@ List all Microsoft Teams in the tenant you are a member of
31
31
 
32
32
  ```sh
33
33
  m365 teams team list --joined
34
- ```
34
+ ```
@@ -38,4 +38,4 @@ m365 teams team remove --teamId '00000000-0000-0000-0000-000000000000' --confirm
38
38
 
39
39
  ## More information
40
40
 
41
- - directory resource type (deleted items): [https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0)
41
+ - directory resource type (deleted items): [https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0)
@@ -42,4 +42,4 @@ Set Microsoft Teams team classification as MBI
42
42
 
43
43
  ```sh
44
44
  m365 teams team set --teamId '00000000-0000-0000-0000-000000000000' --classification MBI
45
- ```
45
+ ```
@@ -27,4 +27,4 @@ Restore an archived Microsoft Teams team
27
27
 
28
28
  ```sh
29
29
  m365 teams team unarchive --teamId 6f6fd3f7-9ba5-4488-bbe6-a789004d0d55
30
- ```
30
+ ```
@@ -30,4 +30,4 @@ List tasks from Microsoft To Do tasks list with the id AQMkAGYzNjMxYTU4LTJjZjYtN
30
30
 
31
31
  ```sh
32
32
  m365 todo task list --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MAAuAAADMN-7V4K8g0q_adetip1DygEAxMBBaLl1lk_dAn8KkjfXKQABF-BAgwAAAA=="
33
- ```
33
+ ```
@@ -39,4 +39,4 @@ Update a task with status from _notStarted_ to _inProgress_ in Microsoft To Do t
39
39
 
40
40
  ```sh
41
41
  m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --status "inProgress" --listName "My task list"
42
- ```
42
+ ```