@pnp/cli-microsoft365 6.0.0-beta.5bdba89 → 6.0.0-beta.5ea1353

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 (236) hide show
  1. package/dist/cli/Cli.js +7 -10
  2. package/dist/m365/aad/commands/app/app-get.js +3 -2
  3. package/dist/m365/aad/commands/app/app-remove.js +3 -2
  4. package/dist/m365/aad/commands/app/app-role-add.js +3 -2
  5. package/dist/m365/aad/commands/app/app-role-list.js +3 -2
  6. package/dist/m365/aad/commands/app/app-role-remove.js +3 -2
  7. package/dist/m365/aad/commands/app/app-set.js +3 -2
  8. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +5 -4
  9. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +3 -2
  10. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +5 -4
  11. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +2 -1
  12. package/dist/m365/aad/commands/o365group/o365group-list.js +3 -2
  13. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-list.js +3 -2
  14. package/dist/m365/aad/commands/o365group/o365group-teamify.js +3 -2
  15. package/dist/m365/aad/commands/o365group/o365group-user-add.js +2 -1
  16. package/dist/m365/aad/commands/o365group/o365group-user-remove.js +2 -1
  17. package/dist/m365/aad/commands/oauth2grant/oauth2grant-list.js +2 -1
  18. package/dist/m365/aad/commands/oauth2grant/oauth2grant-remove.js +2 -1
  19. package/dist/m365/aad/commands/oauth2grant/oauth2grant-set.js +2 -1
  20. package/dist/m365/aad/commands/sp/sp-add.js +3 -2
  21. package/dist/m365/aad/commands/sp/sp-get.js +3 -2
  22. package/dist/m365/aad/commands/user/user-get.js +5 -4
  23. package/dist/m365/aad/commands/user/user-hibp.js +2 -1
  24. package/dist/m365/aad/commands/user/user-list.js +2 -1
  25. package/dist/m365/aad/commands/user/user-set.js +2 -1
  26. package/dist/m365/aad/commands/user/user-signin-list.js +5 -4
  27. package/dist/m365/base/DateAndPeriodBasedReport.js +3 -2
  28. package/dist/m365/base/PeriodBasedReport.js +2 -1
  29. package/dist/m365/booking/commands/business/business-get.js +2 -1
  30. package/dist/m365/cli/commands/config/config-set.js +1 -0
  31. package/dist/m365/commands/login.js +6 -1
  32. package/dist/m365/file/commands/file-list.js +2 -1
  33. package/dist/m365/flow/commands/environment/environment-get.js +2 -1
  34. package/dist/m365/flow/commands/flow-disable.js +2 -1
  35. package/dist/m365/flow/commands/flow-enable.js +2 -1
  36. package/dist/m365/flow/commands/flow-export.js +5 -4
  37. package/dist/m365/flow/commands/flow-get.js +2 -1
  38. package/dist/m365/flow/commands/flow-list.js +2 -1
  39. package/dist/m365/flow/commands/flow-remove.js +2 -1
  40. package/dist/m365/flow/commands/run/run-cancel.js +2 -1
  41. package/dist/m365/flow/commands/run/run-get.js +2 -1
  42. package/dist/m365/flow/commands/run/run-list.js +2 -1
  43. package/dist/m365/flow/commands/run/run-resubmit.js +3 -2
  44. package/dist/m365/outlook/commands/mail/mail-send.js +2 -1
  45. package/dist/m365/outlook/commands/message/message-list.js +2 -1
  46. package/dist/m365/outlook/commands/message/message-move.js +2 -1
  47. package/dist/m365/pa/commands/app/app-get.js +2 -1
  48. package/dist/m365/pa/commands/app/app-list.js +2 -1
  49. package/dist/m365/pa/commands/app/app-remove.js +2 -1
  50. package/dist/m365/pa/commands/connector/connector-export.js +2 -1
  51. package/dist/m365/pa/commands/connector/connector-list.js +2 -1
  52. package/dist/m365/pa/commands/environment/environment-get.js +2 -1
  53. package/dist/m365/planner/commands/task/task-add.js +1 -1
  54. package/dist/m365/planner/commands/task/task-checklistitem-add.js +3 -2
  55. package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
  56. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +2 -1
  57. package/dist/m365/planner/commands/task/task-get.js +2 -1
  58. package/dist/m365/planner/commands/task/task-list.js +4 -3
  59. package/dist/m365/planner/commands/task/task-reference-add.js +2 -2
  60. package/dist/m365/planner/commands/task/task-reference-list.js +2 -1
  61. package/dist/m365/planner/commands/task/task-reference-remove.js +1 -1
  62. package/dist/m365/planner/commands/task/task-set.js +2 -2
  63. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +95 -0
  64. package/dist/m365/pp/commands/gateway/gateway-get.js +2 -1
  65. package/dist/m365/pp/commands/managementapp/managementapp-add.js +3 -2
  66. package/dist/m365/pp/commands/solution/solution-list.js +5 -11
  67. package/dist/m365/pp/commands.js +1 -0
  68. package/dist/m365/search/commands/externalconnection/externalconnection-get.js +3 -2
  69. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +3 -2
  70. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.16.0-rc.0.js → doctor-1.16.0.js} +1 -1
  71. package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
  72. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-rc.0.js → upgrade-1.16.0.js} +26 -26
  73. package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
  74. package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
  75. package/dist/m365/spo/commands/app/app-get.js +2 -1
  76. package/dist/m365/spo/commands/app/app-install.js +2 -1
  77. package/dist/m365/spo/commands/app/app-remove.js +2 -1
  78. package/dist/m365/spo/commands/app/app-retract.js +2 -1
  79. package/dist/m365/spo/commands/app/app-teamspackage-download.js +2 -1
  80. package/dist/m365/spo/commands/app/app-uninstall.js +2 -1
  81. package/dist/m365/spo/commands/app/app-upgrade.js +2 -1
  82. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +2 -2
  83. package/dist/m365/spo/commands/contenttype/contenttype-get.js +2 -2
  84. package/dist/m365/spo/commands/contenttype/contenttype-list.js +2 -1
  85. package/dist/m365/spo/commands/contenttype/contenttype-remove.js +3 -2
  86. package/dist/m365/spo/commands/customaction/customaction-get.js +3 -2
  87. package/dist/m365/spo/commands/customaction/customaction-remove.js +3 -2
  88. package/dist/m365/spo/commands/customaction/customaction-set.js +2 -1
  89. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +43 -27
  90. package/dist/m365/spo/commands/eventreceiver/eventreceiver-list.js +4 -3
  91. package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +43 -58
  92. package/dist/m365/spo/commands/file/file-add.js +14 -13
  93. package/dist/m365/spo/commands/file/file-checkin.js +4 -3
  94. package/dist/m365/spo/commands/file/file-checkout.js +3 -2
  95. package/dist/m365/spo/commands/file/file-copy.js +2 -1
  96. package/dist/m365/spo/commands/file/file-get.js +3 -2
  97. package/dist/m365/spo/commands/file/file-move.js +2 -1
  98. package/dist/m365/spo/commands/file/file-remove.js +3 -2
  99. package/dist/m365/spo/commands/file/file-rename.js +3 -2
  100. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
  101. package/dist/m365/spo/commands/file/file-version-list.js +1 -1
  102. package/dist/m365/spo/commands/folder/folder-get.js +3 -2
  103. package/dist/m365/spo/commands/folder/folder-remove.js +2 -1
  104. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +1 -1
  105. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +2 -1
  106. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
  107. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
  108. package/dist/m365/spo/commands/group/group-get.js +3 -2
  109. package/dist/m365/spo/commands/group/{group-user-add.js → group-member-add.js} +17 -16
  110. package/dist/m365/spo/commands/group/{group-user-list.js → group-member-list.js} +19 -18
  111. package/dist/m365/spo/commands/group/{group-user-remove.js → group-member-remove.js} +18 -17
  112. package/dist/m365/spo/commands/list/list-contenttype-remove.js +1 -1
  113. package/dist/m365/spo/commands/list/list-get.js +14 -6
  114. package/dist/m365/spo/commands/list/list-label-get.js +34 -22
  115. package/dist/m365/spo/commands/list/list-sitescript-get.js +35 -24
  116. package/dist/m365/spo/commands/list/list-view-field-add.js +1 -1
  117. package/dist/m365/spo/commands/list/list-view-field-remove.js +1 -1
  118. package/dist/m365/spo/commands/list/list-view-field-set.js +1 -1
  119. package/dist/m365/spo/commands/listitem/listitem-get.js +1 -1
  120. package/dist/m365/spo/commands/listitem/listitem-list.js +3 -3
  121. package/dist/m365/spo/commands/page/Page.js +3 -2
  122. package/dist/m365/spo/commands/page/page-add.js +2 -1
  123. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +4 -3
  124. package/dist/m365/spo/commands/page/page-control-get.js +2 -1
  125. package/dist/m365/spo/commands/page/page-control-list.js +2 -1
  126. package/dist/m365/spo/commands/page/page-control-set.js +3 -2
  127. package/dist/m365/spo/commands/page/page-get.js +2 -1
  128. package/dist/m365/spo/commands/page/page-header-set.js +6 -5
  129. package/dist/m365/spo/commands/page/page-section-add.js +4 -3
  130. package/dist/m365/spo/commands/page/page-set.js +2 -1
  131. package/dist/m365/spo/commands/site/site-apppermission-add.js +3 -2
  132. package/dist/m365/spo/commands/site/site-hubsite-connect.js +2 -1
  133. package/dist/m365/spo/commands/site/site-rename.js +2 -1
  134. package/dist/m365/spo/commands/site/site-set.js +1 -1
  135. package/dist/m365/spo/commands/sitescript/sitescript-add.js +2 -1
  136. package/dist/m365/spo/commands/spo-search.js +3 -2
  137. package/dist/m365/spo/commands/storageentity/storageentity-get.js +2 -1
  138. package/dist/m365/spo/commands/user/user-get.js +4 -3
  139. package/dist/m365/spo/commands/user/user-remove.js +2 -1
  140. package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -1
  141. package/dist/m365/spo/commands/web/web-add.js +2 -1
  142. package/dist/m365/spo/commands.js +3 -3
  143. package/dist/m365/teams/commands/app/app-install.js +3 -2
  144. package/dist/m365/teams/commands/app/app-list.js +2 -1
  145. package/dist/m365/teams/commands/app/app-publish.js +14 -15
  146. package/dist/m365/teams/commands/app/app-update.js +2 -1
  147. package/dist/m365/teams/commands/cache/cache-remove.js +41 -10
  148. package/dist/m365/teams/commands/channel/channel-get.js +4 -3
  149. package/dist/m365/teams/commands/channel/channel-member-add.js +4 -3
  150. package/dist/m365/teams/commands/channel/channel-member-list.js +2 -1
  151. package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -1
  152. package/dist/m365/teams/commands/channel/channel-member-set.js +2 -1
  153. package/dist/m365/teams/commands/channel/channel-remove.js +3 -2
  154. package/dist/m365/teams/commands/channel/channel-set.js +3 -2
  155. package/dist/m365/teams/commands/chat/chat-get.js +2 -1
  156. package/dist/m365/teams/commands/chat/chatUtil.js +2 -1
  157. package/dist/m365/teams/commands/funsettings/funsettings-list.js +2 -1
  158. package/dist/m365/teams/commands/funsettings/funsettings-set.js +2 -1
  159. package/dist/m365/teams/commands/guestsettings/guestsettings-list.js +2 -1
  160. package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +2 -1
  161. package/dist/m365/teams/commands/membersettings/membersettings-list.js +2 -1
  162. package/dist/m365/teams/commands/membersettings/membersettings-set.js +2 -1
  163. package/dist/m365/teams/commands/messagingsettings/messagingsettings-list.js +2 -1
  164. package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +2 -1
  165. package/dist/m365/teams/commands/report/report-directroutingcalls.js +3 -2
  166. package/dist/m365/teams/commands/report/report-pstncalls.js +3 -2
  167. package/dist/m365/teams/commands/tab/tab-add.js +2 -1
  168. package/dist/m365/teams/commands/tab/tab-get.js +4 -3
  169. package/dist/m365/teams/commands/tab/tab-list.js +2 -1
  170. package/dist/m365/teams/commands/tab/tab-remove.js +2 -1
  171. package/dist/m365/teams/commands/team/team-archive.js +2 -1
  172. package/dist/m365/teams/commands/team/team-clone.js +2 -1
  173. package/dist/m365/teams/commands/team/team-get.js +2 -1
  174. package/dist/m365/teams/commands/team/team-remove.js +2 -1
  175. package/dist/m365/teams/commands/team/team-set.js +2 -1
  176. package/dist/m365/teams/commands/team/team-unarchive.js +2 -1
  177. package/dist/m365/teams/commands/user/user-app-list.js +3 -2
  178. package/dist/m365/tenant/commands/security/security-alerts-list.js +2 -1
  179. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +2 -1
  180. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +2 -1
  181. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +2 -1
  182. package/dist/m365/todo/commands/task/task-set.js +2 -1
  183. package/dist/m365/yammer/commands/group/group-list.js +12 -27
  184. package/dist/m365/yammer/commands/user/user-get.js +3 -2
  185. package/dist/m365/yammer/commands/yammer-search.js +6 -2
  186. package/dist/utils/aadGroup.js +2 -1
  187. package/dist/utils/powerPlatform.js +3 -2
  188. package/dist/utils/spo.js +3 -2
  189. package/docs/docs/cmd/aad/user/user-guest-add.md +1 -1
  190. package/docs/docs/cmd/app/app-open.md +1 -1
  191. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.md +49 -0
  192. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  193. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +42 -2
  194. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +6 -1
  195. package/docs/docs/cmd/spo/group/{group-user-add.md → group-member-add.md} +11 -11
  196. package/docs/docs/cmd/spo/group/{group-user-list.md → group-member-list.md} +5 -5
  197. package/docs/docs/cmd/spo/group/group-member-remove.md +39 -0
  198. package/docs/docs/cmd/spo/list/list-get.md +22 -6
  199. package/docs/docs/cmd/spo/list/list-label-get.md +23 -7
  200. package/docs/docs/cmd/spo/list/list-sitescript-get.md +23 -8
  201. package/docs/docs/cmd/spo/listitem/listitem-add.md +6 -0
  202. package/docs/docs/cmd/spo/listitem/listitem-set.md +6 -0
  203. package/docs/docs/cmd/spo/page/page-add.md +2 -2
  204. package/docs/docs/cmd/spo/page/page-set.md +2 -2
  205. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +3 -1
  206. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +3 -1
  207. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.md +3 -3
  208. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +3 -3
  209. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.md +3 -3
  210. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +3 -1
  211. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +3 -3
  212. package/docs/docs/cmd/teams/app/app-publish.md +14 -4
  213. package/docs/docs/cmd/yammer/group/group-list.md +65 -0
  214. package/docs/docs/cmd/yammer/group/group-user-add.md +4 -0
  215. package/docs/docs/cmd/yammer/group/group-user-remove.md +4 -0
  216. package/docs/docs/cmd/yammer/message/message-add.md +55 -0
  217. package/docs/docs/cmd/yammer/message/message-get.md +64 -0
  218. package/docs/docs/cmd/yammer/message/message-like-set.md +4 -0
  219. package/docs/docs/cmd/yammer/message/message-list.md +60 -0
  220. package/docs/docs/cmd/yammer/message/message-remove.md +4 -0
  221. package/docs/docs/cmd/yammer/network/network-list.md +96 -0
  222. package/docs/docs/cmd/yammer/report/report-activitycounts.md +31 -0
  223. package/docs/docs/cmd/yammer/report/report-activityusercounts.md +31 -0
  224. package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +36 -0
  225. package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +33 -0
  226. package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +34 -0
  227. package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +38 -0
  228. package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +31 -0
  229. package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +37 -0
  230. package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +30 -0
  231. package/docs/docs/cmd/yammer/user/user-get.md +99 -0
  232. package/docs/docs/cmd/yammer/user/user-list.md +97 -0
  233. package/docs/docs/cmd/yammer/yammer-search.md +77 -0
  234. package/npm-shrinkwrap.json +235 -257
  235. package/package.json +15 -15
  236. package/docs/docs/cmd/spo/group/group-user-remove.md +0 -39
@@ -32,8 +32,7 @@ Specify either `listTitle`, `listId` or `listUrl`.
32
32
  : The id of the event receiver to retrieve. Specify either `name` or `id` but not both.
33
33
 
34
34
  `-s, --scope [scope]`
35
- : The scope of which to retrieve the Event Receivers.
36
- Can be either "site" or "web". Defaults to "web". Only applicable when not specifying any of the list properties.
35
+ : The scope of which to retrieve the event receivers. Can be either `site` or `web`. Defaults to `web`. Only applicable when not specifying any of the list properties.
37
36
 
38
37
  --8<-- "docs/cmd/_global.md"
39
38
 
@@ -68,3 +67,44 @@ Retrieve event receivers for list with url _/sites/contoso-sales/lists/Events_ i
68
67
  ```sh
69
68
  m365 spo eventreceiver list --webUrl https://contoso.sharepoint.com/sites/contoso-sales --listUrl '/sites/contoso-sales/lists/Events' --name 'PnP Test Receiver'
70
69
  ```
70
+
71
+ ## Response
72
+
73
+ === "JSON"
74
+
75
+ ```json
76
+ {
77
+ "ReceiverAssembly": "Microsoft.Office.Server.UserProfiles, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c",
78
+ "ReceiverClass": "Microsoft.Office.Server.UserProfiles.ContentFollowingWebEventReceiver",
79
+ "ReceiverId": "c5a6444a-9c7f-4a0d-9e29-fc6fe30e34ec",
80
+ "ReceiverName": "PnP Test Receiver",
81
+ "SequenceNumber": 10000,
82
+ "Synchronization": 2,
83
+ "EventType": 10204,
84
+ "ReceiverUrl": "https://northeurope1-0.pushnp.svc.ms/notifications?token=b4c0def2-a5ea-490a-bb85-c2e423b1384b"
85
+ }
86
+ ```
87
+
88
+ === "Text"
89
+
90
+ ```text
91
+ EventType : 10204
92
+ ReceiverAssembly: Microsoft.Office.Server.UserProfiles, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
93
+ ReceiverClass : Microsoft.Office.Server.UserProfiles.ContentFollowingWebEventReceiver
94
+ ReceiverId : c5a6444a-9c7f-4a0d-9e29-fc6fe30e34ec
95
+ ReceiverName : PnP Test Receiver
96
+ ReceiverUrl : https://northeurope1-0.pushnp.svc.ms/notifications?token=b4c0def2-a5ea-490a-bb85-c2e423b1384b
97
+ SequenceNumber : 10000
98
+ Synchronization : 2
99
+ ```
100
+
101
+ === "CSV"
102
+
103
+ ```csv
104
+ ReceiverAssembly,ReceiverClass,ReceiverId,ReceiverName,SequenceNumber,Synchronization,EventType,ReceiverUrl
105
+ "Microsoft.Office.Server.UserProfiles, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c",Microsoft.Office.Server.UserProfiles.ContentFollowingWebEventReceiver,c5a6444a-9c7f-4a0d-9e29-fc6fe30e34ec,PnP Test Receiver,10000,2,10204,https://northeurope1-0.pushnp.svc.ms/notifications?token=b4c0def2-a5ea-490a-bb85-c2e423b1384b
106
+ ```
107
+
108
+
109
+
110
+
@@ -32,10 +32,15 @@ m365 spo eventreceiver remove [options]
32
32
  : The scope. Can be either "site" or "web". Defaults to "web". Only applicable when not specifying any of the list properties.
33
33
 
34
34
  `--confirm`
35
- : Don't prompt for confirming removing the event receiver
35
+ : Don't prompt for confirmation.
36
36
 
37
37
  --8<-- "docs/cmd/_global.md"
38
38
 
39
+ ## Remarks
40
+
41
+ !!! attention
42
+ You can only remove an event receiver if it has been registered by an app with the same ID.
43
+
39
44
  ## Examples
40
45
 
41
46
  Remove event receiver in a specific web by name.
@@ -1,11 +1,11 @@
1
- # spo group user add
1
+ # spo group member add
2
2
 
3
- Add a user or multiple users to SharePoint Group
3
+ Add members to a SharePoint Group
4
4
 
5
5
  ## Usage
6
6
 
7
7
  ```sh
8
- m365 spo group user add [options]
8
+ m365 spo group member add [options]
9
9
  ```
10
10
 
11
11
  ## Options
@@ -14,16 +14,16 @@ m365 spo group user add [options]
14
14
  : URL of the site where the SharePoint group is available
15
15
 
16
16
  `--groupId [groupId]`
17
- : Id of the SharePoint Group to which user needs to be added, specify either `groupId` or `groupName`
17
+ : Id of the SharePoint Group to which the user needs to be added, specify either `groupId` or `groupName`
18
18
 
19
19
  `--groupName [groupName]`
20
- : Name of the SharePoint Group to which user needs to be added, specify either `groupId` or `groupName`
20
+ : Name of the SharePoint Group to which the user needs to be added, specify either `groupId` or `groupName`
21
21
 
22
22
  `--userName [userName]`
23
- : User's UPN (user principal name, eg. megan.bowen@contoso.com). If multiple users needs to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName` or `email`
23
+ : User's UPN (user principal name, eg. megan.bowen@contoso.com). If multiple users need to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName` or `email`
24
24
 
25
25
  `--email [email]`
26
- : User's email (eg. megan.bowen@contoso.com). If multiple users needs to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName` or `email`
26
+ : User's email (eg. megan.bowen@contoso.com). If multiple users need to be added, they have to be comma separated (ex. megan.bowen@contoso.com,alex.wilber@contoso.com), specify either `userName` or `email`
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
@@ -36,23 +36,23 @@ For the `--userName` or `--email` options you can specify multiple values by sep
36
36
  Add a user with name _Alex.Wilber@contoso.com_ to the SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
37
37
 
38
38
  ```sh
39
- m365 spo group user add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com"
39
+ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com"
40
40
  ```
41
41
 
42
42
  Add multiple users by name to the SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
43
43
 
44
44
  ```sh
45
- m365 spo group user add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
45
+ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
46
46
  ```
47
47
 
48
48
  Add a user with email _Alex.Wilber@contoso.com_ to the SharePoint group with name _Contoso Site Owners_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
49
49
 
50
50
  ```sh
51
- m365 spo group user add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --email "Alex.Wilber@contoso.com"
51
+ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --email "Alex.Wilber@contoso.com"
52
52
  ```
53
53
 
54
54
  Add multiple users by email to the SharePoint group with name _Contoso Site Owners_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
55
55
 
56
56
  ```sh
57
- m365 spo group user add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --email "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
57
+ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --email "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
58
58
  ```
@@ -1,11 +1,11 @@
1
- # spo group user list
1
+ # spo group member list
2
2
 
3
- List members of a SharePoint Group
3
+ List the members of a SharePoint Group
4
4
 
5
5
  ## Usage
6
6
 
7
7
  ```sh
8
- m365 spo group user list [options]
8
+ m365 spo group member list [options]
9
9
  ```
10
10
 
11
11
  ## Options
@@ -26,11 +26,11 @@ m365 spo group user list [options]
26
26
  List the members of the group with ID _5_ for web _https://contoso.sharepoint.com/sites/SiteA_
27
27
 
28
28
  ```sh
29
- m365 spo group user list --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5
29
+ m365 spo group member list --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5
30
30
  ```
31
31
 
32
32
  List the members of the group with name _Contoso Site Members_ for web _https://contoso.sharepoint.com/sites/SiteA_
33
33
 
34
34
  ```sh
35
- m365 spo group user list --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Members"
35
+ m365 spo group member list --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Members"
36
36
  ```
@@ -0,0 +1,39 @@
1
+ # spo group member remove
2
+
3
+ Removes the specified member from a SharePoint group
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo group member remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the SharePoint group is available
15
+
16
+ `--groupId [groupId]`
17
+ : Id of the SharePoint group from which the user has to be removed. Specify either `groupName` or `groupId`, but not both
18
+
19
+ `--groupName [groupName]`
20
+ : Name of the SharePoint group from which user has to be removed. Specify either `groupName` or `groupId`, but not both
21
+
22
+ `--userName <userName>`
23
+ : The UPN of the user that needs to be removed (user principal name, eg. megan.bowen@contoso.com)
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Examples
28
+
29
+ Remove a user from SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
30
+
31
+ ```sh
32
+ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com"
33
+ ```
34
+
35
+ Remove a user from SharePoint group with Name _Site A Visitors_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
36
+
37
+ ```sh
38
+ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --userName "Alex.Wilber@contoso.com"
39
+ ```
@@ -14,10 +14,13 @@ m365 spo list get [options]
14
14
  : URL of the site where the list to retrieve is located
15
15
 
16
16
  `-i, --id [id]`
17
- : ID of the list to retrieve information for. Specify either `id` or `title` but not both
17
+ : ID of the list to retrieve information for. Specify either `id`, `title` or `url` but not multiple.
18
18
 
19
19
  `-t, --title [title]`
20
- : Title of the list to retrieve information for. Specify either `id` or `title` but not both
20
+ : Title of the list to retrieve information for. Specify either `id`, `title` or `url` but not multiple.
21
+
22
+ `--url [url]`
23
+ : Server- or site-relative URL of the list. Specify either `id`, `title` or `url` but not multiple.
21
24
 
22
25
  `-p, --properties [properties]`
23
26
  : Comma-separated list of properties to retrieve from the list. Will retrieve all properties possible from default response, if not specified.
@@ -29,25 +32,37 @@ m365 spo list get [options]
29
32
 
30
33
  ## Examples
31
34
 
32
- Return information about a list with ID _0cd891ef-afce-4e55-b836-fce03286cccf_ located in site _https://contoso.sharepoint.com/sites/project-x_
35
+ Get information about a list with specified ID located in the specified site.
33
36
 
34
37
  ```sh
35
38
  m365 spo list get --id 0cd891ef-afce-4e55-b836-fce03286cccf --webUrl https://contoso.sharepoint.com/sites/project-x
36
39
  ```
37
40
 
38
- Return information about a list with title _Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
41
+ Get information about a list with specified title located in the specified site.
39
42
 
40
43
  ```sh
41
44
  m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x
42
45
  ```
43
46
 
44
- Get information about a list returning the specified list properties
47
+ Get information about a list with specified server relative url located in the specified site.
48
+
49
+ ```sh
50
+ m365 spo list get --url 'sites/project-x/Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
51
+ ```
52
+
53
+ Get information about a list with specified site-relative URL located in the specified site.
54
+
55
+ ```sh
56
+ m365 spo list get --url 'Shared Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
57
+ ```
58
+
59
+ Get information about a list returning the specified list properties.
45
60
 
46
61
  ```sh
47
62
  m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Id,HasUniqueRoleAssignments,AllowContentTypes"
48
63
  ```
49
64
 
50
- Get information about a list along with the roles and permissions
65
+ Get information about a list along with the roles and permissions.
51
66
 
52
67
  ```sh
53
68
  m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x --withPermissions
@@ -56,3 +71,4 @@ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/site
56
71
  ## More information
57
72
 
58
73
  - List REST API resources: [https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListEndpoint](https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListEndpoint)
74
+
@@ -11,26 +11,42 @@ m365 spo list label get [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --webUrl <webUrl>`
14
- : URL of the site where the list to get the label from is located
14
+ : URL of the site where the list to get the label from is located.
15
15
 
16
16
  `-l, --listId [listId]`
17
- : ID of the list to get the label from. Specify either `listId` or `listTitle` but not both
17
+ : ID of the list to get the label from. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
20
- : Title of the list to get the label from. Specify either `listId` or `listTitle` but not both
20
+ : Title of the list to get the label from. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
21
+
22
+ `--listUrl [listUrl]`
23
+ : Server- or site-relative URL of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
21
24
 
22
25
  --8<-- "docs/cmd/_global.md"
23
26
 
24
27
  ## Examples
25
28
 
26
- Gets label set on the list with title _ContosoList_ located in site _https://contoso.sharepoint.com/sites/project-x_
29
+ Gets label set on the list with specified title located in the specified site.
30
+
31
+ ```sh
32
+ m365 spo list label get --listTitle ContosoList --webUrl https://contoso.sharepoint.com/sites/project-x
33
+ ```
34
+
35
+ Gets label set on the list with specified id located in the specified site.
27
36
 
28
37
  ```sh
29
- m365 spo list label get --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle ContosoList
38
+ m365 spo list label get --listId cc27a922-8224-4296-90a5-ebbc54da2e85 --webUrl https://contoso.sharepoint.com/sites/project-x
30
39
  ```
31
40
 
32
- Gets label set on the list with id _cc27a922-8224-4296-90a5-ebbc54da2e85_ located in site _https://contoso.sharepoint.com/sites/project-x_
41
+ Gets label set on the list with specified server relative url located in the specified site.
33
42
 
34
43
  ```sh
35
- m365 spo list label get --webUrl https://contoso.sharepoint.com/sites/project-x --listId cc27a922-8224-4296-90a5-ebbc54da2e85
44
+ m365 spo list label get --listUrl 'sites/project-x/Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
36
45
  ```
46
+
47
+ Gets label set on the list with specified site-relative URL located in the specified site.
48
+
49
+ ```sh
50
+ m365 spo list label get --listUrl 'Shared Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
51
+ ```
52
+
@@ -11,27 +11,42 @@ m365 spo list sitescript get [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --webUrl <webUrl>`
14
- : URL of the site where the list to extract the site script from is located
14
+ : URL of the site where the list to extract the site script from is located.
15
15
 
16
16
  `-l, --listId [listId]`
17
- : ID of the list to extract the site script from. Specify either `listId` or `listTitle` but not both
17
+ : ID of the list to extract the site script from. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
18
18
 
19
19
  `-t, --listTitle [listTitle]`
20
- : Title of the list to extract the site script from. Specify either `listId` or `listTitle` but not both
20
+ : Title of the list to extract the site script from. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
21
+
22
+ `--listUrl [listUrl]`
23
+ : Server- or site-relative URL of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
21
24
 
22
25
  --8<-- "docs/cmd/_global.md"
23
26
 
24
27
  ## Examples
25
28
 
26
- Extract a site script from an existing SharePoint list with title _ContosoList_ located in site _https://contoso.sharepoint.com/sites/project-x_
29
+ Extract a site script from an existing SharePoint list with specified title located in the specified site.
30
+
31
+ ```sh
32
+ m365 spo list sitescript get --listTitle ContosoList --webUrl https://contoso.sharepoint.com/sites/project-x
33
+ ```
34
+
35
+ Extract a site script from an existing SharePoint list with specified id located in the specified site.
27
36
 
28
37
  ```sh
29
- m365 spo list sitescript get --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle ContosoList
38
+ m365 spo list sitescript get --listId cc27a922-8224-4296-90a5-ebbc54da2e85 --webUrl https://contoso.sharepoint.com/sites/project-x
30
39
  ```
31
40
 
32
- Extract a site script from an existing SharePoint list with id _cc27a922-8224-4296-90a5-ebbc54da2e85_
33
- located in site _https://contoso.sharepoint.com/sites/project-x_
41
+ Extract a site script from an existing SharePoint list with specified server relative url located in the specified site.
34
42
 
35
43
  ```sh
36
- m365 spo list sitescript get --webUrl https://contoso.sharepoint.com/sites/project-x --listId cc27a922-8224-4296-90a5-ebbc54da2e85
44
+ m365 spo list sitescript get --listUrl 'sites/project-x/Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
37
45
  ```
46
+
47
+ Extract a site script from an existing SharePoint list with specified site-relative URL located in the specified site.
48
+
49
+ ```sh
50
+ m365 spo list sitescript get --listUrl 'Shared Documents' --webUrl https://contoso.sharepoint.com/sites/project-x
51
+ ```
52
+
@@ -73,3 +73,9 @@ Add an item with a specific title to a list retrieved by server-relative URL in
73
73
  ```sh
74
74
  m365 spo listitem add --contentType Item --listUrl /sites/project-x/Documents --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Item"
75
75
  ```
76
+
77
+ Add an item with a specific Title and multi-choice value
78
+
79
+ ```sh
80
+ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Hyperlink Field" --MultiChoiceField "Choice 1;#Choice 2;#Choice 3"
81
+ ```
@@ -70,3 +70,9 @@ Update the field _Title_ and _CustomHyperlink_ of an item with a specific id in
70
70
  ```sh
71
71
  m365 spo listitem set --listUrl '/sites/project-x/lists/Demo List' --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Hyperlink Field" --CustomHyperlink "https://www.bing.com, Bing"
72
72
  ```
73
+
74
+ Update an item with a specific Title and multi-choice value
75
+
76
+ ```sh
77
+ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Hyperlink Field" --MultiChoiceField "Choice 1;#Choice 2;#Choice 3"
78
+ ```
@@ -20,10 +20,10 @@ m365 spo page add [options]
20
20
  : Title of the page to create. If not specified, will use the page name as its title
21
21
 
22
22
  `-l, --layoutType [layoutType]`
23
- : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`,`HeaderlessSearchResults`, `Spaces`, `Topic`. Default `Article`
23
+ : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`, `HeaderlessSearchResults`, `Spaces`, `Topic`. Default `Article`
24
24
 
25
25
  `-p, --promoteAs [promoteAs]`
26
- : Create the page for a specific purpose. Allowed values `HomePage`, `NewsPage`
26
+ : Create the page for a specific purpose. Allowed values `HomePage`, `NewsPage`, `Template`
27
27
 
28
28
  `--commentsEnabled`
29
29
  : Set to enable comments on the page
@@ -17,10 +17,10 @@ m365 spo page set [options]
17
17
  : URL of the site where the page to update is located
18
18
 
19
19
  `-l, --layoutType [layoutType]`
20
- : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`,`HeaderlessSearchResults`, `Spaces`, `Topic`
20
+ : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`, `HeaderlessSearchResults`, `Spaces`, `Topic`
21
21
 
22
22
  `-p, --promoteAs [promoteAs]`
23
- : Update the page purpose. Allowed values `HomePage`, `NewsPage`
23
+ : Update the page purpose. Allowed values `HomePage`, `NewsPage`, `Template`
24
24
 
25
25
  `--commentsEnabled [commentsEnabled]`
26
26
  : Set to `true`, to enable comments on the page. Allowed values `true`, `false`
@@ -24,8 +24,10 @@ m365 spo sp grant add
24
24
 
25
25
  --8<-- "docs/cmd/_global.md"
26
26
 
27
+ ## Remarks
28
+
27
29
  !!! important
28
- To use this command you have to have permissions to access the tenant admin site.
30
+ To use this command you must be a Global administrator.
29
31
 
30
32
  ## Examples
31
33
 
@@ -18,8 +18,10 @@ m365 spo sp grant list
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20
 
21
+ ## Remarks
22
+
21
23
  !!! important
22
- To use this command you have to have permissions to access the tenant admin site.
24
+ To use this command you must be a Global administrator.
23
25
 
24
26
  ## Examples
25
27
 
@@ -21,11 +21,11 @@ m365 spo sp grant revoke
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
- !!! important
25
- To use this command you have to have permissions to access the tenant admin site.
26
-
27
24
  ## Remarks
28
25
 
26
+ !!! important
27
+ To use this command you must be a Global administrator.
28
+
29
29
  The permission grant you want to revoke is denoted using its `ObjectId`. You can retrieve it using the [spo serviceprincipal grant list](./serviceprincipal-grant-list.md) command.
30
30
 
31
31
  ## Examples
@@ -21,11 +21,11 @@ m365 spo sp permissionrequest approve
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
- !!! important
25
- To use this command you have to have permissions to access the tenant admin site.
26
-
27
24
  ## Remarks
28
25
 
26
+ !!! important
27
+ The admin role that's required to approve permissions depends on the API. To approve permissions to any of the third-party APIs registered in the tenant, the application administrator role is sufficient. To approve permissions for Microsoft Graph or any other Microsoft API, the Global Administrator role is required.
28
+
29
29
  The permission request you want to approve is denoted using its `ID`. You can retrieve it using the [spo serviceprincipal permissionrequest list](./serviceprincipal-permissionrequest-list.md) command.
30
30
 
31
31
  ## Examples
@@ -21,11 +21,11 @@ m365 spo sp permissionrequest deny
21
21
 
22
22
  --8<-- "docs/cmd/_global.md"
23
23
 
24
- !!! important
25
- To use this command you have to have permissions to access the tenant admin site.
26
-
27
24
  ## Remarks
28
25
 
26
+ !!! important
27
+ The admin role that's required to deny permissions depends on the API. To approve permissions to any of the third-party APIs registered in the tenant, the application administrator role is sufficient. To approve permissions for Microsoft Graph or any other Microsoft API, the Global Administrator role is required.
28
+
29
29
  The permission request you want to approve is denoted using its `ID`. You can retrieve it using the [spo serviceprincipal permissionrequest list](./serviceprincipal-permissionrequest-list.md) command.
30
30
 
31
31
  ## Examples
@@ -18,8 +18,10 @@ m365 spo sp permissionrequest list
18
18
 
19
19
  --8<-- "docs/cmd/_global.md"
20
20
 
21
+ ## Remarks
22
+
21
23
  !!! important
22
- To use this command you have to have permissions to access the tenant admin site.
24
+ The admin role that's required to list permissions depends on the API. To approve permissions to any of the third-party APIs registered in the tenant, the application administrator role is sufficient. To approve permissions for Microsoft Graph or any other Microsoft API, the Global Administrator role is required.
23
25
 
24
26
  ## Examples
25
27
 
@@ -24,11 +24,11 @@ m365 spo sp set
24
24
 
25
25
  --8<-- "docs/cmd/_global.md"
26
26
 
27
- !!! important
28
- To use this command you have to have permissions to access the tenant admin site.
29
-
30
27
  ## Remarks
31
28
 
29
+ !!! important
30
+ To use this command you must be a Global administrator.
31
+
32
32
  Using the `-e, --enabled` option you can specify whether the service principal should be enabled or disabled. Use `true` to enable the service principal and `false` to disable it.
33
33
 
34
34
  ## Examples
@@ -17,7 +17,8 @@ m365 teams app publish [options]
17
17
 
18
18
  ## Remarks
19
19
 
20
- You can only publish a Teams app as a global administrator.
20
+ !!! important
21
+ To use this command you must be a Global administrator.
21
22
 
22
23
  ## Examples
23
24
 
@@ -32,17 +33,26 @@ m365 teams app publish --filePath ./teams-manifest.zip
32
33
  === "JSON"
33
34
 
34
35
  ```json
35
- "fbdfd207-83ee-45d8-9c98-5039a1a01207"
36
+ {
37
+ "id": "e3e29acb-8c79-412b-b746-e6c39ff4cd22",
38
+ "externalId": "b5561ec9-8cab-4aa3-8aa2-d8d7172e4311",
39
+ "displayName": "Test App",
40
+ "distributionMethod": "organization"
41
+ }
36
42
  ```
37
43
 
38
44
  === "Text"
39
45
 
40
46
  ```text
41
- fbdfd207-83ee-45d8-9c98-5039a1a01207
47
+ displayName : Test App
48
+ distributionMethod: organization
49
+ externalId : b5561ec9-8cab-4aa3-8aa2-d8d7172e4311
50
+ id : e3e29acb-8c79-412b-b746-e6c39ff4cd22
42
51
  ```
43
52
 
44
53
  === "CSV"
45
54
 
46
55
  ```csv
47
- fbdfd207-83ee-45d8-9c98-5039a1a01207
56
+ id,externalId,displayName,distributionMethod
57
+ e3e29acb-8c79-412b-b746-e6c39ff4cd22,b5561ec9-8cab-4aa3-8aa2-d8d7172e4311,Test App,organization
48
58
  ```
@@ -48,3 +48,68 @@ Returns the first 10 Yammer network groups for the user with the ID `5611239081`
48
48
  ```sh
49
49
  m365 yammer group list --userId 5611239081 --limit 10
50
50
  ```
51
+
52
+ ## Response
53
+
54
+ === "JSON"
55
+
56
+ ```json
57
+ [
58
+ {
59
+ "type": "group",
60
+ "id": 31158067201,
61
+ "email": "",
62
+ "full_name": "Contoso Hub",
63
+ "network_id": 5897756673,
64
+ "name": "contosohub",
65
+ "description": "",
66
+ "privacy": "public",
67
+ "url": "https://www.yammer.com/api/v1/groups/31158067201",
68
+ "web_url": "https://www.yammer.com/contoso.onmicrosoft.com/#/threads/inGroup?type=in_group&feedId=31158067201",
69
+ "mugshot_url": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group_profile.png?P1=1668205176&P2=104&P3=1&P4=l98Wk4FkhCqVX1J8bQ_8yZDbK4cfU1lQGgkK0Ak1k2g-tfLV9_ecm6k7FyFApCq3Xnzl7NPKpGLWT2IVD-Ft5q3VSCwzv5c0A1l-SFC5MrfN25BIsR9ux8K-LlYbFUF3yeh-vFk_IxwE-AI2xEVCuq0aoINzHiIW4Gi5IxC6mDDni72sE2LuM3X4LooEowEYrzfz5d-m9hMveU1E8KPPEmq3WTejhJ_Bc3zY3XA3n4jEPDnZ09uPUyVCBpa84Ysh-GGSkFWsPBAldAQAbbzcjip_SzrfKz868BolCLlbM3DwRQfyDH9Of9IYEZpu1U85hBuNoolF68rKPVL6-bxl2w&size=48x48",
70
+ "mugshot_redirect_url": "https://www.yammer.com/mugshot/images/redirect/48x48/group_profile.png",
71
+ "mugshot_url_template": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group_profile.png?P1=1668205176&P2=104&P3=1&P4=l98Wk4FkhCqVX1J8bQ_8yZDbK4cfU1lQGgkK0Ak1k2g-tfLV9_ecm6k7FyFApCq3Xnzl7NPKpGLWT2IVD-Ft5q3VSCwzv5c0A1l-SFC5MrfN25BIsR9ux8K-LlYbFUF3yeh-vFk_IxwE-AI2xEVCuq0aoINzHiIW4Gi5IxC6mDDni72sE2LuM3X4LooEowEYrzfz5d-m9hMveU1E8KPPEmq3WTejhJ_Bc3zY3XA3n4jEPDnZ09uPUyVCBpa84Ysh-GGSkFWsPBAldAQAbbzcjip_SzrfKz868BolCLlbM3DwRQfyDH9Of9IYEZpu1U85hBuNoolF68rKPVL6-bxl2w&size={width}x{height}",
72
+ "mugshot_redirect_url_template": "https://www.yammer.com/mugshot/images/redirect/{width}x{height}/group_profile.png",
73
+ "mugshot_id": null,
74
+ "show_in_directory": "true",
75
+ "created_at": "2022/11/11 20:54:52 +0000",
76
+ "aad_guests": 0,
77
+ "color": "#2c5b85",
78
+ "external": false,
79
+ "moderated": false,
80
+ "header_image_url": "https://mugshot0eu-1.assets-yammer.com/mugshot/images/group-header-coffee.png?P1=1668204451&P2=104&P3=1&P4=hPZP6QJbY1Oj4KQZAodyMQyvjUahlwoqSCMqioVYvDoB-9Fx3qEB3ZTM7I_TF-mceKqGVDtasUIH8ZDYEfjTg9zgWWDpmkREJySioTZ0WcPtHIUkh2GUWJOfr-5aX9QhdpE1Fpp94mltGCtBc_nqlEbgIAYCJtBKgLAgUFZ4L2WSkQNn5Y_JLp5cM9Gnf7Z3MmHniN0Na1oemDhZ1vOsGCtaU09WPB5oNoSUMfwqYSKjF5IqXdd55Y3F2NZuuyTHoZS65BFZR9OJaICXJs6Q2dNExLqMvGQ76_aZsgli-BG67MVwfDsmqpxsjZZOBIZGQOEKc4D_bx8iQUHZD7p2xA",
81
+ "category": "unclassified",
82
+ "default_thread_starter_type": "normal",
83
+ "restricted_posting": false,
84
+ "company_group": false,
85
+ "creator_type": "user",
86
+ "creator_id": 36425097217,
87
+ "state": "active",
88
+ "stats": {
89
+ "members": 1,
90
+ "aad_guests": 0,
91
+ "updates": 0,
92
+ "last_message_id": null,
93
+ "last_message_at": null
94
+ }
95
+ }
96
+ ]
97
+ ```
98
+
99
+ === "Text"
100
+
101
+ ```text
102
+ email :
103
+ external : false
104
+ id : 31158067201
105
+ moderated: false
106
+ name : contosohub
107
+ privacy : public
108
+ ```
109
+
110
+ === "CSV"
111
+
112
+ ```csv
113
+ id,name,email,privacy,external,moderated
114
+ 31158067201,wombathub,,public,false,false
115
+ ```
@@ -47,3 +47,7 @@ Adds the user with e-mail `suzy@contoso.com` to the group with ID `5611239081`
47
47
  ```sh
48
48
  m365 yammer group user add --groupId 5611239081 --email suzy@contoso.com
49
49
  ```
50
+
51
+ ## Response
52
+
53
+ The command won't return a response on success.