@pnp/cli-microsoft365 7.0.0-beta.4ebf3ad → 7.0.0-beta.5fdb9e3

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 (196) hide show
  1. package/.eslintrc.cjs +1 -1
  2. package/dist/Auth.js +2 -1
  3. package/dist/Command.js +1 -1
  4. package/dist/cli/Cli.js +19 -2
  5. package/dist/m365/aad/commands/{o365group/o365group-add.js → m365group/m365group-add.js} +17 -17
  6. package/dist/m365/aad/commands/{o365group/o365group-conversation-list.js → m365group/m365group-conversation-list.js} +10 -10
  7. package/dist/m365/aad/commands/{o365group/o365group-conversation-post-list.js → m365group/m365group-conversation-post-list.js} +14 -14
  8. package/dist/m365/aad/commands/{o365group/o365group-get.js → m365group/m365group-get.js} +13 -10
  9. package/dist/m365/aad/commands/{o365group/o365group-list.js → m365group/m365group-list.js} +13 -28
  10. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-clear.js → m365group/m365group-recyclebinitem-clear.js} +15 -15
  11. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-list.js → m365group/m365group-recyclebinitem-list.js} +10 -10
  12. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-remove.js → m365group/m365group-recyclebinitem-remove.js} +14 -14
  13. package/dist/m365/aad/commands/{o365group/o365group-recyclebinitem-restore.js → m365group/m365group-recyclebinitem-restore.js} +14 -14
  14. package/dist/m365/aad/commands/{o365group/o365group-remove.js → m365group/m365group-remove.js} +12 -12
  15. package/dist/m365/aad/commands/{o365group/o365group-renew.js → m365group/m365group-renew.js} +10 -10
  16. package/dist/m365/aad/commands/{o365group/o365group-report-activitycounts.js → m365group/m365group-report-activitycounts.js} +4 -4
  17. package/dist/m365/aad/commands/{o365group/o365group-report-activitydetail.js → m365group/m365group-report-activitydetail.js} +4 -4
  18. package/dist/m365/aad/commands/{o365group/o365group-report-activityfilecounts.js → m365group/m365group-report-activityfilecounts.js} +4 -4
  19. package/dist/m365/aad/commands/{o365group/o365group-report-activitygroupcounts.js → m365group/m365group-report-activitygroupcounts.js} +4 -4
  20. package/dist/m365/aad/commands/{o365group/o365group-report-activitystorage.js → m365group/m365group-report-activitystorage.js} +4 -4
  21. package/dist/m365/aad/commands/{o365group/o365group-set.js → m365group/m365group-set.js} +17 -17
  22. package/dist/m365/aad/commands/{o365group/o365group-teamify.js → m365group/m365group-teamify.js} +14 -14
  23. package/dist/m365/aad/commands/{o365group/o365group-user-add.js → m365group/m365group-user-add.js} +14 -14
  24. package/dist/m365/aad/commands/{o365group/o365group-user-list.js → m365group/m365group-user-list.js} +12 -12
  25. package/dist/m365/aad/commands/{o365group/o365group-user-remove.js → m365group/m365group-user-remove.js} +14 -14
  26. package/dist/m365/aad/commands/{o365group/o365group-user-set.js → m365group/m365group-user-set.js} +15 -15
  27. package/dist/m365/aad/commands.js +22 -22
  28. package/dist/m365/cli/commands/config/config-list.js +16 -0
  29. package/dist/m365/cli/commands.js +1 -0
  30. package/dist/m365/pa/commands/app/app-permission-ensure.js +162 -0
  31. package/dist/m365/pa/commands/app/app-permission-list.js +2 -2
  32. package/dist/m365/pa/commands/app/app-permission-remove.js +153 -0
  33. package/dist/m365/pa/commands.js +2 -0
  34. package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
  35. package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
  36. package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
  37. package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
  38. package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
  39. package/dist/m365/planner/commands/plan/plan-get.js +1 -2
  40. package/dist/m365/planner/commands/plan/plan-list.js +4 -5
  41. package/dist/m365/planner/commands/plan/plan-set.js +2 -2
  42. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.0-beta.1.js → doctor-1.18.0-beta.5.js} +1 -1
  43. package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
  44. package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -2
  45. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +1 -1
  46. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.0-beta.1.js → upgrade-1.18.0-beta.5.js} +26 -26
  47. package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
  48. package/dist/m365/spfx/commands/spfx-doctor.js +76 -106
  49. package/dist/m365/spo/commands/app/SpoAppBaseCommand.js +27 -26
  50. package/dist/m365/spo/commands/app/app-add.js +9 -9
  51. package/dist/m365/spo/commands/file/file-add.js +13 -13
  52. package/dist/m365/spo/commands/file/file-checkin.js +1 -1
  53. package/dist/m365/spo/commands/file/file-checkout.js +1 -1
  54. package/dist/m365/spo/commands/file/file-copy.js +36 -4
  55. package/dist/m365/spo/commands/file/file-list.js +4 -4
  56. package/dist/m365/spo/commands/file/file-move.js +74 -98
  57. package/dist/m365/spo/commands/file/file-remove.js +6 -6
  58. package/dist/m365/spo/commands/file/file-rename.js +2 -2
  59. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -1
  60. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -1
  61. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
  62. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +1 -1
  63. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
  64. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  65. package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
  66. package/dist/m365/spo/commands/file/file-version-get.js +1 -1
  67. package/dist/m365/spo/commands/file/file-version-list.js +1 -1
  68. package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
  69. package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
  70. package/dist/m365/spo/commands/folder/folder-add.js +2 -4
  71. package/dist/m365/spo/commands/folder/folder-copy.js +89 -45
  72. package/dist/m365/spo/commands/folder/folder-get.js +1 -1
  73. package/dist/m365/spo/commands/folder/folder-list.js +2 -2
  74. package/dist/m365/spo/commands/folder/folder-move.js +89 -47
  75. package/dist/m365/spo/commands/folder/folder-remove.js +7 -4
  76. package/dist/m365/spo/commands/folder/folder-rename.js +13 -17
  77. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
  78. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -1
  79. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +1 -1
  80. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
  81. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +1 -1
  82. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
  83. package/dist/m365/spo/commands/group/group-list.js +0 -1
  84. package/dist/m365/spo/commands/navigation/navigation-node-set.js +2 -2
  85. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +32 -3
  86. package/dist/m365/spo/commands/propertybag/propertybag-base.js +63 -59
  87. package/dist/m365/spo/commands/propertybag/propertybag-remove.js +28 -31
  88. package/dist/m365/spo/commands/site/FlowsPolicy.js +7 -0
  89. package/dist/m365/spo/commands/site/site-ensure.js +3 -3
  90. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +22 -22
  91. package/dist/m365/spo/commands/site/site-list.js +29 -39
  92. package/dist/m365/spo/commands/site/site-set.js +60 -49
  93. package/dist/m365/spo/commands/theme/theme-list.js +1 -9
  94. package/dist/m365/spo/commands/theme/theme-remove.js +24 -24
  95. package/dist/m365/spo/commands/theme/theme-set.js +0 -1
  96. package/dist/m365/spo/commands/user/user-remove.js +27 -27
  97. package/dist/m365/spo/commands/web/web-reindex.js +35 -42
  98. package/dist/m365/spo/commands/web/web-remove.js +21 -21
  99. package/dist/m365/spo/commands/web/web-roleassignment-add.js +16 -31
  100. package/dist/m365/spo/commands/web/web-roleassignment-remove.js +33 -44
  101. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +18 -18
  102. package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +19 -19
  103. package/dist/m365/yammer/commands/message/message-like-set.js +27 -28
  104. package/dist/m365/yammer/commands/message/message-list.js +62 -81
  105. package/dist/m365/yammer/commands/message/message-remove.js +18 -18
  106. package/dist/m365/yammer/commands/yammer-search.js +53 -69
  107. package/dist/utils/planner.js +4 -3
  108. package/dist/utils/spo.js +13 -54
  109. package/docs/docs/cmd/aad/{o365group/o365group-add.mdx → m365group/m365group-add.mdx} +13 -13
  110. package/docs/docs/cmd/aad/{o365group/o365group-conversation-list.mdx → m365group/m365group-conversation-list.mdx} +4 -4
  111. package/docs/docs/cmd/aad/{o365group/o365group-conversation-post-list.mdx → m365group/m365group-conversation-post-list.mdx} +8 -8
  112. package/docs/docs/cmd/aad/{o365group/o365group-get.mdx → m365group/m365group-get.mdx} +6 -6
  113. package/docs/docs/cmd/aad/{o365group/o365group-list.mdx → m365group/m365group-list.mdx} +12 -29
  114. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-clear.mdx → m365group/m365group-recyclebinitem-clear.mdx} +5 -5
  115. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-list.mdx → m365group/m365group-recyclebinitem-list.mdx} +8 -8
  116. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-remove.mdx → m365group/m365group-recyclebinitem-remove.mdx} +6 -6
  117. package/docs/docs/cmd/aad/{o365group/o365group-recyclebinitem-restore.mdx → m365group/m365group-recyclebinitem-restore.mdx} +6 -6
  118. package/docs/docs/cmd/aad/{o365group/o365group-remove.mdx → m365group/m365group-remove.mdx} +6 -6
  119. package/docs/docs/cmd/aad/{o365group/o365group-renew.mdx → m365group/m365group-renew.mdx} +4 -4
  120. package/docs/docs/cmd/aad/{o365group/o365group-report-activitycounts.mdx → m365group/m365group-report-activitycounts.mdx} +6 -6
  121. package/docs/docs/cmd/aad/{o365group/o365group-report-activitydetail.mdx → m365group/m365group-report-activitydetail.mdx} +7 -7
  122. package/docs/docs/cmd/aad/{o365group/o365group-report-activityfilecounts.mdx → m365group/m365group-report-activityfilecounts.mdx} +6 -6
  123. package/docs/docs/cmd/aad/{o365group/o365group-report-activitygroupcounts.mdx → m365group/m365group-report-activitygroupcounts.mdx} +6 -6
  124. package/docs/docs/cmd/aad/{o365group/o365group-report-activitystorage.mdx → m365group/m365group-report-activitystorage.mdx} +6 -6
  125. package/docs/docs/cmd/aad/{o365group/o365group-set.mdx → m365group/m365group-set.mdx} +8 -8
  126. package/docs/docs/cmd/aad/{o365group/o365group-teamify.mdx → m365group/m365group-teamify.mdx} +5 -5
  127. package/docs/docs/cmd/aad/{o365group/o365group-user-add.mdx → m365group/m365group-user-add.mdx} +5 -5
  128. package/docs/docs/cmd/aad/{o365group/o365group-user-list.mdx → m365group/m365group-user-list.mdx} +7 -7
  129. package/docs/docs/cmd/aad/{o365group/o365group-user-remove.mdx → m365group/m365group-user-remove.mdx} +5 -5
  130. package/docs/docs/cmd/aad/{o365group/o365group-user-set.mdx → m365group/m365group-user-set.mdx} +5 -5
  131. package/docs/docs/cmd/aad/user/user-set.mdx +1 -1
  132. package/docs/docs/cmd/cli/config/config-list.mdx +78 -0
  133. package/docs/docs/cmd/flow/flow-enable.mdx +2 -2
  134. package/docs/docs/cmd/login.mdx +6 -0
  135. package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +85 -0
  136. package/docs/docs/cmd/pa/app/app-permission-remove.mdx +74 -0
  137. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  138. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +2 -2
  139. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +2 -2
  140. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +3 -3
  141. package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
  142. package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
  143. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -9
  144. package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
  145. package/docs/docs/cmd/spo/file/file-copy.mdx +20 -16
  146. package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
  147. package/docs/docs/cmd/spo/file/file-list.mdx +2 -2
  148. package/docs/docs/cmd/spo/file/file-move.mdx +36 -18
  149. package/docs/docs/cmd/spo/file/file-remove.mdx +8 -8
  150. package/docs/docs/cmd/spo/file/file-rename.mdx +3 -3
  151. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +2 -2
  152. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +3 -3
  153. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
  154. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  155. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  156. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  157. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
  158. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
  159. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
  160. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
  161. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
  162. package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
  163. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
  164. package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
  165. package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
  166. package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
  167. package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
  168. package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
  169. package/docs/docs/cmd/spo/folder/folder-add.mdx +76 -1
  170. package/docs/docs/cmd/spo/folder/folder-copy.mdx +39 -12
  171. package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
  172. package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
  173. package/docs/docs/cmd/spo/folder/folder-move.mdx +40 -13
  174. package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
  175. package/docs/docs/cmd/spo/folder/folder-rename.mdx +5 -1
  176. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  177. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
  178. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +2 -2
  179. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
  180. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
  181. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
  182. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +1 -1
  183. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.mdx +14 -1
  184. package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
  185. package/docs/docs/cmd/spo/site/site-ensure.mdx +1 -1
  186. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  187. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
  188. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
  189. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  190. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
  191. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  192. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  193. package/docs/docs/cmd/yammer/network/network-list.mdx +1 -1
  194. package/npm-shrinkwrap.json +143 -89
  195. package/package.json +13 -13
  196. /package/dist/m365/aad/commands/{o365group → m365group}/GroupExtended.js +0 -0
package/dist/utils/spo.js CHANGED
@@ -93,47 +93,6 @@ export const spo = {
93
93
  }
94
94
  });
95
95
  },
96
- waitUntilCopyJobFinished({ copyJobInfo, siteUrl, pollingInterval, resolve, reject, logger, debug, verbose }) {
97
- const requestUrl = `${siteUrl}/_api/site/GetCopyJobProgress`;
98
- const requestOptions = {
99
- url: requestUrl,
100
- headers: {
101
- 'accept': 'application/json;odata=nometadata'
102
- },
103
- data: { "copyJobInfo": copyJobInfo },
104
- responseType: 'json'
105
- };
106
- request
107
- .post(requestOptions)
108
- .then(async (resp) => {
109
- if (debug) {
110
- await logger.logToStderr('getCopyJobProgress response...');
111
- await logger.logToStderr(resp);
112
- }
113
- for (const item of resp.Logs) {
114
- const log = JSON.parse(item);
115
- // reject if progress error
116
- if (log.Event === "JobError" || log.Event === "JobFatalError") {
117
- return reject(log.Message);
118
- }
119
- }
120
- // two possible scenarios
121
- // job done = success promise returned
122
- // job in progress = recursive call using setTimeout returned
123
- if (resp.JobState === 0) {
124
- // job done
125
- if (verbose) {
126
- process.stdout.write('\n');
127
- }
128
- resolve();
129
- }
130
- else {
131
- setTimeout(() => {
132
- spo.waitUntilCopyJobFinished({ copyJobInfo, siteUrl, pollingInterval, resolve, reject, logger, debug, verbose });
133
- }, pollingInterval);
134
- }
135
- });
136
- },
137
96
  async getSpoUrl(logger, debug) {
138
97
  if (auth.service.spoUrl) {
139
98
  if (debug) {
@@ -292,7 +251,7 @@ export const spo = {
292
251
  nextFolder += `/${folders[folderIndex]}`;
293
252
  const folderServerRelativeUrl = urlUtil.getServerRelativePath(webFullUrl, nextFolder);
294
253
  const requestOptions = {
295
- url: `${webFullUrl}/_api/web/GetFolderByServerRelativeUrl('${formatting.encodeQueryParameter(folderServerRelativeUrl)}')`,
254
+ url: `${webFullUrl}/_api/web/GetFolderByServerRelativePath(DecodedUrl='${formatting.encodeQueryParameter(folderServerRelativeUrl)}')`,
296
255
  headers: {
297
256
  'accept': 'application/json;odata=nometadata'
298
257
  }
@@ -619,12 +578,12 @@ export const spo = {
619
578
  return request.post(requestOptions);
620
579
  },
621
580
  /**
622
- * Retrieves the spo group by name.
623
- * @param webUrl Web url
624
- * @param name The name of the group
625
- * @param logger the Logger object
626
- * @param debug set if debug logging should be logged
627
- */
581
+ * Retrieves the spo group by name.
582
+ * @param webUrl Web url
583
+ * @param name The name of the group
584
+ * @param logger the Logger object
585
+ * @param debug set if debug logging should be logged
586
+ */
628
587
  async getGroupByName(webUrl, name, logger, debug) {
629
588
  if (debug) {
630
589
  await logger.logToStderr(`Retrieving the group by name ${name}`);
@@ -641,12 +600,12 @@ export const spo = {
641
600
  return groupInstance;
642
601
  },
643
602
  /**
644
- * Retrieves the role definition by name.
645
- * @param webUrl Web url
646
- * @param name the name of the role definition
647
- * @param logger the Logger object
648
- * @param debug set if debug logging should be logged
649
- */
603
+ * Retrieves the role definition by name.
604
+ * @param webUrl Web url
605
+ * @param name the name of the role definition
606
+ * @param logger the Logger object
607
+ * @param debug set if debug logging should be logged
608
+ */
650
609
  async getRoleDefinitionByName(webUrl, name, logger, debug) {
651
610
  if (debug) {
652
611
  await logger.logToStderr(`Retrieving the role definitions for ${name}`);
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group add
5
+ # aad m365group add
6
6
 
7
7
  Creates a Microsoft 365 Group
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group add [options]
12
+ m365 aad m365group add [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -61,55 +61,55 @@ If an invalid user is provided in the comma-separated list of Owners or Members,
61
61
  Create a public Microsoft 365 Group
62
62
 
63
63
  ```sh
64
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance
64
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance
65
65
  ```
66
66
 
67
67
  Create a private Microsoft 365 Group
68
68
 
69
69
  ```sh
70
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --isPrivate
70
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --isPrivate
71
71
  ```
72
72
 
73
73
  Create a public Microsoft 365 Group and set specified users as its owners
74
74
 
75
75
  ```sh
76
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
76
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
77
77
  ```
78
78
 
79
79
  Create a public Microsoft 365 Group and set specified users as its members
80
80
 
81
81
  ```sh
82
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
82
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
83
83
  ```
84
84
 
85
85
  Create a public Microsoft 365 Group and allow only group members to be able to post conversations to the group.
86
86
 
87
87
  ```sh
88
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --allowMembersToPost
88
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --allowMembersToPost
89
89
  ```
90
90
 
91
91
  Create a public Microsoft 365 Group and hide it from the Outlook experiences (web and client).
92
92
 
93
93
  ```sh
94
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --hideGroupInOutlook
94
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --hideGroupInOutlook
95
95
  ```
96
96
 
97
97
  Create a public Microsoft 365 Group and subscribe all new group members to receive group conversation emails when new messages are posted in the group.
98
98
 
99
99
  ```sh
100
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --subscribeNewGroupMembers
100
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --subscribeNewGroupMembers
101
101
  ```
102
102
 
103
103
  Create a public Microsoft 365 Group and set to not send welcome emails to new group members.
104
104
 
105
105
  ```sh
106
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --welcomeEmailDisabled
106
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --welcomeEmailDisabled
107
107
  ```
108
108
 
109
109
  Create a public Microsoft 365 Group and set its logo
110
110
 
111
111
  ```sh
112
- m365 aad o365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --logoPath images/logo.png
112
+ m365 aad m365group add --displayName Finance --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname finance --logoPath images/logo.png
113
113
  ```
114
114
 
115
115
  ## Response
@@ -208,7 +208,7 @@ m365 aad o365group add --displayName Finance --description "This is the Contoso
208
208
  <TabItem value="Markdown">
209
209
 
210
210
  ```md
211
- # aad o365group add --displayName "Finance" --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname "finance"
211
+ # aad m365group add --displayName "Finance" --description "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more." --mailNickname "finance"
212
212
 
213
213
  Date: 2023-06-01
214
214
 
@@ -230,4 +230,4 @@ m365 aad o365group add --displayName Finance --description "This is the Contoso
230
230
  ```
231
231
 
232
232
  </TabItem>
233
- </Tabs>
233
+ </Tabs>
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group conversation list
5
+ # aad m365group conversation list
6
6
 
7
7
  Lists conversations for the specified Microsoft 365 group
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group conversation list [options]
12
+ m365 aad m365group conversation list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -26,7 +26,7 @@ m365 aad o365group conversation list [options]
26
26
  Lists conversations for the specified Microsoft 365 group
27
27
 
28
28
  ```sh
29
- m365 aad o365group conversation list --groupId '00000000-0000-0000-0000-000000000000'
29
+ m365 aad m365group conversation list --groupId '00000000-0000-0000-0000-000000000000'
30
30
  ```
31
31
 
32
32
  ## Response
@@ -77,7 +77,7 @@ m365 aad o365group conversation list --groupId '00000000-0000-0000-0000-00000000
77
77
  <TabItem value="Markdown">
78
78
 
79
79
  ```md
80
- # aad o365group conversation list --groupId "1cdce329-46a9-4fd3-8826-fe6587d25a8c"
80
+ # aad m365group conversation list --groupId "1cdce329-46a9-4fd3-8826-fe6587d25a8c"
81
81
 
82
82
  Date: 2023-06-01
83
83
 
@@ -2,24 +2,24 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group conversation post list
5
+ # aad m365group conversation post list
6
6
 
7
7
  Lists conversation posts of a Microsoft 365 group
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group conversation post list [options]
12
+ m365 aad m365group conversation post list [options]
13
13
  ```
14
14
 
15
15
  ## Options
16
16
 
17
17
  ```md definition-list
18
18
  `-i, --groupId [groupId]`
19
- : The Id of the Office 365 Group. You can specify the groupId or groupDisplayName, but not both.
19
+ : The Id of the Microsoft 365 Group. You can specify the groupId or groupDisplayName, but not both.
20
20
 
21
21
  `-d, --groupDisplayName [groupDisplayName]`
22
- : The Displayname of the Office 365 Group. You can specify the groupId or groupDisplayName, but not both.
22
+ : The Displayname of the Microsoft 365 Group. You can specify the groupId or groupDisplayName, but not both.
23
23
 
24
24
  `-t, --threadId <threadId>`
25
25
  : The ID of the thread to retrieve details for
@@ -32,13 +32,13 @@ m365 aad o365group conversation post list [options]
32
32
  Lists the posts of the specific conversation of Microsoft 365 group by groupId
33
33
 
34
34
  ```sh
35
- m365 aad o365group conversation post list --groupId '00000000-0000-0000-0000-000000000000' --threadId 'AAQkADkwN2Q2NDg1LWQ3ZGYtNDViZi1iNGRiLTVhYjJmN2Q5NDkxZQAQAOnRAfDf71lIvrdK85FAn5E='
35
+ m365 aad m365group conversation post list --groupId '00000000-0000-0000-0000-000000000000' --threadId 'AAQkADkwN2Q2NDg1LWQ3ZGYtNDViZi1iNGRiLTVhYjJmN2Q5NDkxZQAQAOnRAfDf71lIvrdK85FAn5E='
36
36
  ```
37
37
 
38
38
  Lists the posts of the specific conversation of Microsoft 365 group by groupDisplayName
39
39
 
40
40
  ```sh
41
- m365 aad o365group conversation post list --groupDisplayName 'MyGroup' --threadId 'AAQkADkwN2Q2NDg1LWQ3ZGYtNDViZi1iNGRiLTVhYjJmN2Q5NDkxZQAQAOnRAfDf71lIvrdK85FAn5E='
41
+ m365 aad m365group conversation post list --groupDisplayName 'MyGroup' --threadId 'AAQkADkwN2Q2NDg1LWQ3ZGYtNDViZi1iNGRiLTVhYjJmN2Q5NDkxZQAQAOnRAfDf71lIvrdK85FAn5E='
42
42
  ```
43
43
 
44
44
  ## Response
@@ -97,7 +97,7 @@ m365 aad o365group conversation post list --groupDisplayName 'MyGroup' --threadI
97
97
  <TabItem value="Markdown">
98
98
 
99
99
  ```md
100
- # aad o365group conversation post list --groupId "1cdce329-46a9-4fd3-8826-fe6587d25a8c" --threadId "AAQkADEzYjY5N2FmLTVmZDYtNDgyYi1iZjBlLTgyNDU5ZTYyNGFkZQAQAGhnITi5DTNEgxisPwMQu74="
100
+ # aad m365group conversation post list --groupId "1cdce329-46a9-4fd3-8826-fe6587d25a8c" --threadId "AAQkADEzYjY5N2FmLTVmZDYtNDgyYi1iZjBlLTgyNDU5ZTYyNGFkZQAQAGhnITi5DTNEgxisPwMQu74="
101
101
 
102
102
  Date: 2023-06-02
103
103
 
@@ -114,4 +114,4 @@ m365 aad o365group conversation post list --groupDisplayName 'MyGroup' --threadI
114
114
  ```
115
115
 
116
116
  </TabItem>
117
- </Tabs>
117
+ </Tabs>
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group get
5
+ # aad m365group get
6
6
 
7
7
  Gets information about the specified Microsoft 365 Group or Microsoft Teams team
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group get [options]
12
+ m365 aad m365group get [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -29,13 +29,13 @@ m365 aad o365group get [options]
29
29
  Get information about the Microsoft 365 Group with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_
30
30
 
31
31
  ```sh
32
- m365 aad o365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
32
+ m365 aad m365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
33
33
  ```
34
34
 
35
35
  Get information about the Microsoft 365 Group with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_ and also retrieve the URL of the corresponding SharePoint site
36
36
 
37
37
  ```sh
38
- m365 aad o365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUrl
38
+ m365 aad m365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUrl
39
39
  ```
40
40
 
41
41
  ## Response
@@ -134,7 +134,7 @@ m365 aad o365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUr
134
134
  <TabItem value="Markdown">
135
135
 
136
136
  ```md
137
- # aad o365group get --id "ff99b38f-0a4b-4fbb-a034-b86988061e6d"
137
+ # aad m365group get --id "ff99b38f-0a4b-4fbb-a034-b86988061e6d"
138
138
 
139
139
  Date: 2023-06-01
140
140
 
@@ -156,4 +156,4 @@ m365 aad o365group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --includeSiteUr
156
156
  ```
157
157
 
158
158
  </TabItem>
159
- </Tabs>
159
+ </Tabs>
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group list
5
+ # aad m365group list
6
6
 
7
7
  Lists Microsoft 365 Groups in the current tenant
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group list [options]
12
+ m365 aad m365group list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -24,9 +24,6 @@ m365 aad o365group list [options]
24
24
  `--includeSiteUrl`
25
25
  : Set to retrieve the site URL for each group
26
26
 
27
- `--deleted`
28
- : Set to only retrieve deleted groups
29
-
30
27
  `--orphaned`
31
28
  : Set to only retrieve groups without owners
32
29
  ```
@@ -37,8 +34,6 @@ m365 aad o365group list [options]
37
34
 
38
35
  Using the `--includeSiteUrl` option, you can retrieve the URL of the site associated with the particular Microsoft 365 Group. If you however retrieve too many groups and will try to get their site URLs, you will most likely get an error as the command will get throttled, issuing too many requests, too frequently. If you get an error, consider narrowing down the result set using the `--displayName` and `--mailNickname` filters.
39
36
 
40
- Retrieving the URL of the site associated with the particular Microsoft 365 Group is not possible when retrieving deleted groups.
41
-
42
37
  Using the `--orphaned` option, you can retrieve Microsoft 365 Groups without owners.
43
38
 
44
39
  ## Examples
@@ -46,44 +41,32 @@ Using the `--orphaned` option, you can retrieve Microsoft 365 Groups without own
46
41
  List all Microsoft 365 Groups in the tenant
47
42
 
48
43
  ```sh
49
- m365 aad o365group list
44
+ m365 aad m365group list
50
45
  ```
51
46
 
52
47
  List Microsoft 365 Groups with display name starting with _Project_
53
48
 
54
49
  ```sh
55
- m365 aad o365group list --displayName Project
50
+ m365 aad m365group list --displayName Project
56
51
  ```
57
52
 
58
53
  List Microsoft 365 Groups mail nick name starting with _team_
59
54
 
60
55
  ```sh
61
- m365 aad o365group list --mailNickname team
62
- ```
63
-
64
- List deleted Microsoft 365 Groups with display name starting with _Project_
65
-
66
- ```sh
67
- m365 aad o365group list --displayName Project --deleted
68
- ```
69
-
70
- List deleted Microsoft 365 Groups mail nick name starting with _team_
71
-
72
- ```sh
73
- m365 aad o365group list --mailNickname team --deleted
56
+ m365 aad m365group list --mailNickname team
74
57
  ```
75
58
 
76
59
  List Microsoft 365 Groups with display name starting with _Project_ including
77
60
  the URL of the corresponding SharePoint site
78
61
 
79
62
  ```sh
80
- m365 aad o365group list --displayName Project --includeSiteUrl
63
+ m365 aad m365group list --displayName Project --includeSiteUrl
81
64
  ```
82
65
 
83
66
  List Microsoft 365 Groups without owners
84
67
 
85
68
  ```sh
86
- m365 aad o365group list --orphaned
69
+ m365 aad m365group list --orphaned
87
70
  ```
88
71
 
89
72
  ## Response
@@ -142,9 +125,9 @@ m365 aad o365group list --orphaned
142
125
  <TabItem value="Text">
143
126
 
144
127
  ```text
145
- id displayName mailNickname deletedDateTime
146
- ------------------------------------ ------------------------------------------------------------ ---------------------------------------------------- ---------------
147
- 0bc3d172-dfab-463f-b79a-ed8ec5d3d455 Leadership leadership null
128
+ id displayName mailNickname
129
+ ------------------------------------ ----------- ------------
130
+ 0bc3d172-dfab-463f-b79a-ed8ec5d3d455 Leadership leadership
148
131
  ```
149
132
 
150
133
  </TabItem>
@@ -159,7 +142,7 @@ m365 aad o365group list --orphaned
159
142
  <TabItem value="Markdown">
160
143
 
161
144
  ```md
162
- # aad o365group list
145
+ # aad m365group list
163
146
 
164
147
  Date: 2023-06-01
165
148
 
@@ -181,4 +164,4 @@ m365 aad o365group list --orphaned
181
164
  ```
182
165
 
183
166
  </TabItem>
184
- </Tabs>
167
+ </Tabs>
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group recyclebinitem clear
3
+ # aad m365group recyclebinitem clear
4
4
 
5
5
  Clears Microsoft 365 Groups from the recycle bin in the current tenant
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group recyclebinitem clear [options]
10
+ m365 aad m365group recyclebinitem clear [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -24,15 +24,15 @@ m365 aad o365group recyclebinitem clear [options]
24
24
  Removes all deleted Microsoft 365 Groups in the tenant. Will prompt for confirmation before permanently removing groups.
25
25
 
26
26
  ```sh
27
- m365 aad o365group recyclebinitem clear
27
+ m365 aad m365group recyclebinitem clear
28
28
  ```
29
29
 
30
30
  Removes all deleted Microsoft 365 Groups in the tenant. Will NOT prompt for confirmation before permanently removing groups.
31
31
 
32
32
  ```sh
33
- m365 aad o365group recyclebinitem clear --force
33
+ m365 aad m365group recyclebinitem clear --force
34
34
  ```
35
35
 
36
36
  ## Response
37
37
 
38
- The command won't return a response on success.
38
+ The command won't return a response on success.
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # aad o365group recyclebinitem list
5
+ # aad m365group recyclebinitem list
6
6
 
7
7
  Lists Groups from the recycle bin in the current tenant
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 aad o365group recyclebinitem list [options]
12
+ m365 aad m365group recyclebinitem list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -29,25 +29,25 @@ m365 aad o365group recyclebinitem list [options]
29
29
  List all deleted Microsoft 365 Groups in the tenant
30
30
 
31
31
  ```sh
32
- m365 aad o365group recyclebinitem list
32
+ m365 aad m365group recyclebinitem list
33
33
  ```
34
34
 
35
35
  List deleted Microsoft 365 Groups with display name starting with _Project_
36
36
 
37
37
  ```sh
38
- m365 aad o365group recyclebinitem list --groupDisplayName Project
38
+ m365 aad m365group recyclebinitem list --groupDisplayName Project
39
39
  ```
40
40
 
41
41
  List deleted Microsoft 365 Groups mail nick name starting with _team_
42
42
 
43
43
  ```sh
44
- m365 aad o365group recyclebinitem list --groupMailNickname team
44
+ m365 aad m365group recyclebinitem list --groupMailNickname team
45
45
  ```
46
46
 
47
47
  List deleted Microsoft 365 Groups mail nick name starting with _team_ and with display name starting with _Project_
48
48
 
49
49
  ```sh
50
- m365 aad o365group recyclebinitem list --groupMailNickname team --groupDisplayName Project
50
+ m365 aad m365group recyclebinitem list --groupMailNickname team --groupDisplayName Project
51
51
  ```
52
52
 
53
53
  ## Response
@@ -119,7 +119,7 @@ m365 aad o365group recyclebinitem list --groupMailNickname team --groupDisplayNa
119
119
  <TabItem value="Markdown">
120
120
 
121
121
  ```md
122
- # aad o365group recyclebinitem list
122
+ # aad m365group recyclebinitem list
123
123
 
124
124
  Date: 2023-06-02
125
125
 
@@ -142,4 +142,4 @@ m365 aad o365group recyclebinitem list --groupMailNickname team --groupDisplayNa
142
142
  ```
143
143
 
144
144
  </TabItem>
145
- </Tabs>
145
+ </Tabs>
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group recyclebinitem remove
3
+ # aad m365group recyclebinitem remove
4
4
 
5
5
  Permanently deletes a Microsoft 365 Group from the recycle bin in the current tenant
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group recyclebinitem remove [options]
10
+ m365 aad m365group recyclebinitem remove [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -33,21 +33,21 @@ m365 aad o365group recyclebinitem remove [options]
33
33
  Removes the Microsoft 365 Group with specific ID
34
34
 
35
35
  ```sh
36
- m365 aad o365group recyclebinitem remove --id "00000000-0000-0000-0000-000000000000"
36
+ m365 aad m365group recyclebinitem remove --id "00000000-0000-0000-0000-000000000000"
37
37
  ```
38
38
 
39
39
  Removes the Microsoft 365 Group with specific name
40
40
 
41
41
  ```sh
42
- m365 aad o365group recyclebinitem remove --displayName "My Group"
42
+ m365 aad m365group recyclebinitem remove --displayName "My Group"
43
43
  ```
44
44
 
45
45
  Remove the Microsoft 365 Group with specific mail nickname without confirmation
46
46
 
47
47
  ```sh
48
- m365 aad o365group recyclebinitem remove --mailNickname "Mygroup" --force
48
+ m365 aad m365group recyclebinitem remove --mailNickname "Mygroup" --force
49
49
  ```
50
50
 
51
51
  ## Response
52
52
 
53
- The command won't return a response on success.
53
+ The command won't return a response on success.
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group recyclebinitem restore
3
+ # aad m365group recyclebinitem restore
4
4
 
5
5
  Restores a deleted Microsoft 365 Group
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group recyclebinitem restore [options]
10
+ m365 aad m365group recyclebinitem restore [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -30,21 +30,21 @@ m365 aad o365group recyclebinitem restore [options]
30
30
  Restores the Microsoft 365 Group with specific ID
31
31
 
32
32
  ```sh
33
- m365 aad o365group recyclebinitem restore --id 28beab62-7540-4db1-a23f-29a6018a3848
33
+ m365 aad m365group recyclebinitem restore --id 28beab62-7540-4db1-a23f-29a6018a3848
34
34
  ```
35
35
 
36
36
  Restores the Microsoft 365 Group with specific name
37
37
 
38
38
  ```sh
39
- m365 aad o365group recyclebinitem restore --displayName "My Group"
39
+ m365 aad m365group recyclebinitem restore --displayName "My Group"
40
40
  ```
41
41
 
42
42
  Restores the Microsoft 365 Group with specific mail nickname
43
43
 
44
44
  ```sh
45
- m365 aad o365group recyclebinitem restore --mailNickname "Mygroup"
45
+ m365 aad m365group recyclebinitem restore --mailNickname "Mygroup"
46
46
  ```
47
47
 
48
48
  ## Response
49
49
 
50
- The command won't return a response on success.
50
+ The command won't return a response on success.
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad o365group remove
3
+ # aad m365group remove
4
4
 
5
5
  Removes an Microsoft 365 Group
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad o365group remove [options]
10
+ m365 aad m365group remove [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -34,21 +34,21 @@ If the specified _id_ doesn't refer to an existing group, you will get a `Resour
34
34
  Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_. Will prompt for confirmation before removing the group
35
35
 
36
36
  ```sh
37
- m365 aad o365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848
37
+ m365 aad m365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848
38
38
  ```
39
39
 
40
40
  Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_ without prompting for confirmation
41
41
 
42
42
  ```sh
43
- m365 aad o365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force
43
+ m365 aad m365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force
44
44
  ```
45
45
 
46
46
  Remove group with id _28beab62-7540-4db1-a23f-29a6018a3848_ without prompting for confirmation and without moving it to the Recycle Bin
47
47
 
48
48
  ```sh
49
- m365 aad o365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force --skipRecycleBin
49
+ m365 aad m365group remove --id 28beab62-7540-4db1-a23f-29a6018a3848 --force --skipRecycleBin
50
50
  ```
51
51
 
52
52
  ## Response
53
53
 
54
- The command won't return a response on success.
54
+ The command won't return a response on success.