@pnp/cli-microsoft365 10.0.0-beta.da65889 → 10.0.0-beta.fd332f4

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 (211) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/appInsights.js +6 -4
  5. package/dist/m365/commands/login.js +2 -2
  6. package/dist/m365/commands/setup.js +1 -1
  7. package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +0 -5
  8. package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +0 -5
  9. package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +0 -5
  10. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-add.js +0 -5
  11. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-get.js +0 -5
  12. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-list.js +0 -5
  13. package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +0 -5
  14. package/dist/m365/entra/commands/app/app-add.js +0 -5
  15. package/dist/m365/entra/commands/app/app-get.js +0 -5
  16. package/dist/m365/entra/commands/app/app-list.js +0 -5
  17. package/dist/m365/entra/commands/app/app-permission-add.js +0 -5
  18. package/dist/m365/entra/commands/app/app-remove.js +0 -5
  19. package/dist/m365/entra/commands/app/app-role-add.js +0 -5
  20. package/dist/m365/entra/commands/app/app-role-list.js +0 -5
  21. package/dist/m365/entra/commands/app/app-role-remove.js +0 -5
  22. package/dist/m365/entra/commands/app/app-set.js +0 -5
  23. package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +0 -5
  24. package/dist/m365/entra/commands/approleassignment/approleassignment-list.js +0 -5
  25. package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +0 -5
  26. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +0 -5
  27. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +0 -5
  28. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +0 -5
  29. package/dist/m365/entra/commands/group/group-add.js +0 -4
  30. package/dist/m365/entra/commands/group/group-get.js +0 -5
  31. package/dist/m365/entra/commands/group/group-list.js +0 -5
  32. package/dist/m365/entra/commands/group/group-member-list.js +0 -5
  33. package/dist/m365/entra/commands/group/group-remove.js +0 -5
  34. package/dist/m365/entra/commands/groupsetting/groupsetting-add.js +0 -5
  35. package/dist/m365/entra/commands/groupsetting/groupsetting-get.js +0 -5
  36. package/dist/m365/entra/commands/groupsetting/groupsetting-list.js +0 -5
  37. package/dist/m365/entra/commands/groupsetting/groupsetting-remove.js +0 -5
  38. package/dist/m365/entra/commands/groupsetting/groupsetting-set.js +0 -5
  39. package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-get.js +0 -5
  40. package/dist/m365/entra/commands/groupsettingtemplate/groupsettingtemplate-list.js +0 -5
  41. package/dist/m365/entra/commands/license/license-list.js +0 -5
  42. package/dist/m365/entra/commands/m365group/m365group-add.js +0 -5
  43. package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +0 -5
  44. package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +0 -5
  45. package/dist/m365/entra/commands/m365group/m365group-get.js +0 -5
  46. package/dist/m365/entra/commands/m365group/m365group-list.js +0 -5
  47. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-clear.js +0 -5
  48. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +0 -5
  49. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +0 -5
  50. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +0 -5
  51. package/dist/m365/entra/commands/m365group/m365group-remove.js +0 -5
  52. package/dist/m365/entra/commands/m365group/m365group-renew.js +0 -5
  53. package/dist/m365/entra/commands/m365group/m365group-report-activitycounts.js +0 -4
  54. package/dist/m365/entra/commands/m365group/m365group-report-activitydetail.js +0 -4
  55. package/dist/m365/entra/commands/m365group/m365group-report-activityfilecounts.js +0 -4
  56. package/dist/m365/entra/commands/m365group/m365group-report-activitygroupcounts.js +0 -4
  57. package/dist/m365/entra/commands/m365group/m365group-report-activitystorage.js +0 -4
  58. package/dist/m365/entra/commands/m365group/m365group-set.js +138 -73
  59. package/dist/m365/entra/commands/m365group/m365group-teamify.js +0 -5
  60. package/dist/m365/entra/commands/m365group/m365group-user-add.js +0 -6
  61. package/dist/m365/entra/commands/m365group/m365group-user-list.js +0 -5
  62. package/dist/m365/entra/commands/m365group/m365group-user-remove.js +84 -62
  63. package/dist/m365/entra/commands/m365group/m365group-user-set.js +3 -15
  64. package/dist/m365/entra/commands/oauth2grant/oauth2grant-add.js +0 -5
  65. package/dist/m365/entra/commands/oauth2grant/oauth2grant-list.js +0 -5
  66. package/dist/m365/entra/commands/oauth2grant/oauth2grant-remove.js +0 -5
  67. package/dist/m365/entra/commands/oauth2grant/oauth2grant-set.js +0 -5
  68. package/dist/m365/entra/commands/policy/policy-list.js +0 -5
  69. package/dist/m365/entra/commands/siteclassification/siteclassification-disable.js +0 -5
  70. package/dist/m365/entra/commands/siteclassification/siteclassification-enable.js +0 -5
  71. package/dist/m365/entra/commands/siteclassification/siteclassification-get.js +0 -5
  72. package/dist/m365/entra/commands/siteclassification/siteclassification-set.js +0 -5
  73. package/dist/m365/entra/commands/user/user-add.js +0 -5
  74. package/dist/m365/entra/commands/user/user-get.js +0 -5
  75. package/dist/m365/entra/commands/user/user-guest-add.js +0 -5
  76. package/dist/m365/entra/commands/user/user-hibp.js +0 -5
  77. package/dist/m365/entra/commands/user/user-license-add.js +0 -5
  78. package/dist/m365/entra/commands/user/user-license-list.js +0 -5
  79. package/dist/m365/entra/commands/user/user-license-remove.js +0 -5
  80. package/dist/m365/entra/commands/user/user-list.js +0 -5
  81. package/dist/m365/entra/commands/user/user-password-validate.js +0 -5
  82. package/dist/m365/entra/commands/user/user-recyclebinitem-clear.js +0 -5
  83. package/dist/m365/entra/commands/user/user-recyclebinitem-list.js +0 -5
  84. package/dist/m365/entra/commands/user/user-recyclebinitem-remove.js +0 -5
  85. package/dist/m365/entra/commands/user/user-recyclebinitem-restore.js +0 -5
  86. package/dist/m365/entra/commands/user/user-registrationdetails-list.js +0 -4
  87. package/dist/m365/entra/commands/user/user-remove.js +0 -5
  88. package/dist/m365/entra/commands/user/user-set.js +0 -5
  89. package/dist/m365/entra/commands/user/user-signin-list.js +0 -5
  90. package/dist/m365/file/commands/file-move.js +4 -4
  91. package/dist/m365/spo/commands/file/file-copy.js +6 -6
  92. package/dist/m365/spo/commands/file/file-move.js +6 -6
  93. package/dist/m365/spo/commands/file/file-remove.js +7 -1
  94. package/dist/m365/spo/commands/folder/folder-copy.js +43 -35
  95. package/dist/m365/spo/commands/folder/folder-move.js +43 -35
  96. package/dist/m365/spo/commands/group/group-member-add.js +3 -23
  97. package/dist/m365/spo/commands/group/group-member-remove.js +1 -18
  98. package/dist/m365/spo/commands/list/list-remove.js +14 -4
  99. package/dist/m365/spo/commands/tenant/tenant-site-membership-list.js +118 -0
  100. package/dist/m365/spo/commands/user/user-ensure.js +1 -11
  101. package/dist/m365/spo/commands/userprofile/userprofile-get.js +1 -1
  102. package/dist/m365/spo/commands.js +1 -0
  103. package/dist/m365/spp/commands/model/model-list.js +57 -0
  104. package/dist/m365/spp/commands.js +2 -1
  105. package/dist/m365/teams/commands/channel/channel-get.js +15 -50
  106. package/dist/m365/teams/commands/team/team-get.js +16 -21
  107. package/dist/telemetryRunner.js +2 -2
  108. package/dist/utils/spo.js +90 -21
  109. package/dist/utils/spp.js +22 -0
  110. package/dist/utils/teams.js +47 -5
  111. package/dist/utils/timersUtil.js +2 -1
  112. package/dist/utils/zod.js +11 -2
  113. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-add.mdx +0 -6
  114. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +0 -6
  115. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +0 -6
  116. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +0 -6
  117. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +0 -6
  118. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-list.mdx +0 -6
  119. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-remove.mdx +0 -6
  120. package/docs/docs/cmd/entra/app/app-add.mdx +0 -1
  121. package/docs/docs/cmd/entra/app/app-get.mdx +0 -1
  122. package/docs/docs/cmd/entra/app/app-list.mdx +0 -1
  123. package/docs/docs/cmd/entra/app/app-permission-add.mdx +0 -1
  124. package/docs/docs/cmd/entra/app/app-permission-list.mdx +0 -6
  125. package/docs/docs/cmd/entra/app/app-remove.mdx +0 -1
  126. package/docs/docs/cmd/entra/app/app-role-add.mdx +0 -1
  127. package/docs/docs/cmd/entra/app/app-role-list.mdx +0 -1
  128. package/docs/docs/cmd/entra/app/app-role-remove.mdx +0 -1
  129. package/docs/docs/cmd/entra/app/app-set.mdx +0 -1
  130. package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +0 -6
  131. package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +0 -6
  132. package/docs/docs/cmd/entra/approleassignment/approleassignment-remove.mdx +0 -6
  133. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +0 -1
  134. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +0 -1
  135. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +0 -1
  136. package/docs/docs/cmd/entra/group/group-add.mdx +0 -6
  137. package/docs/docs/cmd/entra/group/group-get.mdx +0 -6
  138. package/docs/docs/cmd/entra/group/group-list.mdx +0 -6
  139. package/docs/docs/cmd/entra/group/group-member-list.mdx +0 -6
  140. package/docs/docs/cmd/entra/group/group-remove.mdx +0 -6
  141. package/docs/docs/cmd/entra/groupsetting/groupsetting-add.mdx +0 -6
  142. package/docs/docs/cmd/entra/groupsetting/groupsetting-get.mdx +0 -6
  143. package/docs/docs/cmd/entra/groupsetting/groupsetting-list.mdx +0 -6
  144. package/docs/docs/cmd/entra/groupsetting/groupsetting-remove.mdx +0 -6
  145. package/docs/docs/cmd/entra/groupsetting/groupsetting-set.mdx +0 -6
  146. package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-get.mdx +0 -6
  147. package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-list.mdx +0 -6
  148. package/docs/docs/cmd/entra/license/license-list.mdx +0 -6
  149. package/docs/docs/cmd/entra/m365group/m365group-add.mdx +0 -6
  150. package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +0 -6
  151. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +0 -6
  152. package/docs/docs/cmd/entra/m365group/m365group-get.mdx +0 -6
  153. package/docs/docs/cmd/entra/m365group/m365group-list.mdx +0 -6
  154. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-clear.mdx +0 -6
  155. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +0 -6
  156. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-remove.mdx +0 -6
  157. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-restore.mdx +0 -6
  158. package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +0 -6
  159. package/docs/docs/cmd/entra/m365group/m365group-renew.mdx +0 -6
  160. package/docs/docs/cmd/entra/m365group/m365group-report-activitycounts.mdx +0 -6
  161. package/docs/docs/cmd/entra/m365group/m365group-report-activitydetail.mdx +0 -6
  162. package/docs/docs/cmd/entra/m365group/m365group-report-activityfilecounts.mdx +0 -6
  163. package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +2 -8
  164. package/docs/docs/cmd/entra/m365group/m365group-report-activitystorage.mdx +2 -8
  165. package/docs/docs/cmd/entra/m365group/m365group-set.mdx +34 -22
  166. package/docs/docs/cmd/entra/m365group/m365group-teamify.mdx +5 -11
  167. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +5 -11
  168. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +0 -12
  169. package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +26 -21
  170. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +4 -17
  171. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +3 -9
  172. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -7
  173. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +4 -10
  174. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +3 -9
  175. package/docs/docs/cmd/entra/policy/policy-list.mdx +3 -9
  176. package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +3 -9
  177. package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +7 -13
  178. package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +1 -7
  179. package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +8 -14
  180. package/docs/docs/cmd/entra/user/user-add.mdx +4 -10
  181. package/docs/docs/cmd/entra/user/user-get.mdx +7 -13
  182. package/docs/docs/cmd/entra/user/user-guest-add.mdx +3 -9
  183. package/docs/docs/cmd/entra/user/user-hibp.mdx +2 -8
  184. package/docs/docs/cmd/entra/user/user-license-add.mdx +0 -6
  185. package/docs/docs/cmd/entra/user/user-license-list.mdx +0 -6
  186. package/docs/docs/cmd/entra/user/user-license-remove.mdx +2 -8
  187. package/docs/docs/cmd/entra/user/user-list.mdx +1 -7
  188. package/docs/docs/cmd/entra/user/user-password-validate.mdx +1 -7
  189. package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +2 -8
  190. package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +0 -6
  191. package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +2 -8
  192. package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +0 -6
  193. package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +7 -13
  194. package/docs/docs/cmd/entra/user/user-remove.mdx +2 -8
  195. package/docs/docs/cmd/entra/user/user-set.mdx +0 -6
  196. package/docs/docs/cmd/entra/user/user-signin-list.mdx +9 -15
  197. package/docs/docs/cmd/spo/file/file-move.mdx +1 -3
  198. package/docs/docs/cmd/spo/file/file-remove.mdx +13 -4
  199. package/docs/docs/cmd/spo/folder/folder-copy.mdx +84 -13
  200. package/docs/docs/cmd/spo/folder/folder-move.mdx +84 -13
  201. package/docs/docs/cmd/spo/group/group-member-add.mdx +8 -14
  202. package/docs/docs/cmd/spo/group/group-member-remove.mdx +5 -11
  203. package/docs/docs/cmd/spo/list/list-remove.mdx +10 -1
  204. package/docs/docs/cmd/spo/site/site-sharingpermission-set.mdx +1 -1
  205. package/docs/docs/cmd/spo/tenant/tenant-site-membership-list.mdx +122 -0
  206. package/docs/docs/cmd/spo/user/user-ensure.mdx +2 -5
  207. package/docs/docs/cmd/spp/model/model-list.mdx +140 -0
  208. package/npm-shrinkwrap.json +2059 -389
  209. package/package.json +15 -15
  210. package/dist/m365/entra/aadCommands.js +0 -89
  211. package/dist/utils/driveUtil.js +0 -51
@@ -12,12 +12,6 @@ Gets information about the particular group setting
12
12
  m365 entra groupsetting get [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad groupsetting get [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,12 +12,6 @@ Lists Entra group settings
12
12
  m365 entra groupsetting list [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad groupsetting list [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  <Global />
@@ -10,12 +10,6 @@ Removes the particular group setting
10
10
  m365 entra groupsetting remove [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad groupsetting remove [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
@@ -10,12 +10,6 @@ Updates the particular group setting
10
10
  m365 entra groupsetting set [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad groupsetting set [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
@@ -12,12 +12,6 @@ Gets information about the specified Entra group settings template
12
12
  m365 entra groupsettingtemplate get [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad groupsettingtemplate get [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,12 +12,6 @@ Lists Entra group settings templates
12
12
  m365 entra groupsettingtemplate list [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad groupsettingtemplate list [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  <Global />
@@ -12,12 +12,6 @@ Lists commercial subscriptions that an organization has acquired
12
12
  m365 entra license list [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad license list [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  <Global />
@@ -12,12 +12,6 @@ Creates a Microsoft 365 Group
12
12
  m365 entra m365group add [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group add [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,12 +12,6 @@ Lists conversations for the specified Microsoft 365 group
12
12
  m365 entra m365group conversation list [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group conversation list [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,12 +12,6 @@ Lists conversation posts of a Microsoft 365 group
12
12
  m365 entra m365group conversation post list [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group conversation post list [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,12 +12,6 @@ Gets information about the specified Microsoft 365 Group or Microsoft Teams team
12
12
  m365 entra m365group get [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group get [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,12 +12,6 @@ Lists Microsoft 365 Groups in the current tenant
12
12
  m365 entra m365group list [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group list [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -10,12 +10,6 @@ Clears Microsoft 365 Groups from the recycle bin in the current tenant
10
10
  m365 entra m365group recyclebinitem clear [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad m365group recyclebinitem clear [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
@@ -12,12 +12,6 @@ Lists Groups from the recycle bin in the current tenant
12
12
  m365 entra m365group recyclebinitem list [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group recyclebinitem list [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -10,12 +10,6 @@ Permanently deletes a Microsoft 365 Group from the recycle bin in the current te
10
10
  m365 entra m365group recyclebinitem remove [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad m365group recyclebinitem remove [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
@@ -10,12 +10,6 @@ Restores a deleted Microsoft 365 Group
10
10
  m365 entra m365group recyclebinitem restore [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad m365group recyclebinitem restore [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
@@ -10,12 +10,6 @@ Removes an Microsoft 365 Group
10
10
  m365 entra m365group remove [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad m365group remove [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
@@ -10,12 +10,6 @@ Renews Microsoft 365 group's expiration
10
10
  m365 entra m365group renew [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad m365group renew [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
@@ -12,12 +12,6 @@ Get the number of group activities across group workloads
12
12
  m365 entra m365group report activitycounts [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group report activitycounts [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,12 +12,6 @@ Get details about Microsoft 365 Groups activity by group.
12
12
  m365 entra m365group report activitydetail [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group report activitydetail [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,12 +12,6 @@ Get the total number of files and how many of them were active across all group
12
12
  m365 entra m365group report activityfilecounts [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group report activityfilecounts [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -12,20 +12,14 @@ Get the daily total number of groups and how many of them were active based on e
12
12
  m365 entra m365group report activitygroupcounts [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group report activitygroupcounts [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
24
18
  `-p, --period <period>`
25
- : The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`
19
+ : The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
26
20
 
27
21
  `--outputFile [outputFile]`
28
- : Path to the file where the Microsoft 365 Groups activities report should be stored in
22
+ : Path to the file where the Microsoft 365 Groups activities report should be stored in.
29
23
  ```
30
24
 
31
25
  <Global />
@@ -12,20 +12,14 @@ Get the total storage used across all group mailboxes and group sites
12
12
  m365 entra m365group report activitystorage [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group report activitystorage [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
24
18
  `-p, --period <period>`
25
- : The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`
19
+ : The length of time over which the report is aggregated. Supported values `D7`, `D30`, `D90`, `D180`.
26
20
 
27
21
  `--outputFile [outputFile]`
28
- : Path to the file where the Microsoft 365 Groups activities report should be stored in
22
+ : Path to the file where the Microsoft 365 Groups activities report should be stored in.
29
23
  ```
30
24
 
31
25
  <Global />
@@ -10,38 +10,38 @@ Updates Microsoft 365 Group properties
10
10
  m365 entra m365group set [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad m365group set [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
22
16
  `-i, --id [id]`
23
- : The ID of the Microsoft 365 Group to update
17
+ : The ID of the Microsoft 365 Group to update.
24
18
 
25
19
  `-n, --displayName [displayName]`
26
- : Display name of the Microsoft 365 Group to update
20
+ : Display name of the Microsoft 365 Group to update.
27
21
 
28
22
  `--newDisplayName [newDisplayName]`
29
- : New display name for the Microsoft 365 Group
23
+ : New display name for the Microsoft 365 Group.
30
24
 
31
25
  `-d, --description [description]`
32
- : Description for the Microsoft 365 Group
26
+ : Description for the Microsoft 365 Group.
33
27
 
34
- `--owners [owners]`
35
- : Comma-separated list of Microsoft 365 Group owners to add
28
+ `--ownerIds [ownerIds]`
29
+ : Comma-separated list of IDs of Microsoft Entra ID users that will be group owners. Specify either `ownerIds` or `ownerUserNames`, but not both.
36
30
 
37
- `--members [members]`
38
- : Comma-separated list of Microsoft 365 Group members to add
31
+ `--ownerUserNames [ownerUserNames]`
32
+ : Comma-separated list of UPNs of Microsoft Entra ID users that will be group owners. Specify either `ownerIds` or `ownerUserNames`, but not both.
33
+
34
+ `--memberIds [memberIds]`
35
+ : Comma-separated list of IDs of Microsoft Entra ID users that will be group members. Specify either `memberIds` or `memberUserNames`, but not both.
36
+
37
+ `--memberUserNames [memberUserNames]`
38
+ : Comma-separated list of UPNs of Microsoft Entra ID users that will be group members. Specify either `memberIds` or `memberUserNames`, but not both.
39
39
 
40
40
  `--isPrivate [isPrivate]`
41
- : Set to `true` if the Microsoft 365 Group should be private and `false` if it should be public.
41
+ : Set to `true` if the Microsoft 365 Group should be private and `false` if it should be public.
42
42
 
43
43
  `-l, --logoPath [logoPath]`
44
- : Local path to the image file to use as group logo
44
+ : Local path to the image file to use as group logo.
45
45
 
46
46
  `--allowExternalSenders [allowExternalSenders]`
47
47
  : Indicates if people external to the organization can send messages to the group. Valid values: `true`, `false`.
@@ -60,7 +60,7 @@ m365 aad m365group set [options]
60
60
 
61
61
  ## Remarks
62
62
 
63
- When updating group's owners and members, the command will add newly specified users to the previously set owners and members. The previously set users will not be replaced.
63
+ When updating group's owners and members, the command will remove existing owners/members from the group, and the specified users will be added.
64
64
 
65
65
  When specifying the path to the logo image you can use both relative and absolute paths. Note, that ~ in the path, will not be resolved and will most likely result in an error.
66
66
 
@@ -84,16 +84,28 @@ Change Microsoft 365 Group visibility to public.
84
84
  m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --isPrivate `false`
85
85
  ```
86
86
 
87
- Add new Microsoft 365 Group owners of group.
87
+ Updates the list of Microsoft 365 Group owners with a list of users by UPN.
88
+
89
+ ```sh
90
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --ownerUserNames "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
91
+ ```
92
+
93
+ Updates the list of Microsoft 365 Group owners with a list of users by ID.
94
+
95
+ ```sh
96
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --ownerIds "3527dada-9368-4cdd-a958-5460f5658e0e,e94b2cb8-7c9a-4651-b1af-207d81a010b6"
97
+ ```
98
+
99
+ Updates the list of Microsoft 365 Group members with a list of users by UPN.
88
100
 
89
101
  ```sh
90
- m365 entra m365group set --displayName 'Project Team' --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
102
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --memberUserNames "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
91
103
  ```
92
104
 
93
- Add new Microsoft 365 Group members.
105
+ Updates the list of Microsoft 365 Group members with a list of users by ID.
94
106
 
95
107
  ```sh
96
- m365 entra m365group set --displayName 'Project Team' --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
108
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --memberIds "3527dada-9368-4cdd-a958-5460f5658e0e,e94b2cb8-7c9a-4651-b1af-207d81a010b6"
97
109
  ```
98
110
 
99
111
  Update Microsoft 365 Group logo.
@@ -116,4 +128,4 @@ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --autoSubscri
116
128
 
117
129
  ## Response
118
130
 
119
- The command won't return a response on success.
131
+ The command won't return a response on success.
@@ -10,33 +10,27 @@ Creates a new Microsoft Teams team under existing Microsoft 365 group
10
10
  m365 entra m365group teamify [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad m365group teamify [options]
17
- ```
18
-
19
13
  ## Options
20
14
 
21
15
  ```md definition-list
22
16
  `-i, --id [id]`
23
- : The ID of the Microsoft 365 Group to connect to Microsoft Teams. Specify either id or mailNickname but not both
17
+ : The ID of the Microsoft 365 Group to connect to Microsoft Teams. Specify either `id` or `mailNickname` but not both.
24
18
 
25
19
  `--mailNickname [mailNickname]`
26
- : The mail alias of the Microsoft 365 Group to connect to Microsoft Teams. Specify either id or mailNickname but not both
20
+ : The mail alias of the Microsoft 365 Group to connect to Microsoft Teams. Specify either `id` or `mailNickname` but not both.
27
21
  ```
28
22
 
29
23
  <Global />
30
24
 
31
25
  ## Examples
32
26
 
33
- Creates a new Microsoft Teams team under existing Microsoft 365 group with id _e3f60f99-0bad-481f-9e9f-ff0f572fbd03_
27
+ Creates a new Microsoft Teams team under existing Microsoft 365 group with the specified id.
34
28
 
35
29
  ```sh
36
30
  m365 entra m365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03
37
31
  ```
38
32
 
39
- Creates a new Microsoft Teams team under existing Microsoft 365 group with mailNickname _GroupName_
33
+ Creates a new Microsoft Teams team under existing Microsoft 365 group with the specified mailNickname.
40
34
 
41
35
  ```sh
42
36
  m365 entra m365group teamify --mailNickname GroupName
@@ -44,4 +38,4 @@ m365 entra m365group teamify --mailNickname GroupName
44
38
 
45
39
  ## Response
46
40
 
47
- The command won't return a response on success.
41
+ The command won't return a response on success.
@@ -12,12 +12,6 @@ m365 entra m365group user add [options]
12
12
 
13
13
  ## Alias
14
14
 
15
- ```sh
16
- m365 aad m365group user add [options]
17
- ```
18
-
19
- ## Alias
20
-
21
15
  ```sh
22
16
  m365 teams user add
23
17
  ```
@@ -44,32 +38,32 @@ m365 teams user add
44
38
  : The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `ids` or `userNames` but not both.
45
39
 
46
40
  `-r, --role [role]`
47
- : The role to be assigned to the new user: `Owner,Member`. Default `Member`
41
+ : The role to be assigned to the new user: `Owner,Member`. Default `Member`.
48
42
  ```
49
43
 
50
44
  <Global />
51
45
 
52
46
  ## Examples
53
47
 
54
- Add a new member with the userNames parameter to the specified Microsoft 365 Group
48
+ Add a new member with the userNames parameter to the specified Microsoft 365 Group.
55
49
 
56
50
  ```sh
57
51
  m365 entra m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userNames 'anne.matthews@contoso.onmicrosoft.com'
58
52
  ```
59
53
 
60
- Add multiple new owners with the userNames parameter to the specified Microsoft 365 Group
54
+ Add multiple new owners with the userNames parameter to the specified Microsoft 365 Group.
61
55
 
62
56
  ```sh
63
57
  m365 entra m365group user add --groupName 'Contoso' --userNames 'anne.matthews@contoso.onmicrosoft.com, john.doe@contoso.onmicrosoft.com' --role Owner
64
58
  ```
65
59
 
66
- Add a new member with the userNames parameter to the specified Microsoft Teams team
60
+ Add a new member with the userNames parameter to the specified Microsoft Teams team.
67
61
 
68
62
  ```sh
69
63
  m365 entra m365group member add --teamId '00000000-0000-0000-0000-000000000000' --userNames 'anne.matthews@contoso.onmicrosoft.com' --role Member
70
64
  ```
71
65
 
72
- Add multiple new members with the ids parameter to the specified Microsoft Teams team
66
+ Add multiple new members with the ids parameter to the specified Microsoft Teams team.
73
67
 
74
68
  ```sh
75
69
  m365 entra m365group user add --teamName 'Engineering' --ids '74a3b772-3122-447b-b9da-10895e238219,dd3d21e4-a142-46b9-8482-bca8fe9596b3' --role Member
@@ -12,12 +12,6 @@ Lists users for the specified Microsoft 365 group
12
12
  m365 entra m365group user list [options]
13
13
  ```
14
14
 
15
- ## Alias
16
-
17
- ```sh
18
- m365 aad m365group user list [options]
19
- ```
20
-
21
15
  ## Options
22
16
 
23
17
  ```md definition-list
@@ -63,12 +57,6 @@ List specific properties for all group users from a group specified by ID.
63
57
  m365 entra m365group user list --groupId 03cba9da-3974-46c1-afaf-79caa2e45bbe --properties "id,jobTitle,companyName,accountEnabled"
64
58
  ```
65
59
 
66
- List all group members that are guest users.
67
-
68
- ```sh
69
- m365 entra m365group user list --groupDisplayName Developers --filter "userType eq 'Guest'"
70
- ```
71
-
72
60
  ## Response
73
61
 
74
62
  <Tabs>
@@ -10,30 +10,29 @@ Removes the specified user from specified Microsoft 365 Group or Microsoft Teams
10
10
  m365 entra m365group user remove [options]
11
11
  ```
12
12
 
13
- ## Alias
14
-
15
- ```sh
16
- m365 aad m365group user remove [options]
17
- ```
18
-
19
- ```sh
20
- m365 aad teams user remove
21
- ```
22
-
23
13
  ## Options
24
14
 
25
15
  ```md definition-list
26
16
  `-i, --groupId [groupId]`
27
- : The ID of the Microsoft 365 Group from which to remove the user
17
+ : The ID of the Microsoft 365 group. Specify only one of the following: `groupId`, `groupName`, `teamId`, or `teamName`.
18
+
19
+ `--groupName [groupName]`
20
+ : The display name of the Microsoft 365 group. Specify only one of the following: `groupId`, `groupName`, `teamId`, or `teamName`..
28
21
 
29
22
  `--teamId [teamId]`
30
- : The ID of the Microsoft Teams team from which to remove the user
23
+ : The ID of the Microsoft Teams team. Specify only one of the following: `groupId`, `groupName`, `teamId`, or `teamName`.
24
+
25
+ `--teamName [teamName]`
26
+ : The display name of the Microsoft Teams team. Specify only one of the following: `groupId`, `groupName`, `teamId`, or `teamName`.
31
27
 
32
- `-n, --userName <userName>`
33
- : User's UPN (user principal name), eg. `johndoe@example.com`
28
+ `--ids [ids]`
29
+ : Microsoft Entra IDs of users. You can also pass a comma-separated list of IDs. Specify either `ids` or `userNames` but not both.
30
+
31
+ `--userNames [userNames]`
32
+ : The user principal names of users. You can also pass a comma-separated list of UPNs. Specify either `ids` or `userNames` but not both.
34
33
 
35
34
  `-f, --force`
36
- : Don't prompt for confirming removing the user from the specified Microsoft 365 Group or Microsoft Teams team
35
+ : Don't prompt for confirming removing the user from the specified Microsoft 365 Group or Microsoft Teams team.
37
36
  ```
38
37
 
39
38
  <Global />
@@ -44,22 +43,28 @@ You can remove users from a Microsoft 365 Group or Microsoft Teams team if you a
44
43
 
45
44
  ## Examples
46
45
 
47
- Removes user from the specified Microsoft 365 Group
46
+ Removes user from the specified Microsoft 365 Group.
47
+
48
+ ```sh
49
+ m365 entra m365group user remove --groupId '5b8e4cb1-ea40-484b-a94e-02a4313fefb4' --userNames 'anne.matthews@contoso.onmicrosoft.com'
50
+ ```
51
+
52
+ Removes user from the specified Microsoft 365 Team specified by id without confirmation.
48
53
 
49
54
  ```sh
50
- m365 entra m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
55
+ m365 entra m365group user remove --teamId '5b8e4cb1-ea40-484b-a94e-02a4313fefb4' --userNames 'anne.matthews@contoso.onmicrosoft.com' --force
51
56
  ```
52
57
 
53
- Removes user from the specified Microsoft 365 Group without confirmation
58
+ Removes users specified by a comma separated list of user principal names from the specified Microsoft Teams team specified by name
54
59
 
55
60
  ```sh
56
- m365 entra m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --force
61
+ m365 entra m365group user remove --teamName 'Project Team' --userNames 'anne.matthews@contoso.onmicrosoft.com,john@contoso.com'
57
62
  ```
58
63
 
59
- Removes user from the specified Microsoft Teams team
64
+ Removes users specified by a comma separated list of user ids from the specified Microsoft 365 group specified by name.
60
65
 
61
66
  ```sh
62
- m365 entra teams user remove --teamId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
67
+ m365 entra m365group user remove --groupName 'Project Team' --ids '5b8e4cb1-ea40-484b-a94e-02a4313fefb4,be7a56d8-b045-4938-af35-917ab6e5309f'
63
68
  ```
64
69
 
65
70
  ## Response