@pnp/cli-microsoft365 7.4.0-beta.fce7b64 → 7.5.0-beta.23612bc

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 (339) hide show
  1. package/.devcontainer/Dockerfile +2 -2
  2. package/.eslintrc.cjs +7 -0
  3. package/Dockerfile +2 -5
  4. package/README.md +1 -1
  5. package/allCommands.json +1 -1
  6. package/allCommandsFull.json +1 -1
  7. package/dist/Auth.js +2 -1
  8. package/dist/appInsights.js +2 -0
  9. package/dist/cli/cli.js +1 -0
  10. package/dist/m365/app/commands/app-get.js +2 -2
  11. package/dist/m365/app/commands/permission/permission-list.js +1 -1
  12. package/dist/m365/{aad/commands.js → entra/aadCommands.js} +2 -1
  13. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-add.js +12 -8
  14. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-get.js +20 -16
  15. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-list.js +6 -2
  16. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-add.js +24 -20
  17. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-get.js +18 -14
  18. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-member-list.js +18 -14
  19. package/dist/m365/{aad → entra}/commands/administrativeunit/administrativeunit-remove.js +20 -16
  20. package/dist/m365/entra/commands/administrativeunit/administrativeunit-roleassignment-add.js +102 -0
  21. package/dist/m365/{aad → entra}/commands/app/app-add.js +25 -21
  22. package/dist/m365/{aad → entra}/commands/app/app-get.js +17 -13
  23. package/dist/m365/{aad → entra}/commands/app/app-list.js +7 -3
  24. package/dist/m365/{aad → entra}/commands/app/app-permission-add.js +19 -19
  25. package/dist/m365/{aad → entra}/commands/app/app-remove.js +17 -13
  26. package/dist/m365/{aad → entra}/commands/app/app-role-add.js +18 -14
  27. package/dist/m365/{aad → entra}/commands/app/app-role-list.js +15 -11
  28. package/dist/m365/{aad → entra}/commands/app/app-role-remove.js +17 -13
  29. package/dist/m365/{aad → entra}/commands/app/app-set.js +18 -14
  30. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-add.js +17 -13
  31. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-list.js +16 -12
  32. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-remove.js +17 -13
  33. package/dist/m365/{aad → entra}/commands/group/group-get.js +20 -16
  34. package/dist/m365/{aad → entra}/commands/group/group-list.js +16 -12
  35. package/dist/m365/{aad → entra}/commands/group/group-remove.js +21 -17
  36. package/dist/m365/entra/commands/group/group-user-add.js +145 -0
  37. package/dist/m365/{aad → entra}/commands/group/group-user-list.js +19 -15
  38. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-add.js +12 -8
  39. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-get.js +12 -8
  40. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-list.js +7 -3
  41. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-remove.js +14 -10
  42. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-set.js +12 -8
  43. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-get.js +17 -13
  44. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-list.js +7 -3
  45. package/dist/m365/{aad → entra}/commands/license/license-list.js +6 -2
  46. package/dist/m365/{aad → entra}/commands/m365group/m365group-add.js +19 -15
  47. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-list.js +14 -10
  48. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-post-list.js +19 -15
  49. package/dist/m365/{aad → entra}/commands/m365group/m365group-get.js +15 -11
  50. package/dist/m365/{aad → entra}/commands/m365group/m365group-list.js +12 -8
  51. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-clear.js +12 -8
  52. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-list.js +12 -8
  53. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-remove.js +16 -12
  54. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-restore.js +16 -12
  55. package/dist/m365/{aad → entra}/commands/m365group/m365group-remove.js +19 -15
  56. package/dist/m365/{aad → entra}/commands/m365group/m365group-renew.js +14 -10
  57. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitycounts.js +4 -0
  58. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitydetail.js +4 -0
  59. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activityfilecounts.js +4 -0
  60. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitygroupcounts.js +4 -0
  61. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitystorage.js +4 -0
  62. package/dist/m365/{aad → entra}/commands/m365group/m365group-set.js +21 -17
  63. package/dist/m365/{aad → entra}/commands/m365group/m365group-teamify.js +18 -14
  64. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-add.js +16 -15
  65. package/dist/m365/entra/commands/m365group/m365group-user-list.js +154 -0
  66. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-remove.js +16 -15
  67. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-set.js +16 -15
  68. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-add.js +12 -8
  69. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-list.js +12 -8
  70. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-remove.js +10 -6
  71. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-set.js +10 -6
  72. package/dist/m365/{aad → entra}/commands/policy/policy-list.js +16 -12
  73. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-disable.js +12 -8
  74. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-enable.js +12 -8
  75. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-get.js +6 -2
  76. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-set.js +14 -10
  77. package/dist/m365/{aad → entra}/commands/sp/sp-add.js +17 -13
  78. package/dist/m365/{aad → entra}/commands/sp/sp-get.js +16 -12
  79. package/dist/m365/{aad → entra}/commands/sp/sp-list.js +12 -8
  80. package/dist/m365/{aad → entra}/commands/user/user-add.js +18 -14
  81. package/dist/m365/{aad → entra}/commands/user/user-get.js +16 -12
  82. package/dist/m365/{aad → entra}/commands/user/user-guest-add.js +12 -8
  83. package/dist/m365/{aad → entra}/commands/user/user-hibp.js +14 -10
  84. package/dist/m365/{aad → entra}/commands/user/user-license-add.js +16 -12
  85. package/dist/m365/{aad → entra}/commands/user/user-license-list.js +16 -12
  86. package/dist/m365/{aad → entra}/commands/user/user-license-remove.js +16 -12
  87. package/dist/m365/{aad → entra}/commands/user/user-list.js +12 -8
  88. package/dist/m365/{aad → entra}/commands/user/user-password-validate.js +10 -6
  89. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-clear.js +12 -8
  90. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-list.js +6 -2
  91. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-remove.js +14 -10
  92. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-restore.js +12 -8
  93. package/dist/m365/{aad → entra}/commands/user/user-remove.js +16 -12
  94. package/dist/m365/{aad → entra}/commands/user/user-set.js +18 -14
  95. package/dist/m365/{aad → entra}/commands/user/user-signin-list.js +15 -11
  96. package/dist/m365/entra/commands.js +87 -0
  97. package/dist/m365/external/commands/connection/connection-doctor.js +2 -1
  98. package/dist/m365/external/commands/connection/connection-urltoitemresolver-add.js +69 -0
  99. package/dist/m365/external/commands.js +1 -0
  100. package/dist/m365/flow/commands/owner/owner-ensure.js +4 -4
  101. package/dist/m365/flow/commands/owner/owner-remove.js +4 -4
  102. package/dist/m365/flow/commands/run/run-get.js +52 -13
  103. package/dist/m365/onenote/commands/notebook/notebook-list.js +2 -2
  104. package/dist/m365/onenote/commands/page/page-list.js +2 -2
  105. package/dist/m365/pa/commands/app/app-get.js +26 -11
  106. package/dist/m365/pa/commands/app/app-owner-set.js +2 -2
  107. package/dist/m365/pa/commands/app/app-permission-ensure.js +4 -4
  108. package/dist/m365/pa/commands/app/app-permission-remove.js +4 -4
  109. package/dist/m365/pa/commands/app/app-remove.js +19 -2
  110. package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
  111. package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
  112. package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
  113. package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
  114. package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
  115. package/dist/m365/planner/commands/plan/plan-add.js +2 -2
  116. package/dist/m365/planner/commands/plan/plan-get.js +2 -2
  117. package/dist/m365/planner/commands/plan/plan-list.js +2 -2
  118. package/dist/m365/planner/commands/plan/plan-remove.js +2 -2
  119. package/dist/m365/planner/commands/plan/plan-set.js +2 -2
  120. package/dist/m365/planner/commands/roster/roster-member-add.js +2 -2
  121. package/dist/m365/planner/commands/roster/roster-member-get.js +2 -2
  122. package/dist/m365/planner/commands/roster/roster-member-remove.js +2 -2
  123. package/dist/m365/planner/commands/task/task-add.js +2 -2
  124. package/dist/m365/planner/commands/task/task-get.js +2 -2
  125. package/dist/m365/planner/commands/task/task-list.js +2 -2
  126. package/dist/m365/planner/commands/task/task-remove.js +2 -2
  127. package/dist/m365/planner/commands/task/task-set.js +2 -2
  128. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -1
  129. package/dist/m365/spo/commands/file/file-add.js +12 -8
  130. package/dist/m365/spo/commands/file/file-checkin.js +4 -1
  131. package/dist/m365/spo/commands/file/file-checkout-undo.js +5 -1
  132. package/dist/m365/spo/commands/file/file-checkout.js +4 -1
  133. package/dist/m365/spo/commands/file/file-copy.js +5 -1
  134. package/dist/m365/spo/commands/file/file-get.js +5 -1
  135. package/dist/m365/spo/commands/file/file-list.js +5 -1
  136. package/dist/m365/spo/commands/file/file-move.js +5 -1
  137. package/dist/m365/spo/commands/file/file-remove.js +5 -1
  138. package/dist/m365/spo/commands/file/file-rename.js +5 -1
  139. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +4 -1
  140. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +5 -1
  141. package/dist/m365/spo/commands/file/file-roleassignment-add.js +4 -1
  142. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +5 -1
  143. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +5 -1
  144. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +5 -1
  145. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +6 -3
  146. package/dist/m365/spo/commands/file/file-sharinglink-add.js +4 -1
  147. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +5 -1
  148. package/dist/m365/spo/commands/file/file-sharinglink-get.js +4 -1
  149. package/dist/m365/spo/commands/file/file-sharinglink-list.js +4 -1
  150. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +5 -1
  151. package/dist/m365/spo/commands/file/file-sharinglink-set.js +4 -1
  152. package/dist/m365/spo/commands/file/file-version-clear.js +6 -2
  153. package/dist/m365/spo/commands/file/file-version-get.js +1 -1
  154. package/dist/m365/spo/commands/file/file-version-list.js +4 -1
  155. package/dist/m365/spo/commands/file/file-version-remove.js +2 -1
  156. package/dist/m365/spo/commands/file/file-version-restore.js +2 -1
  157. package/dist/m365/spo/commands/folder/folder-add.js +4 -1
  158. package/dist/m365/spo/commands/folder/folder-copy.js +5 -1
  159. package/dist/m365/spo/commands/folder/folder-get.js +4 -1
  160. package/dist/m365/spo/commands/folder/folder-list.js +6 -2
  161. package/dist/m365/spo/commands/folder/folder-move.js +5 -1
  162. package/dist/m365/spo/commands/folder/folder-remove.js +5 -1
  163. package/dist/m365/spo/commands/folder/folder-rename.js +4 -1
  164. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +4 -1
  165. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +5 -1
  166. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +4 -1
  167. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -2
  168. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +5 -1
  169. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +5 -1
  170. package/dist/m365/spo/commands/group/group-member-add.js +25 -8
  171. package/dist/m365/spo/commands/group/group-member-remove.js +29 -12
  172. package/dist/m365/spo/commands/group/group-set.js +2 -2
  173. package/dist/m365/spo/commands/site/site-remove.js +2 -2
  174. package/dist/m365/spo/commands/site/site-set.js +2 -2
  175. package/dist/m365/spo/commands/user/user-ensure.js +17 -7
  176. package/dist/m365/teams/commands/app/app-install.js +2 -2
  177. package/dist/m365/teams/commands/channel/channel-get.js +2 -2
  178. package/dist/m365/teams/commands/channel/channel-list.js +2 -2
  179. package/dist/m365/teams/commands/channel/channel-member-add.js +2 -2
  180. package/dist/m365/teams/commands/channel/channel-member-list.js +2 -2
  181. package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -2
  182. package/dist/m365/teams/commands/channel/channel-member-set.js +2 -2
  183. package/dist/m365/teams/commands/channel/channel-remove.js +2 -2
  184. package/dist/m365/teams/commands/channel/channel-set.js +2 -2
  185. package/dist/m365/teams/commands/meeting/meeting-add.js +2 -2
  186. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +2 -2
  187. package/dist/m365/teams/commands/meeting/meeting-get.js +3 -3
  188. package/dist/m365/teams/commands/meeting/meeting-list.js +2 -2
  189. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +2 -2
  190. package/dist/m365/teams/commands/tab/tab-get.js +2 -2
  191. package/dist/m365/teams/commands/team/team-add.js +6 -6
  192. package/dist/m365/teams/commands/team/team-archive.js +2 -2
  193. package/dist/m365/teams/commands/team/team-get.js +2 -2
  194. package/dist/m365/teams/commands/team/team-remove.js +2 -2
  195. package/dist/m365/teams/commands/team/team-unarchive.js +2 -2
  196. package/dist/m365/teams/commands/user/user-app-add.js +35 -3
  197. package/dist/request.js +16 -0
  198. package/dist/utils/{aadAdministrativeUnit.js → entraAdministrativeUnit.js} +2 -2
  199. package/dist/utils/{aadDevice.js → entraDevice.js} +2 -2
  200. package/dist/utils/{aadGroup.js → entraGroup.js} +2 -2
  201. package/dist/utils/{aadUser.js → entraUser.js} +38 -2
  202. package/dist/utils/md.js +2 -2
  203. package/dist/utils/roleAssignment.js +42 -0
  204. package/dist/utils/roleDefinition.js +24 -0
  205. package/dist/utils/spo.js +2 -2
  206. package/dist/utils/validation.js +4 -0
  207. package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
  208. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-add.mdx +10 -4
  209. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-get.mdx +9 -3
  210. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-list.mdx +9 -3
  211. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-add.mdx +13 -7
  212. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-get.mdx +9 -3
  213. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-list.mdx +16 -10
  214. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-remove.mdx +9 -3
  215. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +116 -0
  216. package/docs/docs/cmd/{aad → entra}/app/app-add.mdx +44 -38
  217. package/docs/docs/cmd/{aad → entra}/app/app-get.mdx +23 -17
  218. package/docs/docs/cmd/{aad → entra}/app/app-list.mdx +11 -5
  219. package/docs/docs/cmd/entra/app/app-permission-add.mdx +68 -0
  220. package/docs/docs/cmd/entra/app/app-remove.mdx +65 -0
  221. package/docs/docs/cmd/entra/app/app-role-add.mdx +74 -0
  222. package/docs/docs/cmd/{aad → entra}/app/app-role-list.mdx +20 -14
  223. package/docs/docs/cmd/entra/app/app-role-remove.mdx +84 -0
  224. package/docs/docs/cmd/entra/app/app-set.mdx +103 -0
  225. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-add.mdx +14 -8
  226. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-list.mdx +12 -6
  227. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-remove.mdx +13 -7
  228. package/docs/docs/cmd/{aad → entra}/group/group-get.mdx +15 -9
  229. package/docs/docs/cmd/{aad → entra}/group/group-list.mdx +13 -7
  230. package/docs/docs/cmd/entra/group/group-remove.mdx +50 -0
  231. package/docs/docs/cmd/entra/group/group-user-add.mdx +62 -0
  232. package/docs/docs/cmd/{aad → entra}/group/group-user-list.mdx +17 -11
  233. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-add.mdx +11 -5
  234. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-get.mdx +9 -3
  235. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-list.mdx +10 -4
  236. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-remove.mdx +9 -3
  237. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-set.mdx +10 -4
  238. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-get.mdx +11 -5
  239. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-list.mdx +10 -4
  240. package/docs/docs/cmd/{aad → entra}/license/license-list.mdx +9 -3
  241. package/docs/docs/cmd/{aad → entra}/m365group/m365group-add.mdx +17 -11
  242. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-list.mdx +9 -3
  243. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-post-list.mdx +10 -4
  244. package/docs/docs/cmd/{aad → entra}/m365group/m365group-get.mdx +10 -4
  245. package/docs/docs/cmd/{aad → entra}/m365group/m365group-list.mdx +13 -7
  246. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-clear.mdx +9 -3
  247. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-list.mdx +12 -6
  248. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-remove.mdx +10 -4
  249. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-restore.mdx +10 -4
  250. package/docs/docs/cmd/{aad → entra}/m365group/m365group-remove.mdx +10 -4
  251. package/docs/docs/cmd/{aad → entra}/m365group/m365group-renew.mdx +8 -2
  252. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitycounts.mdx +10 -4
  253. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitydetail.mdx +11 -5
  254. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activityfilecounts.mdx +10 -4
  255. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitygroupcounts.mdx +10 -4
  256. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitystorage.mdx +10 -4
  257. package/docs/docs/cmd/{aad → entra}/m365group/m365group-set.mdx +12 -6
  258. package/docs/docs/cmd/{aad → entra}/m365group/m365group-teamify.mdx +9 -3
  259. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-add.mdx +9 -3
  260. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +131 -0
  261. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-remove.mdx +9 -5
  262. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-set.mdx +10 -6
  263. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-add.mdx +15 -9
  264. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-list.mdx +11 -5
  265. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-remove.mdx +13 -7
  266. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-set.mdx +12 -6
  267. package/docs/docs/cmd/{aad → entra}/policy/policy-list.mdx +14 -8
  268. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-disable.mdx +9 -3
  269. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-enable.mdx +10 -4
  270. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-get.mdx +9 -3
  271. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-set.mdx +11 -5
  272. package/docs/docs/cmd/{aad → entra}/sp/sp-add.mdx +25 -19
  273. package/docs/docs/cmd/{aad → entra}/sp/sp-get.mdx +12 -6
  274. package/docs/docs/cmd/{aad → entra}/sp/sp-list.mdx +10 -4
  275. package/docs/docs/cmd/{aad → entra}/user/user-add.mdx +12 -6
  276. package/docs/docs/cmd/{aad → entra}/user/user-get.mdx +16 -10
  277. package/docs/docs/cmd/{aad → entra}/user/user-guest-add.mdx +11 -5
  278. package/docs/docs/cmd/{aad → entra}/user/user-hibp.mdx +10 -4
  279. package/docs/docs/cmd/{aad → entra}/user/user-license-add.mdx +10 -4
  280. package/docs/docs/cmd/{aad → entra}/user/user-license-list.mdx +11 -5
  281. package/docs/docs/cmd/{aad → entra}/user/user-license-remove.mdx +9 -3
  282. package/docs/docs/cmd/{aad → entra}/user/user-list.mdx +12 -6
  283. package/docs/docs/cmd/{aad → entra}/user/user-password-validate.mdx +9 -3
  284. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-clear.mdx +9 -3
  285. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-list.mdx +9 -3
  286. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-remove.mdx +9 -3
  287. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-restore.mdx +8 -2
  288. package/docs/docs/cmd/{aad → entra}/user/user-remove.mdx +9 -3
  289. package/docs/docs/cmd/{aad → entra}/user/user-set.mdx +15 -9
  290. package/docs/docs/cmd/{aad → entra}/user/user-signin-list.mdx +19 -13
  291. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +47 -0
  292. package/docs/docs/cmd/flow/run/run-get.mdx +167 -4
  293. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
  294. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  295. package/docs/docs/cmd/pa/app/app-get.mdx +15 -0
  296. package/docs/docs/cmd/pa/app/app-remove.mdx +14 -0
  297. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  298. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
  299. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
  300. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
  301. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
  302. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  303. package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
  304. package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
  305. package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
  306. package/docs/docs/cmd/spo/group/group-member-add.mdx +19 -7
  307. package/docs/docs/cmd/spo/group/group-member-remove.mdx +12 -6
  308. package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
  309. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
  310. package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +1 -1
  311. package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
  312. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
  313. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
  314. package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
  315. package/docs/docs/cmd/spo/page/page-set.mdx +2 -2
  316. package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
  317. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  318. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
  319. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  320. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  321. package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
  322. package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
  323. package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
  324. package/docs/docs/cmd/spo/user/user-ensure.mdx +8 -5
  325. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  326. package/docs/docs/cmd/teams/user/user-app-add.mdx +8 -5
  327. package/npm-shrinkwrap.json +298 -542
  328. package/package.json +21 -21
  329. package/dist/m365/aad/commands/m365group/m365group-user-list.js +0 -94
  330. package/docs/docs/cmd/aad/app/app-permission-add.mdx +0 -62
  331. package/docs/docs/cmd/aad/app/app-remove.mdx +0 -59
  332. package/docs/docs/cmd/aad/app/app-role-add.mdx +0 -68
  333. package/docs/docs/cmd/aad/app/app-role-remove.mdx +0 -78
  334. package/docs/docs/cmd/aad/app/app-set.mdx +0 -97
  335. package/docs/docs/cmd/aad/group/group-remove.mdx +0 -44
  336. package/docs/docs/cmd/aad/m365group/m365group-user-list.mdx +0 -99
  337. /package/dist/m365/{aad → entra}/commands/approleassignment/ServicePrincipal.js +0 -0
  338. /package/dist/m365/{aad → entra}/commands/m365group/GroupExtended.js +0 -0
  339. /package/dist/m365/{aad → entra}/commands/siteclassification/SiteClassificationSettings.js +0 -0
@@ -2,12 +2,18 @@ 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 m365group report activitydetail
5
+ # entra m365group report activitydetail
6
6
 
7
7
  Get details about Microsoft 365 Groups activity by group.
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra m365group report activitydetail [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad m365group report activitydetail [options]
13
19
  ```
@@ -32,25 +38,25 @@ m365 aad m365group report activitydetail [options]
32
38
  Get details about Microsoft 365 Groups activity by group for the last week
33
39
 
34
40
  ```sh
35
- m365 aad m365group report activitydetail --period D7
41
+ m365 entra m365group report activitydetail --period D7
36
42
  ```
37
43
 
38
44
  Get details about Microsoft 365 Groups activity by group for September 09, 2019
39
45
 
40
46
  ```sh
41
- m365 aad m365group report activitydetail --date 2019-09-28
47
+ m365 entra m365group report activitydetail --date 2019-09-28
42
48
  ```
43
49
 
44
50
  Get details about Microsoft 365 Groups activity by group for the last week and exports the report data in the specified path in text format
45
51
 
46
52
  ```sh
47
- m365 aad m365group report activitydetail --period D7 --output text > "m365groupactivitydetail.txt"
53
+ m365 entra m365group report activitydetail --period D7 --output text > "m365groupactivitydetail.txt"
48
54
  ```
49
55
 
50
56
  Get details about Microsoft 365 Groups activity by group for the last week and exports the report data in the specified path in json format
51
57
 
52
58
  ```sh
53
- m365 aad m365group report activitydetail --period D7 --output json > "m365groupactivitydetail.json"
59
+ m365 entra m365group report activitydetail --period D7 --output json > "m365groupactivitydetail.json"
54
60
  ```
55
61
 
56
62
  ## Response
@@ -2,12 +2,18 @@ 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 m365group report activityfilecounts
5
+ # entra m365group report activityfilecounts
6
6
 
7
7
  Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra m365group report activityfilecounts [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad m365group report activityfilecounts [options]
13
19
  ```
@@ -29,19 +35,19 @@ m365 aad m365group report activityfilecounts [options]
29
35
  Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group for the last week
30
36
 
31
37
  ```sh
32
- m365 aad m365group report activityfilecounts --period D7
38
+ m365 entra m365group report activityfilecounts --period D7
33
39
  ```
34
40
 
35
41
  Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group for the last week and exports the report data in the specified path in text format
36
42
 
37
43
  ```sh
38
- m365 aad m365group report activityfilecounts --period D7 --output text > "m365groupactivityfilecounts.txt"
44
+ m365 entra m365group report activityfilecounts --period D7 --output text > "m365groupactivityfilecounts.txt"
39
45
  ```
40
46
 
41
47
  Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group for the last week and exports the report data in the specified path in json format
42
48
 
43
49
  ```sh
44
- m365 aad m365group report activityfilecounts --period D7 --output json > "m365groupactivityfilecounts.json"
50
+ m365 entra m365group report activityfilecounts --period D7 --output json > "m365groupactivityfilecounts.json"
45
51
  ```
46
52
 
47
53
  ## Response
@@ -2,12 +2,18 @@ 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 m365group report activitygroupcounts
5
+ # entra m365group report activitygroupcounts
6
6
 
7
7
  Get the daily total number of groups and how many of them were active based on email conversations, Yammer posts, and SharePoint file activities.
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra m365group report activitygroupcounts [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad m365group report activitygroupcounts [options]
13
19
  ```
@@ -29,19 +35,19 @@ m365 aad m365group report activitygroupcounts [options]
29
35
  Get the daily total number of groups and how many of them were active based on activities for the last week
30
36
 
31
37
  ```sh
32
- m365 aad m365group report activitygroupcounts --period D7
38
+ m365 entra m365group report activitygroupcounts --period D7
33
39
  ```
34
40
 
35
41
  Get the daily total number of groups and how many of them were active based on activities for the last week and exports the report data in the specified path in text format
36
42
 
37
43
  ```sh
38
- m365 aad m365group report activitygroupcounts --period D7 --output text > "m365groupactivitygroupcounts.txt"
44
+ m365 entra m365group report activitygroupcounts --period D7 --output text > "m365groupactivitygroupcounts.txt"
39
45
  ```
40
46
 
41
47
  Get the daily total number of groups and how many of them were active based on activities for the last week and exports the report data in the specified path in json format
42
48
 
43
49
  ```sh
44
- m365 aad m365group report activitygroupcounts --period D7 --output json > "m365groupactivitygroupcounts.json"
50
+ m365 entra m365group report activitygroupcounts --period D7 --output json > "m365groupactivitygroupcounts.json"
45
51
  ```
46
52
 
47
53
  ## Response
@@ -2,12 +2,18 @@ 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 m365group report activitystorage
5
+ # entra m365group report activitystorage
6
6
 
7
7
  Get the total storage used across all group mailboxes and group sites
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra m365group report activitystorage [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad m365group report activitystorage [options]
13
19
  ```
@@ -29,19 +35,19 @@ m365 aad m365group report activitystorage [options]
29
35
  Get the total storage used across all group mailboxes and group sites for the last week
30
36
 
31
37
  ```sh
32
- m365 aad m365group report activitystorage --period D7
38
+ m365 entra m365group report activitystorage --period D7
33
39
  ```
34
40
 
35
41
  Get the total storage used across all group mailboxes and group sites for the last week and exports the report data in the specified path in text format
36
42
 
37
43
  ```sh
38
- m365 aad m365group report activitystorage --period D7 --output text > "m365groupactivitystorage.txt"
44
+ m365 entra m365group report activitystorage --period D7 --output text > "m365groupactivitystorage.txt"
39
45
  ```
40
46
 
41
47
  Get the total storage used across all group mailboxes and group sites for the last week and exports the report data in the specified path in json format
42
48
 
43
49
  ```sh
44
- m365 aad m365group report activitystorage --period D7 --output json > "m365groupactivitystorage.json"
50
+ m365 entra m365group report activitystorage --period D7 --output json > "m365groupactivitystorage.json"
45
51
  ```
46
52
 
47
53
  ## Response
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad m365group set
3
+ # entra m365group set
4
4
 
5
5
  Updates Microsoft 365 Group properties
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra m365group set [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad m365group set [options]
11
17
  ```
@@ -48,31 +54,31 @@ When specifying the path to the logo image you can use both relative and absolut
48
54
  Update Microsoft 365 Group display name
49
55
 
50
56
  ```sh
51
- m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --displayName Finance
57
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --displayName Finance
52
58
  ```
53
59
 
54
60
  Change Microsoft 365 Group visibility to public
55
61
 
56
62
  ```sh
57
- m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --isPrivate false
63
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --isPrivate false
58
64
  ```
59
65
 
60
66
  Add new Microsoft 365 Group owners
61
67
 
62
68
  ```sh
63
- m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
69
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --owners "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
64
70
  ```
65
71
 
66
72
  Add new Microsoft 365 Group members
67
73
 
68
74
  ```sh
69
- m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
75
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --members "DebraB@contoso.onmicrosoft.com,DiegoS@contoso.onmicrosoft.com"
70
76
  ```
71
77
 
72
78
  Update Microsoft 365 Group logo
73
79
 
74
80
  ```sh
75
- m365 aad m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --logoPath images/logo.png
81
+ m365 entra m365group set --id 28beab62-7540-4db1-a23f-29a6018a3848 --logoPath images/logo.png
76
82
  ```
77
83
 
78
84
  ## Response
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad m365group teamify
3
+ # entra m365group teamify
4
4
 
5
5
  Creates a new Microsoft Teams team under existing Microsoft 365 group
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra m365group teamify [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad m365group teamify [options]
11
17
  ```
@@ -27,13 +33,13 @@ m365 aad m365group teamify [options]
27
33
  Creates a new Microsoft Teams team under existing Microsoft 365 group with id _e3f60f99-0bad-481f-9e9f-ff0f572fbd03_
28
34
 
29
35
  ```sh
30
- m365 aad m365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03
36
+ m365 entra m365group teamify --id e3f60f99-0bad-481f-9e9f-ff0f572fbd03
31
37
  ```
32
38
 
33
39
  Creates a new Microsoft Teams team under existing Microsoft 365 group with mailNickname _GroupName_
34
40
 
35
41
  ```sh
36
- m365 aad m365group teamify --mailNickname GroupName
42
+ m365 entra m365group teamify --mailNickname GroupName
37
43
  ```
38
44
 
39
45
  ## Response
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad m365group user add
3
+ # entra m365group user add
4
4
 
5
5
  Adds user to specified Microsoft 365 Group or Microsoft Teams team
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra m365group user add [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad m365group user add [options]
11
17
  ```
@@ -39,13 +45,13 @@ m365 teams user add
39
45
  Add a new member to the specified Microsoft 365 Group
40
46
 
41
47
  ```sh
42
- m365 aad m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
48
+ m365 entra m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
43
49
  ```
44
50
 
45
51
  Add a new owner to the specified Microsoft 365 Group
46
52
 
47
53
  ```sh
48
- m365 aad m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
54
+ m365 entra m365group user add --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
49
55
  ```
50
56
 
51
57
  Add a new member to the specified Microsoft Teams team
@@ -0,0 +1,131 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # entra m365group user list
6
+
7
+ Lists users for the specified Microsoft 365 group
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 entra m365group user list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
17
+ ```sh
18
+ m365 aad m365group user list [options]
19
+ ```
20
+
21
+ ## Options
22
+
23
+ ```md definition-list
24
+ `-i, --groupId [groupId]`
25
+ : The ID of the Microsoft 365 group. Specify `groupId` or `groupDisplayName` but not both.
26
+
27
+ `-n, --groupDisplayName [groupDisplayName]`
28
+ : The display name of the Microsoft 365 group. Specify `groupId` or `groupDisplayName` but not both.
29
+
30
+ `-r, --role [role]`
31
+ : Filter the results to only users with the given role. Allowed values: `Owner`, `Member`, or (Deprecated) `Guest`.
32
+
33
+ `-p, --properties [properties]`
34
+ : Comma-separated list of properties to retrieve.
35
+
36
+ `-f, --filter [filter]`
37
+ : OData filter to use to query the list of users with.
38
+ ```
39
+
40
+ <Global />
41
+
42
+ ## Remarks
43
+
44
+ When the `properties` option includes values with a `/`, for example: `manager/displayName`, an additional `$expand` query parameter will be included on `manager`.
45
+
46
+ ## Examples
47
+
48
+ List all users and their role from Microsoft 365 group specified by ID.
49
+
50
+ ```sh
51
+ m365 entra m365group user list --groupId '00000000-0000-0000-0000-000000000000'
52
+ ```
53
+
54
+ List all owners from Microsoft 365 group specified by display name.
55
+
56
+ ```sh
57
+ m365 entra m365group user list --groupDisplayName Developers --role Owner
58
+ ```
59
+
60
+ List specific properties for all group users from a group specified by ID.
61
+
62
+ ```sh
63
+ m365 entra m365group user list --groupId 03cba9da-3974-46c1-afaf-79caa2e45bbe --properties "id,jobTitle,companyName,accountEnabled"
64
+ ```
65
+
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
+ ## Response
73
+
74
+ <Tabs>
75
+ <TabItem value="JSON">
76
+
77
+ ```json
78
+ [
79
+ {
80
+ "id": "da52218e-4822-4ac6-b41d-255e2059655e",
81
+ "displayName": "Adele Vance",
82
+ "userPrincipalName": "AdeleV@contoso.OnMicrosoft.com",
83
+ "givenName": "Adele",
84
+ "surname": "Vance",
85
+ "roles": [
86
+ "Owner",
87
+ "Member"
88
+ ]
89
+ }
90
+ ]
91
+ ```
92
+
93
+ </TabItem>
94
+ <TabItem value="Text">
95
+
96
+ ```text
97
+ id displayName userPrincipalName userType roles
98
+ ------------------------------------ -------------------- ------------------------------------ -------- --------
99
+ da52218e-4822-4ac6-b41d-255e2059655e Adele Vance AdeleV@contoso.OnMicrosoft.com Owner,Member Owner,Member
100
+ ```
101
+
102
+ </TabItem>
103
+ <TabItem value="CSV">
104
+
105
+ ```csv
106
+ id,displayName,userPrincipalName,givenName,surname,userType
107
+ da52218e-4822-4ac6-b41d-255e2059655e,Adele Vance,AdeleV@contoso.OnMicrosoft.com,Adele,Vance,Member
108
+ ```
109
+
110
+ </TabItem>
111
+ <TabItem value="Markdown">
112
+
113
+ ```md
114
+ # entra m365group user list --groupId "1deaa428-8dde-4043-b028-5492226d6114"
115
+
116
+ Date: 2023-06-02
117
+
118
+ ## Adele Vance (da52218e-4822-4ac6-b41d-255e2059655e)
119
+
120
+ Property | Value
121
+ ---------|-------
122
+ id | da52218e-4822-4ac6-b41d-255e2059655e
123
+ displayName | Adele Vance
124
+ givenName | Adele
125
+ surname | Vance
126
+ userPrincipalName | AdeleV@contoso.OnMicrosoft.com
127
+ userType | Member
128
+ ```
129
+
130
+ </TabItem>
131
+ </Tabs>
@@ -1,17 +1,21 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad m365group user remove
3
+ # entra m365group user remove
4
4
 
5
5
  Removes the specified user from specified Microsoft 365 Group or Microsoft Teams team
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad m365group user remove [options]
10
+ m365 entra m365group user remove [options]
11
11
  ```
12
12
 
13
13
  ## Alias
14
14
 
15
+ ```sh
16
+ m365 aad m365group user remove [options]
17
+ ```
18
+
15
19
  ```sh
16
20
  m365 aad teams user remove
17
21
  ```
@@ -43,19 +47,19 @@ You can remove users from a Microsoft 365 Group or Microsoft Teams team if you a
43
47
  Removes user from the specified Microsoft 365 Group
44
48
 
45
49
  ```sh
46
- m365 aad m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
50
+ m365 entra m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
47
51
  ```
48
52
 
49
53
  Removes user from the specified Microsoft 365 Group without confirmation
50
54
 
51
55
  ```sh
52
- m365 aad m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --force
56
+ m365 entra m365group user remove --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --force
53
57
  ```
54
58
 
55
59
  Removes user from the specified Microsoft Teams team
56
60
 
57
61
  ```sh
58
- m365 aad teams user remove --teamId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
62
+ m365 entra teams user remove --teamId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com'
59
63
  ```
60
64
 
61
65
  ## Response
@@ -1,17 +1,21 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad m365group user set
3
+ # entra m365group user set
4
4
 
5
5
  Updates role of the specified user in the specified Microsoft 365 Group or Microsoft Teams team
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 aad m365group user set [options]
10
+ m365 entra m365group user set [options]
11
11
  ```
12
12
 
13
13
  ## Alias
14
14
 
15
+ ```sh
16
+ m365 aad m365group user set [options]
17
+ ```
18
+
15
19
  ```sh
16
20
  m365 aad teams user set
17
21
  ```
@@ -43,25 +47,25 @@ The command will return an error if the user already has the specified role in t
43
47
  Promote the specified user to owner of the given Microsoft 365 Group
44
48
 
45
49
  ```sh
46
- m365 aad m365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
50
+ m365 entra m365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
47
51
  ```
48
52
 
49
53
  Demote the specified user from owner to member in the given Microsoft 365 Group
50
54
 
51
55
  ```sh
52
- m365 aad m365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Member
56
+ m365 entra m365group user set --groupId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Member
53
57
  ```
54
58
 
55
59
  Promote the specified user to owner of the given Microsoft Teams team
56
60
 
57
61
  ```sh
58
- m365 aad teams user set --teamId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
62
+ m365 entra teams user set --teamId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Owner
59
63
  ```
60
64
 
61
65
  Demote the specified user from owner to member in the given Microsoft Teams team
62
66
 
63
67
  ```sh
64
- m365 aad teams user set --teamId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Member
68
+ m365 entra teams user set --teamId '00000000-0000-0000-0000-000000000000' --userName 'anne.matthews@contoso.onmicrosoft.com' --role Member
65
69
  ```
66
70
 
67
71
  ## Response
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad oauth2grant add
3
+ # entra oauth2grant add
4
4
 
5
5
  Grant the specified service principal OAuth2 permissions to the specified resource
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra oauth2grant add [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad oauth2grant add [options]
11
17
  ```
@@ -17,7 +23,7 @@ m365 aad oauth2grant add [options]
17
23
  : `objectId` of the service principal for which permissions should be granted
18
24
 
19
25
  `-r, --resourceId <resourceId>`
20
- : `objectId` of the AAD application to which permissions should be granted
26
+ : `objectId` of the Entra application to which permissions should be granted
21
27
 
22
28
  `-s, --scope <scope>`
23
29
  : Permissions to grant
@@ -27,26 +33,26 @@ m365 aad oauth2grant add [options]
27
33
 
28
34
  ## Remarks
29
35
 
30
- Before you can grant service principal OAuth2 permissions, you need its `objectId`. You can retrieve it using the [aad sp get](../sp/sp-get.mdx) command.
36
+ Before you can grant service principal OAuth2 permissions, you need its `objectId`. You can retrieve it using the [entra sp get](../sp/sp-get.mdx) command.
31
37
 
32
- The resource for which you want to grant permissions is designated using its `objectId`. You can retrieve it using the [aad sp get](../sp/sp-get.mdx) command, the same way you would retrieve the `objectId` of the service principal.
38
+ The resource for which you want to grant permissions is designated using its `objectId`. You can retrieve it using the [entra sp get](../sp/sp-get.mdx) command, the same way you would retrieve the `objectId` of the service principal.
33
39
 
34
- When granting OAuth2 permissions, you have to specify which permission scopes you want to grant the service principal. You can get the list of available permission scopes either from the resource documentation or from the `appRoles` property when retrieving information about the service principal using the [aad sp get](../sp/sp-get.mdx) command. Multiple permission scopes can be specified separated by a space.
40
+ When granting OAuth2 permissions, you have to specify which permission scopes you want to grant the service principal. You can get the list of available permission scopes either from the resource documentation or from the `appRoles` property when retrieving information about the service principal using the [entra sp get](../sp/sp-get.mdx) command. Multiple permission scopes can be specified separated by a space.
35
41
 
36
- When granting OAuth2 permissions, the values of the `clientId` and `resourceId` properties form a unique key. If a grant for the same `clientId`-`resourceId` pair already exists, running the `aad oauth2grant add` command will fail with an error. If you want to change permissions on an existing OAuth2 grant use the [aad oauth2grant set](./oauth2grant-set.mdx) command instead.
42
+ When granting OAuth2 permissions, the values of the `clientId` and `resourceId` properties form a unique key. If a grant for the same `clientId`-`resourceId` pair already exists, running the `entra oauth2grant add` command will fail with an error. If you want to change permissions on an existing OAuth2 grant use the [entra oauth2grant set](./oauth2grant-set.mdx) command instead.
37
43
 
38
44
  ## Examples
39
45
 
40
46
  Grant the service principal _d03a0062-1aa6-43e1-8f49-d73e969c5812_ the _Calendars.Read_ OAuth2 permissions to the _c2af2474-2c95-423a-b0e5-e4895f22f9e9_ resource.
41
47
 
42
48
  ```sh
43
- m365 aad oauth2grant add --clientId d03a0062-1aa6-43e1-8f49-d73e969c5812 --resourceId c2af2474-2c95-423a-b0e5-e4895f22f9e9 --scope Calendars.Read
49
+ m365 entra oauth2grant add --clientId d03a0062-1aa6-43e1-8f49-d73e969c5812 --resourceId c2af2474-2c95-423a-b0e5-e4895f22f9e9 --scope Calendars.Read
44
50
  ```
45
51
 
46
52
  Grant the service principal _d03a0062-1aa6-43e1-8f49-d73e969c5812_ the _Calendars.Read_ and _Mail.Read_ OAuth2 permissions to the _c2af2474-2c95-423a-b0e5-e4895f22f9e9_ resource.
47
53
 
48
54
  ```sh
49
- m365 aad oauth2grant add --clientId d03a0062-1aa6-43e1-8f49-d73e969c5812 --resourceId c2af2474-2c95-423a-b0e5-e4895f22f9e9 --scope "Calendars.Read Mail.Read"
55
+ m365 entra oauth2grant add --clientId d03a0062-1aa6-43e1-8f49-d73e969c5812 --resourceId c2af2474-2c95-423a-b0e5-e4895f22f9e9 --scope "Calendars.Read Mail.Read"
50
56
  ```
51
57
 
52
58
  ## Response
@@ -55,4 +61,4 @@ The command won't return a response on success.
55
61
 
56
62
  ## More information
57
63
 
58
- - Application and service principal objects in Azure Active Directory (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
64
+ - Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
@@ -2,12 +2,18 @@ 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 oauth2grant list
5
+ # entra oauth2grant list
6
6
 
7
7
  Lists OAuth2 permission grants for the specified service principal
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra oauth2grant list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad oauth2grant list [options]
13
19
  ```
@@ -23,7 +29,7 @@ m365 aad oauth2grant list [options]
23
29
 
24
30
  ## Remarks
25
31
 
26
- In order to list existing OAuth2 permissions granted to a service principal, you need its `objectId`. You can retrieve it using the [aad sp get](../sp/sp-get.mdx) command.
32
+ In order to list existing OAuth2 permissions granted to a service principal, you need its `objectId`. You can retrieve it using the [entra sp get](../sp/sp-get.mdx) command.
27
33
 
28
34
  When using the text output type (default), the command lists only the values of the `objectId`, `resourceId` and `scope` properties of the OAuth grant. When setting the output type to JSON, all available properties are included in the command output.
29
35
 
@@ -32,7 +38,7 @@ When using the text output type (default), the command lists only the values of
32
38
  List OAuth2 permissions granted to service principal with `objectId` _b2307a39-e878-458b-bc90-03bc578531d6_.
33
39
 
34
40
  ```sh
35
- m365 aad oauth2grant list --spObjectId b2307a39-e878-458b-bc90-03bc578531d6
41
+ m365 entra oauth2grant list --spObjectId b2307a39-e878-458b-bc90-03bc578531d6
36
42
  ```
37
43
 
38
44
  ## Response
@@ -74,7 +80,7 @@ m365 aad oauth2grant list --spObjectId b2307a39-e878-458b-bc90-03bc578531d6
74
80
  <TabItem value="Markdown">
75
81
 
76
82
  ```md
77
- # aad oauth2grant list --spObjectId "283f45c9-6b6f-4d15-a7b8-da2c2f3f6e67"
83
+ # entra oauth2grant list --spObjectId "283f45c9-6b6f-4d15-a7b8-da2c2f3f6e67"
78
84
 
79
85
  Date: 2023-06-02
80
86
 
@@ -94,5 +100,5 @@ m365 aad oauth2grant list --spObjectId b2307a39-e878-458b-bc90-03bc578531d6
94
100
 
95
101
  ## More information
96
102
 
97
- - Application and service principal objects in Azure Active Directory (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
103
+ - Application and service principal objects in Entra ID (Azure AD): [https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects](https://learn.microsoft.com/azure/active-directory/develop/active-directory-application-objects)
98
104
  - List oauth2PermissionGrants: [https://learn.microsoft.com/graph/api/oauth2permissiongrant-list?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/oauth2permissiongrant-list?view=graph-rest-1.0)