@pnp/cli-microsoft365 7.4.0-beta.fce7b64 → 7.5.0-beta.0ae7da4

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 (348) 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} +3 -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/entra/commands/app/app-permission-list.js +182 -0
  26. package/dist/m365/{aad → entra}/commands/app/app-remove.js +17 -13
  27. package/dist/m365/{aad → entra}/commands/app/app-role-add.js +18 -14
  28. package/dist/m365/{aad → entra}/commands/app/app-role-list.js +15 -11
  29. package/dist/m365/{aad → entra}/commands/app/app-role-remove.js +17 -13
  30. package/dist/m365/{aad → entra}/commands/app/app-set.js +18 -14
  31. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-add.js +17 -13
  32. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-list.js +16 -12
  33. package/dist/m365/{aad → entra}/commands/approleassignment/approleassignment-remove.js +17 -13
  34. package/dist/m365/entra/commands/group/group-add.js +224 -0
  35. package/dist/m365/{aad → entra}/commands/group/group-get.js +20 -16
  36. package/dist/m365/{aad → entra}/commands/group/group-list.js +16 -12
  37. package/dist/m365/{aad → entra}/commands/group/group-remove.js +21 -17
  38. package/dist/m365/entra/commands/group/group-user-add.js +145 -0
  39. package/dist/m365/{aad → entra}/commands/group/group-user-list.js +19 -15
  40. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-add.js +12 -8
  41. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-get.js +12 -8
  42. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-list.js +7 -3
  43. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-remove.js +14 -10
  44. package/dist/m365/{aad → entra}/commands/groupsetting/groupsetting-set.js +12 -8
  45. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-get.js +17 -13
  46. package/dist/m365/{aad → entra}/commands/groupsettingtemplate/groupsettingtemplate-list.js +7 -3
  47. package/dist/m365/{aad → entra}/commands/license/license-list.js +6 -2
  48. package/dist/m365/{aad → entra}/commands/m365group/m365group-add.js +19 -15
  49. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-list.js +14 -10
  50. package/dist/m365/{aad → entra}/commands/m365group/m365group-conversation-post-list.js +19 -15
  51. package/dist/m365/{aad → entra}/commands/m365group/m365group-get.js +15 -11
  52. package/dist/m365/{aad → entra}/commands/m365group/m365group-list.js +12 -8
  53. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-clear.js +12 -8
  54. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-list.js +12 -8
  55. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-remove.js +16 -12
  56. package/dist/m365/{aad → entra}/commands/m365group/m365group-recyclebinitem-restore.js +16 -12
  57. package/dist/m365/{aad → entra}/commands/m365group/m365group-remove.js +19 -15
  58. package/dist/m365/{aad → entra}/commands/m365group/m365group-renew.js +14 -10
  59. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitycounts.js +4 -0
  60. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitydetail.js +4 -0
  61. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activityfilecounts.js +4 -0
  62. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitygroupcounts.js +4 -0
  63. package/dist/m365/{aad → entra}/commands/m365group/m365group-report-activitystorage.js +4 -0
  64. package/dist/m365/{aad → entra}/commands/m365group/m365group-set.js +21 -17
  65. package/dist/m365/{aad → entra}/commands/m365group/m365group-teamify.js +18 -14
  66. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-add.js +16 -15
  67. package/dist/m365/entra/commands/m365group/m365group-user-list.js +154 -0
  68. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-remove.js +16 -15
  69. package/dist/m365/{aad → entra}/commands/m365group/m365group-user-set.js +16 -15
  70. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-add.js +12 -8
  71. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-list.js +12 -8
  72. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-remove.js +10 -6
  73. package/dist/m365/{aad → entra}/commands/oauth2grant/oauth2grant-set.js +10 -6
  74. package/dist/m365/{aad → entra}/commands/policy/policy-list.js +16 -12
  75. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-disable.js +12 -8
  76. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-enable.js +12 -8
  77. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-get.js +6 -2
  78. package/dist/m365/{aad → entra}/commands/siteclassification/siteclassification-set.js +14 -10
  79. package/dist/m365/{aad → entra}/commands/sp/sp-add.js +17 -13
  80. package/dist/m365/{aad → entra}/commands/sp/sp-get.js +16 -12
  81. package/dist/m365/{aad → entra}/commands/sp/sp-list.js +12 -8
  82. package/dist/m365/{aad → entra}/commands/user/user-add.js +18 -14
  83. package/dist/m365/entra/commands/user/user-get.js +115 -0
  84. package/dist/m365/{aad → entra}/commands/user/user-guest-add.js +12 -8
  85. package/dist/m365/{aad → entra}/commands/user/user-hibp.js +14 -10
  86. package/dist/m365/{aad → entra}/commands/user/user-license-add.js +16 -12
  87. package/dist/m365/{aad → entra}/commands/user/user-license-list.js +16 -12
  88. package/dist/m365/{aad → entra}/commands/user/user-license-remove.js +16 -12
  89. package/dist/m365/{aad → entra}/commands/user/user-list.js +12 -8
  90. package/dist/m365/{aad → entra}/commands/user/user-password-validate.js +10 -6
  91. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-clear.js +12 -8
  92. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-list.js +6 -2
  93. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-remove.js +14 -10
  94. package/dist/m365/{aad → entra}/commands/user/user-recyclebinitem-restore.js +12 -8
  95. package/dist/m365/{aad → entra}/commands/user/user-remove.js +16 -12
  96. package/dist/m365/{aad → entra}/commands/user/user-set.js +18 -14
  97. package/dist/m365/{aad → entra}/commands/user/user-signin-list.js +15 -11
  98. package/dist/m365/entra/commands.js +89 -0
  99. package/dist/m365/external/commands/connection/connection-doctor.js +2 -1
  100. package/dist/m365/external/commands/connection/connection-urltoitemresolver-add.js +69 -0
  101. package/dist/m365/external/commands.js +1 -0
  102. package/dist/m365/file/commands/file-copy.js +151 -0
  103. package/dist/m365/file/commands.js +1 -0
  104. package/dist/m365/flow/commands/owner/owner-ensure.js +4 -4
  105. package/dist/m365/flow/commands/owner/owner-remove.js +4 -4
  106. package/dist/m365/flow/commands/run/run-get.js +52 -13
  107. package/dist/m365/onenote/commands/notebook/notebook-list.js +2 -2
  108. package/dist/m365/onenote/commands/page/page-list.js +2 -2
  109. package/dist/m365/pa/commands/app/app-get.js +26 -11
  110. package/dist/m365/pa/commands/app/app-owner-set.js +2 -2
  111. package/dist/m365/pa/commands/app/app-permission-ensure.js +4 -4
  112. package/dist/m365/pa/commands/app/app-permission-remove.js +4 -4
  113. package/dist/m365/pa/commands/app/app-remove.js +19 -2
  114. package/dist/m365/planner/commands/bucket/bucket-add.js +2 -2
  115. package/dist/m365/planner/commands/bucket/bucket-get.js +2 -2
  116. package/dist/m365/planner/commands/bucket/bucket-list.js +2 -2
  117. package/dist/m365/planner/commands/bucket/bucket-remove.js +2 -2
  118. package/dist/m365/planner/commands/bucket/bucket-set.js +2 -2
  119. package/dist/m365/planner/commands/plan/plan-add.js +2 -2
  120. package/dist/m365/planner/commands/plan/plan-get.js +2 -2
  121. package/dist/m365/planner/commands/plan/plan-list.js +2 -2
  122. package/dist/m365/planner/commands/plan/plan-remove.js +2 -2
  123. package/dist/m365/planner/commands/plan/plan-set.js +2 -2
  124. package/dist/m365/planner/commands/roster/roster-member-add.js +2 -2
  125. package/dist/m365/planner/commands/roster/roster-member-get.js +2 -2
  126. package/dist/m365/planner/commands/roster/roster-member-remove.js +2 -2
  127. package/dist/m365/planner/commands/task/task-add.js +2 -2
  128. package/dist/m365/planner/commands/task/task-get.js +2 -2
  129. package/dist/m365/planner/commands/task/task-list.js +2 -2
  130. package/dist/m365/planner/commands/task/task-remove.js +2 -2
  131. package/dist/m365/planner/commands/task/task-set.js +2 -2
  132. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -1
  133. package/dist/m365/spo/commands/file/file-add.js +12 -8
  134. package/dist/m365/spo/commands/file/file-checkin.js +4 -1
  135. package/dist/m365/spo/commands/file/file-checkout-undo.js +5 -1
  136. package/dist/m365/spo/commands/file/file-checkout.js +4 -1
  137. package/dist/m365/spo/commands/file/file-copy.js +5 -1
  138. package/dist/m365/spo/commands/file/file-get.js +5 -1
  139. package/dist/m365/spo/commands/file/file-list.js +5 -1
  140. package/dist/m365/spo/commands/file/file-move.js +5 -1
  141. package/dist/m365/spo/commands/file/file-remove.js +5 -1
  142. package/dist/m365/spo/commands/file/file-rename.js +5 -1
  143. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +4 -1
  144. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +5 -1
  145. package/dist/m365/spo/commands/file/file-roleassignment-add.js +4 -1
  146. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +5 -1
  147. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +5 -1
  148. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +5 -1
  149. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +6 -3
  150. package/dist/m365/spo/commands/file/file-sharinglink-add.js +4 -1
  151. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +5 -1
  152. package/dist/m365/spo/commands/file/file-sharinglink-get.js +4 -1
  153. package/dist/m365/spo/commands/file/file-sharinglink-list.js +4 -1
  154. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +5 -1
  155. package/dist/m365/spo/commands/file/file-sharinglink-set.js +4 -1
  156. package/dist/m365/spo/commands/file/file-version-clear.js +6 -2
  157. package/dist/m365/spo/commands/file/file-version-get.js +1 -1
  158. package/dist/m365/spo/commands/file/file-version-list.js +4 -1
  159. package/dist/m365/spo/commands/file/file-version-remove.js +2 -1
  160. package/dist/m365/spo/commands/file/file-version-restore.js +2 -1
  161. package/dist/m365/spo/commands/folder/folder-add.js +4 -1
  162. package/dist/m365/spo/commands/folder/folder-copy.js +5 -1
  163. package/dist/m365/spo/commands/folder/folder-get.js +4 -1
  164. package/dist/m365/spo/commands/folder/folder-list.js +6 -2
  165. package/dist/m365/spo/commands/folder/folder-move.js +5 -1
  166. package/dist/m365/spo/commands/folder/folder-remove.js +5 -1
  167. package/dist/m365/spo/commands/folder/folder-rename.js +4 -1
  168. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +4 -1
  169. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +5 -1
  170. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +4 -1
  171. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +6 -2
  172. package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +5 -1
  173. package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +5 -1
  174. package/dist/m365/spo/commands/group/group-member-add.js +25 -8
  175. package/dist/m365/spo/commands/group/group-member-remove.js +29 -12
  176. package/dist/m365/spo/commands/group/group-set.js +2 -2
  177. package/dist/m365/spo/commands/site/site-remove.js +2 -2
  178. package/dist/m365/spo/commands/site/site-set.js +2 -2
  179. package/dist/m365/spo/commands/user/user-ensure.js +17 -7
  180. package/dist/m365/teams/commands/app/app-install.js +2 -2
  181. package/dist/m365/teams/commands/channel/channel-get.js +2 -2
  182. package/dist/m365/teams/commands/channel/channel-list.js +2 -2
  183. package/dist/m365/teams/commands/channel/channel-member-add.js +2 -2
  184. package/dist/m365/teams/commands/channel/channel-member-list.js +2 -2
  185. package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -2
  186. package/dist/m365/teams/commands/channel/channel-member-set.js +2 -2
  187. package/dist/m365/teams/commands/channel/channel-remove.js +2 -2
  188. package/dist/m365/teams/commands/channel/channel-set.js +2 -2
  189. package/dist/m365/teams/commands/meeting/meeting-add.js +2 -2
  190. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +2 -2
  191. package/dist/m365/teams/commands/meeting/meeting-get.js +3 -3
  192. package/dist/m365/teams/commands/meeting/meeting-list.js +2 -2
  193. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +2 -2
  194. package/dist/m365/teams/commands/tab/tab-get.js +2 -2
  195. package/dist/m365/teams/commands/team/team-add.js +6 -6
  196. package/dist/m365/teams/commands/team/team-archive.js +2 -2
  197. package/dist/m365/teams/commands/team/team-get.js +2 -2
  198. package/dist/m365/teams/commands/team/team-remove.js +2 -2
  199. package/dist/m365/teams/commands/team/team-unarchive.js +2 -2
  200. package/dist/m365/teams/commands/user/user-app-add.js +35 -3
  201. package/dist/request.js +16 -0
  202. package/dist/utils/{aadAdministrativeUnit.js → entraAdministrativeUnit.js} +2 -2
  203. package/dist/utils/{aadDevice.js → entraDevice.js} +2 -2
  204. package/dist/utils/{aadGroup.js → entraGroup.js} +2 -2
  205. package/dist/utils/{aadUser.js → entraUser.js} +38 -2
  206. package/dist/utils/md.js +2 -2
  207. package/dist/utils/roleAssignment.js +42 -0
  208. package/dist/utils/roleDefinition.js +24 -0
  209. package/dist/utils/spo.js +24 -2
  210. package/dist/utils/urlUtil.js +31 -0
  211. package/dist/utils/validation.js +8 -0
  212. package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
  213. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-add.mdx +10 -4
  214. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-get.mdx +9 -3
  215. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-list.mdx +9 -3
  216. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-add.mdx +13 -7
  217. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-get.mdx +9 -3
  218. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-member-list.mdx +16 -10
  219. package/docs/docs/cmd/{aad → entra}/administrativeunit/administrativeunit-remove.mdx +9 -3
  220. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +116 -0
  221. package/docs/docs/cmd/{aad → entra}/app/app-add.mdx +44 -38
  222. package/docs/docs/cmd/{aad → entra}/app/app-get.mdx +23 -17
  223. package/docs/docs/cmd/{aad → entra}/app/app-list.mdx +11 -5
  224. package/docs/docs/cmd/entra/app/app-permission-add.mdx +68 -0
  225. package/docs/docs/cmd/entra/app/app-permission-list.mdx +105 -0
  226. package/docs/docs/cmd/entra/app/app-remove.mdx +65 -0
  227. package/docs/docs/cmd/entra/app/app-role-add.mdx +74 -0
  228. package/docs/docs/cmd/{aad → entra}/app/app-role-list.mdx +20 -14
  229. package/docs/docs/cmd/entra/app/app-role-remove.mdx +84 -0
  230. package/docs/docs/cmd/entra/app/app-set.mdx +103 -0
  231. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-add.mdx +14 -8
  232. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-list.mdx +12 -6
  233. package/docs/docs/cmd/{aad → entra}/approleassignment/approleassignment-remove.mdx +13 -7
  234. package/docs/docs/cmd/entra/group/group-add.mdx +231 -0
  235. package/docs/docs/cmd/{aad → entra}/group/group-get.mdx +15 -9
  236. package/docs/docs/cmd/{aad → entra}/group/group-list.mdx +13 -7
  237. package/docs/docs/cmd/entra/group/group-remove.mdx +50 -0
  238. package/docs/docs/cmd/entra/group/group-user-add.mdx +62 -0
  239. package/docs/docs/cmd/{aad → entra}/group/group-user-list.mdx +17 -11
  240. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-add.mdx +11 -5
  241. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-get.mdx +9 -3
  242. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-list.mdx +10 -4
  243. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-remove.mdx +9 -3
  244. package/docs/docs/cmd/{aad → entra}/groupsetting/groupsetting-set.mdx +10 -4
  245. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-get.mdx +11 -5
  246. package/docs/docs/cmd/{aad → entra}/groupsettingtemplate/groupsettingtemplate-list.mdx +10 -4
  247. package/docs/docs/cmd/{aad → entra}/license/license-list.mdx +9 -3
  248. package/docs/docs/cmd/{aad → entra}/m365group/m365group-add.mdx +17 -11
  249. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-list.mdx +9 -3
  250. package/docs/docs/cmd/{aad → entra}/m365group/m365group-conversation-post-list.mdx +10 -4
  251. package/docs/docs/cmd/{aad → entra}/m365group/m365group-get.mdx +10 -4
  252. package/docs/docs/cmd/{aad → entra}/m365group/m365group-list.mdx +13 -7
  253. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-clear.mdx +9 -3
  254. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-list.mdx +12 -6
  255. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-remove.mdx +10 -4
  256. package/docs/docs/cmd/{aad → entra}/m365group/m365group-recyclebinitem-restore.mdx +10 -4
  257. package/docs/docs/cmd/{aad → entra}/m365group/m365group-remove.mdx +10 -4
  258. package/docs/docs/cmd/{aad → entra}/m365group/m365group-renew.mdx +8 -2
  259. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitycounts.mdx +10 -4
  260. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitydetail.mdx +11 -5
  261. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activityfilecounts.mdx +10 -4
  262. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitygroupcounts.mdx +10 -4
  263. package/docs/docs/cmd/{aad → entra}/m365group/m365group-report-activitystorage.mdx +10 -4
  264. package/docs/docs/cmd/{aad → entra}/m365group/m365group-set.mdx +12 -6
  265. package/docs/docs/cmd/{aad → entra}/m365group/m365group-teamify.mdx +9 -3
  266. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-add.mdx +9 -3
  267. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +131 -0
  268. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-remove.mdx +9 -5
  269. package/docs/docs/cmd/{aad → entra}/m365group/m365group-user-set.mdx +10 -6
  270. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-add.mdx +15 -9
  271. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-list.mdx +11 -5
  272. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-remove.mdx +13 -7
  273. package/docs/docs/cmd/{aad → entra}/oauth2grant/oauth2grant-set.mdx +12 -6
  274. package/docs/docs/cmd/{aad → entra}/policy/policy-list.mdx +14 -8
  275. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-disable.mdx +9 -3
  276. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-enable.mdx +10 -4
  277. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-get.mdx +9 -3
  278. package/docs/docs/cmd/{aad → entra}/siteclassification/siteclassification-set.mdx +11 -5
  279. package/docs/docs/cmd/{aad → entra}/sp/sp-add.mdx +25 -19
  280. package/docs/docs/cmd/{aad → entra}/sp/sp-get.mdx +12 -6
  281. package/docs/docs/cmd/{aad → entra}/sp/sp-list.mdx +10 -4
  282. package/docs/docs/cmd/{aad → entra}/user/user-add.mdx +12 -6
  283. package/docs/docs/cmd/{aad → entra}/user/user-get.mdx +16 -10
  284. package/docs/docs/cmd/{aad → entra}/user/user-guest-add.mdx +11 -5
  285. package/docs/docs/cmd/{aad → entra}/user/user-hibp.mdx +10 -4
  286. package/docs/docs/cmd/{aad → entra}/user/user-license-add.mdx +10 -4
  287. package/docs/docs/cmd/{aad → entra}/user/user-license-list.mdx +11 -5
  288. package/docs/docs/cmd/{aad → entra}/user/user-license-remove.mdx +9 -3
  289. package/docs/docs/cmd/{aad → entra}/user/user-list.mdx +12 -6
  290. package/docs/docs/cmd/{aad → entra}/user/user-password-validate.mdx +9 -3
  291. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-clear.mdx +9 -3
  292. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-list.mdx +9 -3
  293. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-remove.mdx +9 -3
  294. package/docs/docs/cmd/{aad → entra}/user/user-recyclebinitem-restore.mdx +8 -2
  295. package/docs/docs/cmd/{aad → entra}/user/user-remove.mdx +9 -3
  296. package/docs/docs/cmd/{aad → entra}/user/user-set.mdx +15 -9
  297. package/docs/docs/cmd/{aad → entra}/user/user-signin-list.mdx +19 -13
  298. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +47 -0
  299. package/docs/docs/cmd/file/file-copy.mdx +68 -0
  300. package/docs/docs/cmd/flow/run/run-get.mdx +167 -4
  301. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
  302. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  303. package/docs/docs/cmd/pa/app/app-get.mdx +15 -0
  304. package/docs/docs/cmd/pa/app/app-remove.mdx +14 -0
  305. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  306. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
  307. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
  308. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
  309. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
  310. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  311. package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
  312. package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
  313. package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
  314. package/docs/docs/cmd/spo/group/group-member-add.mdx +19 -7
  315. package/docs/docs/cmd/spo/group/group-member-remove.mdx +12 -6
  316. package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
  317. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
  318. package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +1 -1
  319. package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
  320. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
  321. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
  322. package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
  323. package/docs/docs/cmd/spo/page/page-set.mdx +2 -2
  324. package/docs/docs/cmd/spo/site/site-add.mdx +1 -1
  325. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  326. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
  327. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  328. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  329. package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
  330. package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
  331. package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
  332. package/docs/docs/cmd/spo/user/user-ensure.mdx +8 -5
  333. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  334. package/docs/docs/cmd/teams/user/user-app-add.mdx +8 -5
  335. package/npm-shrinkwrap.json +298 -542
  336. package/package.json +21 -21
  337. package/dist/m365/aad/commands/m365group/m365group-user-list.js +0 -94
  338. package/dist/m365/aad/commands/user/user-get.js +0 -111
  339. package/docs/docs/cmd/aad/app/app-permission-add.mdx +0 -62
  340. package/docs/docs/cmd/aad/app/app-remove.mdx +0 -59
  341. package/docs/docs/cmd/aad/app/app-role-add.mdx +0 -68
  342. package/docs/docs/cmd/aad/app/app-role-remove.mdx +0 -78
  343. package/docs/docs/cmd/aad/app/app-set.mdx +0 -97
  344. package/docs/docs/cmd/aad/group/group-remove.mdx +0 -44
  345. package/docs/docs/cmd/aad/m365group/m365group-user-list.mdx +0 -99
  346. /package/dist/m365/{aad → entra}/commands/approleassignment/ServicePrincipal.js +0 -0
  347. /package/dist/m365/{aad → entra}/commands/m365group/GroupExtended.js +0 -0
  348. /package/dist/m365/{aad → entra}/commands/siteclassification/SiteClassificationSettings.js +0 -0
@@ -3,27 +3,31 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadM365GroupRecycleBinItemRestoreCommand_instances, _AadM365GroupRecycleBinItemRestoreCommand_initTelemetry, _AadM365GroupRecycleBinItemRestoreCommand_initOptions, _AadM365GroupRecycleBinItemRestoreCommand_initValidators, _AadM365GroupRecycleBinItemRestoreCommand_initOptionSets;
6
+ var _EntraM365GroupRecycleBinItemRestoreCommand_instances, _EntraM365GroupRecycleBinItemRestoreCommand_initTelemetry, _EntraM365GroupRecycleBinItemRestoreCommand_initOptions, _EntraM365GroupRecycleBinItemRestoreCommand_initValidators, _EntraM365GroupRecycleBinItemRestoreCommand_initOptionSets;
7
7
  import request from '../../../../request.js';
8
8
  import { formatting } from '../../../../utils/formatting.js';
9
9
  import { validation } from '../../../../utils/validation.js';
10
10
  import GraphCommand from '../../../base/GraphCommand.js';
11
11
  import commands from '../../commands.js';
12
12
  import { cli } from '../../../../cli/cli.js';
13
- class AadM365GroupRecycleBinItemRestoreCommand extends GraphCommand {
13
+ import aadCommands from '../../aadCommands.js';
14
+ class EntraM365GroupRecycleBinItemRestoreCommand extends GraphCommand {
14
15
  get name() {
15
16
  return commands.M365GROUP_RECYCLEBINITEM_RESTORE;
16
17
  }
17
18
  get description() {
18
19
  return 'Restores a deleted Microsoft 365 Group';
19
20
  }
21
+ alias() {
22
+ return [aadCommands.M365GROUP_RECYCLEBINITEM_RESTORE];
23
+ }
20
24
  constructor() {
21
25
  super();
22
- _AadM365GroupRecycleBinItemRestoreCommand_instances.add(this);
23
- __classPrivateFieldGet(this, _AadM365GroupRecycleBinItemRestoreCommand_instances, "m", _AadM365GroupRecycleBinItemRestoreCommand_initTelemetry).call(this);
24
- __classPrivateFieldGet(this, _AadM365GroupRecycleBinItemRestoreCommand_instances, "m", _AadM365GroupRecycleBinItemRestoreCommand_initOptions).call(this);
25
- __classPrivateFieldGet(this, _AadM365GroupRecycleBinItemRestoreCommand_instances, "m", _AadM365GroupRecycleBinItemRestoreCommand_initValidators).call(this);
26
- __classPrivateFieldGet(this, _AadM365GroupRecycleBinItemRestoreCommand_instances, "m", _AadM365GroupRecycleBinItemRestoreCommand_initOptionSets).call(this);
26
+ _EntraM365GroupRecycleBinItemRestoreCommand_instances.add(this);
27
+ __classPrivateFieldGet(this, _EntraM365GroupRecycleBinItemRestoreCommand_instances, "m", _EntraM365GroupRecycleBinItemRestoreCommand_initTelemetry).call(this);
28
+ __classPrivateFieldGet(this, _EntraM365GroupRecycleBinItemRestoreCommand_instances, "m", _EntraM365GroupRecycleBinItemRestoreCommand_initOptions).call(this);
29
+ __classPrivateFieldGet(this, _EntraM365GroupRecycleBinItemRestoreCommand_instances, "m", _EntraM365GroupRecycleBinItemRestoreCommand_initValidators).call(this);
30
+ __classPrivateFieldGet(this, _EntraM365GroupRecycleBinItemRestoreCommand_instances, "m", _EntraM365GroupRecycleBinItemRestoreCommand_initOptionSets).call(this);
27
31
  }
28
32
  async commandAction(logger, args) {
29
33
  if (this.verbose) {
@@ -77,7 +81,7 @@ class AadM365GroupRecycleBinItemRestoreCommand extends GraphCommand {
77
81
  return groups[0].id;
78
82
  }
79
83
  }
80
- _AadM365GroupRecycleBinItemRestoreCommand_instances = new WeakSet(), _AadM365GroupRecycleBinItemRestoreCommand_initTelemetry = function _AadM365GroupRecycleBinItemRestoreCommand_initTelemetry() {
84
+ _EntraM365GroupRecycleBinItemRestoreCommand_instances = new WeakSet(), _EntraM365GroupRecycleBinItemRestoreCommand_initTelemetry = function _EntraM365GroupRecycleBinItemRestoreCommand_initTelemetry() {
81
85
  this.telemetry.push((args) => {
82
86
  Object.assign(this.telemetryProperties, {
83
87
  id: typeof args.options.id !== 'undefined',
@@ -85,7 +89,7 @@ _AadM365GroupRecycleBinItemRestoreCommand_instances = new WeakSet(), _AadM365Gro
85
89
  mailNickname: typeof args.options.mailNickname !== 'undefined'
86
90
  });
87
91
  });
88
- }, _AadM365GroupRecycleBinItemRestoreCommand_initOptions = function _AadM365GroupRecycleBinItemRestoreCommand_initOptions() {
92
+ }, _EntraM365GroupRecycleBinItemRestoreCommand_initOptions = function _EntraM365GroupRecycleBinItemRestoreCommand_initOptions() {
89
93
  this.options.unshift({
90
94
  option: '-i, --id [id]'
91
95
  }, {
@@ -93,15 +97,15 @@ _AadM365GroupRecycleBinItemRestoreCommand_instances = new WeakSet(), _AadM365Gro
93
97
  }, {
94
98
  option: '-m, --mailNickname [mailNickname]'
95
99
  });
96
- }, _AadM365GroupRecycleBinItemRestoreCommand_initValidators = function _AadM365GroupRecycleBinItemRestoreCommand_initValidators() {
100
+ }, _EntraM365GroupRecycleBinItemRestoreCommand_initValidators = function _EntraM365GroupRecycleBinItemRestoreCommand_initValidators() {
97
101
  this.validators.push(async (args) => {
98
102
  if (args.options.id && !validation.isValidGuid(args.options.id)) {
99
103
  return `${args.options.id} is not a valid GUID`;
100
104
  }
101
105
  return true;
102
106
  });
103
- }, _AadM365GroupRecycleBinItemRestoreCommand_initOptionSets = function _AadM365GroupRecycleBinItemRestoreCommand_initOptionSets() {
107
+ }, _EntraM365GroupRecycleBinItemRestoreCommand_initOptionSets = function _EntraM365GroupRecycleBinItemRestoreCommand_initOptionSets() {
104
108
  this.optionSets.push({ options: ['id', 'displayName', 'mailNickname'] });
105
109
  };
106
- export default new AadM365GroupRecycleBinItemRestoreCommand();
110
+ export default new EntraM365GroupRecycleBinItemRestoreCommand();
107
111
  //# sourceMappingURL=m365group-recyclebinitem-restore.js.map
@@ -3,10 +3,10 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadM365GroupRemoveCommand_instances, _AadM365GroupRemoveCommand_initTelemetry, _AadM365GroupRemoveCommand_initOptions, _AadM365GroupRemoveCommand_initValidators;
6
+ var _EntraM365GroupRemoveCommand_instances, _EntraM365GroupRemoveCommand_initTelemetry, _EntraM365GroupRemoveCommand_initOptions, _EntraM365GroupRemoveCommand_initValidators;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
- import { aadGroup } from '../../../../utils/aadGroup.js';
9
+ import { entraGroup } from '../../../../utils/entraGroup.js';
10
10
  import { validation } from '../../../../utils/validation.js';
11
11
  import GraphCommand from '../../../base/GraphCommand.js';
12
12
  import commands from '../../commands.js';
@@ -14,20 +14,24 @@ import config from '../../../../config.js';
14
14
  import { formatting } from '../../../../utils/formatting.js';
15
15
  import { spo } from '../../../../utils/spo.js';
16
16
  import { setTimeout } from 'timers/promises';
17
- class AadM365GroupRemoveCommand extends GraphCommand {
17
+ import aadCommands from '../../aadCommands.js';
18
+ class EntraM365GroupRemoveCommand extends GraphCommand {
18
19
  get name() {
19
20
  return commands.M365GROUP_REMOVE;
20
21
  }
21
22
  get description() {
22
23
  return 'Removes a Microsoft 365 Group';
23
24
  }
25
+ alias() {
26
+ return [aadCommands.M365GROUP_REMOVE];
27
+ }
24
28
  constructor() {
25
29
  super();
26
- _AadM365GroupRemoveCommand_instances.add(this);
30
+ _EntraM365GroupRemoveCommand_instances.add(this);
27
31
  this.intervalInMs = 5000;
28
- __classPrivateFieldGet(this, _AadM365GroupRemoveCommand_instances, "m", _AadM365GroupRemoveCommand_initTelemetry).call(this);
29
- __classPrivateFieldGet(this, _AadM365GroupRemoveCommand_instances, "m", _AadM365GroupRemoveCommand_initOptions).call(this);
30
- __classPrivateFieldGet(this, _AadM365GroupRemoveCommand_instances, "m", _AadM365GroupRemoveCommand_initValidators).call(this);
32
+ __classPrivateFieldGet(this, _EntraM365GroupRemoveCommand_instances, "m", _EntraM365GroupRemoveCommand_initTelemetry).call(this);
33
+ __classPrivateFieldGet(this, _EntraM365GroupRemoveCommand_instances, "m", _EntraM365GroupRemoveCommand_initOptions).call(this);
34
+ __classPrivateFieldGet(this, _EntraM365GroupRemoveCommand_instances, "m", _EntraM365GroupRemoveCommand_initValidators).call(this);
31
35
  }
32
36
  async commandAction(logger, args) {
33
37
  const removeGroup = async () => {
@@ -35,7 +39,7 @@ class AadM365GroupRemoveCommand extends GraphCommand {
35
39
  await logger.logToStderr(`Removing Microsoft 365 Group: ${args.options.id}...`);
36
40
  }
37
41
  try {
38
- const isUnifiedGroup = await aadGroup.isUnifiedGroup(args.options.id);
42
+ const isUnifiedGroup = await entraGroup.isUnifiedGroup(args.options.id);
39
43
  if (!isUnifiedGroup) {
40
44
  throw Error(`Specified group with id '${args.options.id}' is not a Microsoft 365 group.`);
41
45
  }
@@ -92,14 +96,14 @@ class AadM365GroupRemoveCommand extends GraphCommand {
92
96
  await request.post(requestOptions);
93
97
  }
94
98
  async deleteM365GroupFromRecycleBin(logger, id) {
95
- for (let retries = 0; retries < AadM365GroupRemoveCommand.maxRetries; retries++) {
99
+ for (let retries = 0; retries < EntraM365GroupRemoveCommand.maxRetries; retries++) {
96
100
  if (await this.isM365GroupInDeletedItemsList(id)) {
97
101
  await this.removeM365GroupPermanently(logger, id);
98
102
  return;
99
103
  }
100
104
  else {
101
105
  if (this.verbose) {
102
- await logger.logToStderr(`Group has not been deleted yet. Waiting for ${this.intervalInMs / 1000} seconds before the next attempt. ${AadM365GroupRemoveCommand.maxRetries - retries} attempts remaining...`);
106
+ await logger.logToStderr(`Group has not been deleted yet. Waiting for ${this.intervalInMs / 1000} seconds before the next attempt. ${EntraM365GroupRemoveCommand.maxRetries - retries} attempts remaining...`);
103
107
  }
104
108
  await setTimeout(this.intervalInMs);
105
109
  }
@@ -159,14 +163,14 @@ class AadM365GroupRemoveCommand extends GraphCommand {
159
163
  }
160
164
  }
161
165
  }
162
- _AadM365GroupRemoveCommand_instances = new WeakSet(), _AadM365GroupRemoveCommand_initTelemetry = function _AadM365GroupRemoveCommand_initTelemetry() {
166
+ _EntraM365GroupRemoveCommand_instances = new WeakSet(), _EntraM365GroupRemoveCommand_initTelemetry = function _EntraM365GroupRemoveCommand_initTelemetry() {
163
167
  this.telemetry.push((args) => {
164
168
  Object.assign(this.telemetryProperties, {
165
169
  force: (!(!args.options.force)).toString(),
166
170
  skipRecycleBin: args.options.skipRecycleBin
167
171
  });
168
172
  });
169
- }, _AadM365GroupRemoveCommand_initOptions = function _AadM365GroupRemoveCommand_initOptions() {
173
+ }, _EntraM365GroupRemoveCommand_initOptions = function _EntraM365GroupRemoveCommand_initOptions() {
170
174
  this.options.unshift({
171
175
  option: '-i, --id <id>'
172
176
  }, {
@@ -174,7 +178,7 @@ _AadM365GroupRemoveCommand_instances = new WeakSet(), _AadM365GroupRemoveCommand
174
178
  }, {
175
179
  option: '--skipRecycleBin'
176
180
  });
177
- }, _AadM365GroupRemoveCommand_initValidators = function _AadM365GroupRemoveCommand_initValidators() {
181
+ }, _EntraM365GroupRemoveCommand_initValidators = function _EntraM365GroupRemoveCommand_initValidators() {
178
182
  this.validators.push(async (args) => {
179
183
  if (!validation.isValidGuid(args.options.id)) {
180
184
  return `${args.options.id} is not a valid GUID`;
@@ -182,6 +186,6 @@ _AadM365GroupRemoveCommand_instances = new WeakSet(), _AadM365GroupRemoveCommand
182
186
  return true;
183
187
  });
184
188
  };
185
- AadM365GroupRemoveCommand.maxRetries = 10;
186
- export default new AadM365GroupRemoveCommand();
189
+ EntraM365GroupRemoveCommand.maxRetries = 10;
190
+ export default new EntraM365GroupRemoveCommand();
187
191
  //# sourceMappingURL=m365group-remove.js.map
@@ -3,31 +3,35 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadM365GroupRenewCommand_instances, _AadM365GroupRenewCommand_initOptions, _AadM365GroupRenewCommand_initValidators;
6
+ var _EntraM365GroupRenewCommand_instances, _EntraM365GroupRenewCommand_initOptions, _EntraM365GroupRenewCommand_initValidators;
7
7
  import request from '../../../../request.js';
8
- import { aadGroup } from '../../../../utils/aadGroup.js';
8
+ import { entraGroup } from '../../../../utils/entraGroup.js';
9
9
  import { validation } from '../../../../utils/validation.js';
10
10
  import GraphCommand from '../../../base/GraphCommand.js';
11
+ import aadCommands from '../../aadCommands.js';
11
12
  import commands from '../../commands.js';
12
- class AadM365GroupRenewCommand extends GraphCommand {
13
+ class EntraM365GroupRenewCommand extends GraphCommand {
13
14
  get name() {
14
15
  return commands.M365GROUP_RENEW;
15
16
  }
16
17
  get description() {
17
18
  return `Renews Microsoft 365 group's expiration`;
18
19
  }
20
+ alias() {
21
+ return [aadCommands.M365GROUP_RENEW];
22
+ }
19
23
  constructor() {
20
24
  super();
21
- _AadM365GroupRenewCommand_instances.add(this);
22
- __classPrivateFieldGet(this, _AadM365GroupRenewCommand_instances, "m", _AadM365GroupRenewCommand_initOptions).call(this);
23
- __classPrivateFieldGet(this, _AadM365GroupRenewCommand_instances, "m", _AadM365GroupRenewCommand_initValidators).call(this);
25
+ _EntraM365GroupRenewCommand_instances.add(this);
26
+ __classPrivateFieldGet(this, _EntraM365GroupRenewCommand_instances, "m", _EntraM365GroupRenewCommand_initOptions).call(this);
27
+ __classPrivateFieldGet(this, _EntraM365GroupRenewCommand_instances, "m", _EntraM365GroupRenewCommand_initValidators).call(this);
24
28
  }
25
29
  async commandAction(logger, args) {
26
30
  if (this.verbose) {
27
31
  await logger.logToStderr(`Renewing Microsoft 365 group's expiration: ${args.options.id}...`);
28
32
  }
29
33
  try {
30
- const isUnifiedGroup = await aadGroup.isUnifiedGroup(args.options.id);
34
+ const isUnifiedGroup = await entraGroup.isUnifiedGroup(args.options.id);
31
35
  if (!isUnifiedGroup) {
32
36
  throw Error(`Specified group with id '${args.options.id}' is not a Microsoft 365 group.`);
33
37
  }
@@ -44,11 +48,11 @@ class AadM365GroupRenewCommand extends GraphCommand {
44
48
  }
45
49
  }
46
50
  }
47
- _AadM365GroupRenewCommand_instances = new WeakSet(), _AadM365GroupRenewCommand_initOptions = function _AadM365GroupRenewCommand_initOptions() {
51
+ _EntraM365GroupRenewCommand_instances = new WeakSet(), _EntraM365GroupRenewCommand_initOptions = function _EntraM365GroupRenewCommand_initOptions() {
48
52
  this.options.unshift({
49
53
  option: '-i, --id <id>'
50
54
  });
51
- }, _AadM365GroupRenewCommand_initValidators = function _AadM365GroupRenewCommand_initValidators() {
55
+ }, _EntraM365GroupRenewCommand_initValidators = function _EntraM365GroupRenewCommand_initValidators() {
52
56
  this.validators.push(async (args) => {
53
57
  if (!validation.isValidGuid(args.options.id)) {
54
58
  return `${args.options.id} is not a valid GUID`;
@@ -56,5 +60,5 @@ _AadM365GroupRenewCommand_instances = new WeakSet(), _AadM365GroupRenewCommand_i
56
60
  return true;
57
61
  });
58
62
  };
59
- export default new AadM365GroupRenewCommand();
63
+ export default new EntraM365GroupRenewCommand();
60
64
  //# sourceMappingURL=m365group-renew.js.map
@@ -1,4 +1,5 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
+ import aadCommands from '../../aadCommands.js';
2
3
  import commands from '../../commands.js';
3
4
  class M365GroupReportActivityCountsCommand extends PeriodBasedReport {
4
5
  get name() {
@@ -7,6 +8,9 @@ class M365GroupReportActivityCountsCommand extends PeriodBasedReport {
7
8
  get description() {
8
9
  return 'Get the number of group activities across group workloads';
9
10
  }
11
+ alias() {
12
+ return [aadCommands.M365GROUP_REPORT_ACTIVITYCOUNTS];
13
+ }
10
14
  get usageEndpoint() {
11
15
  return 'getOffice365GroupsActivityCounts';
12
16
  }
@@ -1,4 +1,5 @@
1
1
  import DateAndPeriodBasedReport from '../../../base/DateAndPeriodBasedReport.js';
2
+ import aadCommands from '../../aadCommands.js';
2
3
  import commands from '../../commands.js';
3
4
  class M365GroupReportActivityDetailCommand extends DateAndPeriodBasedReport {
4
5
  get name() {
@@ -7,6 +8,9 @@ class M365GroupReportActivityDetailCommand extends DateAndPeriodBasedReport {
7
8
  get description() {
8
9
  return 'Get details about Microsoft 365 Groups activity by group';
9
10
  }
11
+ alias() {
12
+ return [aadCommands.M365GROUP_REPORT_ACTIVITYDETAIL];
13
+ }
10
14
  get usageEndpoint() {
11
15
  return 'getOffice365GroupsActivityDetail';
12
16
  }
@@ -1,4 +1,5 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
+ import aadCommands from '../../aadCommands.js';
2
3
  import commands from '../../commands.js';
3
4
  class M365GroupReportActivityFileCountsCommand extends PeriodBasedReport {
4
5
  get name() {
@@ -7,6 +8,9 @@ class M365GroupReportActivityFileCountsCommand extends PeriodBasedReport {
7
8
  get description() {
8
9
  return 'Get the total number of files and how many of them were active across all group sites associated with an Microsoft 365 Group';
9
10
  }
11
+ alias() {
12
+ return [aadCommands.M365GROUP_REPORT_ACTIVITYFILECOUNTS];
13
+ }
10
14
  get usageEndpoint() {
11
15
  return 'getOffice365GroupsActivityFileCounts';
12
16
  }
@@ -1,4 +1,5 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
+ import aadCommands from '../../aadCommands.js';
2
3
  import commands from '../../commands.js';
3
4
  class M365GroupReportActivityGroupCountsCommand extends PeriodBasedReport {
4
5
  get name() {
@@ -7,6 +8,9 @@ class M365GroupReportActivityGroupCountsCommand extends PeriodBasedReport {
7
8
  get description() {
8
9
  return 'Get the daily total number of groups and how many of them were active based on email conversations, Yammer posts, and SharePoint file activities';
9
10
  }
11
+ alias() {
12
+ return [aadCommands.M365GROUP_REPORT_ACTIVITYGROUPCOUNTS];
13
+ }
10
14
  get usageEndpoint() {
11
15
  return 'getOffice365GroupsActivityGroupCounts';
12
16
  }
@@ -1,4 +1,5 @@
1
1
  import PeriodBasedReport from '../../../base/PeriodBasedReport.js';
2
+ import aadCommands from '../../aadCommands.js';
2
3
  import commands from '../../commands.js';
3
4
  class M365GroupReportActivityStorageCommand extends PeriodBasedReport {
4
5
  get name() {
@@ -7,6 +8,9 @@ class M365GroupReportActivityStorageCommand extends PeriodBasedReport {
7
8
  get description() {
8
9
  return 'Get the total storage used across all group mailboxes and group sites';
9
10
  }
11
+ alias() {
12
+ return [aadCommands.M365GROUP_REPORT_ACTIVITYSTORAGE];
13
+ }
10
14
  get usageEndpoint() {
11
15
  return 'getOffice365GroupsActivityStorage';
12
16
  }
@@ -3,7 +3,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadM365GroupSetCommand_instances, _AadM365GroupSetCommand_initTelemetry, _AadM365GroupSetCommand_initOptions, _AadM365GroupSetCommand_initTypes, _AadM365GroupSetCommand_initValidators;
6
+ var _EntraM365GroupSetCommand_instances, _EntraM365GroupSetCommand_initTelemetry, _EntraM365GroupSetCommand_initOptions, _EntraM365GroupSetCommand_initTypes, _EntraM365GroupSetCommand_initValidators;
7
7
  import { setTimeout } from 'timers/promises';
8
8
  import fs from 'fs';
9
9
  import path from 'path';
@@ -11,26 +11,30 @@ import request from '../../../../request.js';
11
11
  import { validation } from '../../../../utils/validation.js';
12
12
  import GraphCommand from '../../../base/GraphCommand.js';
13
13
  import commands from '../../commands.js';
14
- import { aadGroup } from '../../../../utils/aadGroup.js';
15
- class AadM365GroupSetCommand extends GraphCommand {
14
+ import { entraGroup } from '../../../../utils/entraGroup.js';
15
+ import aadCommands from '../../aadCommands.js';
16
+ class EntraM365GroupSetCommand extends GraphCommand {
16
17
  get name() {
17
18
  return commands.M365GROUP_SET;
18
19
  }
19
20
  get description() {
20
21
  return 'Updates Microsoft 365 Group properties';
21
22
  }
23
+ alias() {
24
+ return [aadCommands.M365GROUP_SET];
25
+ }
22
26
  constructor() {
23
27
  super();
24
- _AadM365GroupSetCommand_instances.add(this);
28
+ _EntraM365GroupSetCommand_instances.add(this);
25
29
  this.pollingInterval = 500;
26
- __classPrivateFieldGet(this, _AadM365GroupSetCommand_instances, "m", _AadM365GroupSetCommand_initTelemetry).call(this);
27
- __classPrivateFieldGet(this, _AadM365GroupSetCommand_instances, "m", _AadM365GroupSetCommand_initOptions).call(this);
28
- __classPrivateFieldGet(this, _AadM365GroupSetCommand_instances, "m", _AadM365GroupSetCommand_initTypes).call(this);
29
- __classPrivateFieldGet(this, _AadM365GroupSetCommand_instances, "m", _AadM365GroupSetCommand_initValidators).call(this);
30
+ __classPrivateFieldGet(this, _EntraM365GroupSetCommand_instances, "m", _EntraM365GroupSetCommand_initTelemetry).call(this);
31
+ __classPrivateFieldGet(this, _EntraM365GroupSetCommand_instances, "m", _EntraM365GroupSetCommand_initOptions).call(this);
32
+ __classPrivateFieldGet(this, _EntraM365GroupSetCommand_instances, "m", _EntraM365GroupSetCommand_initTypes).call(this);
33
+ __classPrivateFieldGet(this, _EntraM365GroupSetCommand_instances, "m", _EntraM365GroupSetCommand_initValidators).call(this);
30
34
  }
31
35
  async commandAction(logger, args) {
32
36
  try {
33
- const isUnifiedGroup = await aadGroup.isUnifiedGroup(args.options.id);
37
+ const isUnifiedGroup = await entraGroup.isUnifiedGroup(args.options.id);
34
38
  if (!isUnifiedGroup) {
35
39
  throw Error(`Specified group with id '${args.options.id}' is not a Microsoft 365 group.`);
36
40
  }
@@ -70,7 +74,7 @@ class AadM365GroupSetCommand extends GraphCommand {
70
74
  },
71
75
  data: fs.readFileSync(fullPath)
72
76
  };
73
- await this.setGroupLogo(requestOptions, AadM365GroupSetCommand.numRepeat, logger);
77
+ await this.setGroupLogo(requestOptions, EntraM365GroupSetCommand.numRepeat, logger);
74
78
  }
75
79
  else if (this.debug) {
76
80
  await logger.logToStderr('logoPath not set. Skipping');
@@ -140,7 +144,7 @@ class AadM365GroupSetCommand extends GraphCommand {
140
144
  }
141
145
  catch (err) {
142
146
  if (--retryLeft > 0) {
143
- await setTimeout(this.pollingInterval * (AadM365GroupSetCommand.numRepeat - retryLeft));
147
+ await setTimeout(this.pollingInterval * (EntraM365GroupSetCommand.numRepeat - retryLeft));
144
148
  await this.setGroupLogo(requestOptions, retryLeft, logger);
145
149
  }
146
150
  else {
@@ -160,7 +164,7 @@ class AadM365GroupSetCommand extends GraphCommand {
160
164
  }
161
165
  }
162
166
  }
163
- _AadM365GroupSetCommand_instances = new WeakSet(), _AadM365GroupSetCommand_initTelemetry = function _AadM365GroupSetCommand_initTelemetry() {
167
+ _EntraM365GroupSetCommand_instances = new WeakSet(), _EntraM365GroupSetCommand_initTelemetry = function _EntraM365GroupSetCommand_initTelemetry() {
164
168
  this.telemetry.push((args) => {
165
169
  Object.assign(this.telemetryProperties, {
166
170
  displayName: typeof args.options.displayName !== 'undefined',
@@ -171,7 +175,7 @@ _AadM365GroupSetCommand_instances = new WeakSet(), _AadM365GroupSetCommand_initT
171
175
  logoPath: typeof args.options.logoPath !== 'undefined'
172
176
  });
173
177
  });
174
- }, _AadM365GroupSetCommand_initOptions = function _AadM365GroupSetCommand_initOptions() {
178
+ }, _EntraM365GroupSetCommand_initOptions = function _EntraM365GroupSetCommand_initOptions() {
175
179
  this.options.unshift({
176
180
  option: '-i, --id <id>'
177
181
  }, {
@@ -188,9 +192,9 @@ _AadM365GroupSetCommand_instances = new WeakSet(), _AadM365GroupSetCommand_initT
188
192
  }, {
189
193
  option: '-l, --logoPath [logoPath]'
190
194
  });
191
- }, _AadM365GroupSetCommand_initTypes = function _AadM365GroupSetCommand_initTypes() {
195
+ }, _EntraM365GroupSetCommand_initTypes = function _EntraM365GroupSetCommand_initTypes() {
192
196
  this.types.boolean.push('isPrivate');
193
- }, _AadM365GroupSetCommand_initValidators = function _AadM365GroupSetCommand_initValidators() {
197
+ }, _EntraM365GroupSetCommand_initValidators = function _EntraM365GroupSetCommand_initValidators() {
194
198
  this.validators.push(async (args) => {
195
199
  if (!args.options.displayName &&
196
200
  !args.options.description &&
@@ -231,6 +235,6 @@ _AadM365GroupSetCommand_instances = new WeakSet(), _AadM365GroupSetCommand_initT
231
235
  return true;
232
236
  });
233
237
  };
234
- AadM365GroupSetCommand.numRepeat = 15;
235
- export default new AadM365GroupSetCommand();
238
+ EntraM365GroupSetCommand.numRepeat = 15;
239
+ export default new EntraM365GroupSetCommand();
236
240
  //# sourceMappingURL=m365group-set.js.map
@@ -3,28 +3,32 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadM365GroupTeamifyCommand_instances, _AadM365GroupTeamifyCommand_initTelemetry, _AadM365GroupTeamifyCommand_initOptions, _AadM365GroupTeamifyCommand_initValidators, _AadM365GroupTeamifyCommand_initOptionSets;
6
+ var _EntraM365GroupTeamifyCommand_instances, _EntraM365GroupTeamifyCommand_initTelemetry, _EntraM365GroupTeamifyCommand_initOptions, _EntraM365GroupTeamifyCommand_initValidators, _EntraM365GroupTeamifyCommand_initOptionSets;
7
7
  import { cli } from '../../../../cli/cli.js';
8
8
  import request from '../../../../request.js';
9
- import { aadGroup } from '../../../../utils/aadGroup.js';
9
+ import { entraGroup } from '../../../../utils/entraGroup.js';
10
10
  import { formatting } from '../../../../utils/formatting.js';
11
11
  import { validation } from '../../../../utils/validation.js';
12
12
  import GraphCommand from '../../../base/GraphCommand.js';
13
+ import aadCommands from '../../aadCommands.js';
13
14
  import commands from '../../commands.js';
14
- class AadM365GroupTeamifyCommand extends GraphCommand {
15
+ class EntraM365GroupTeamifyCommand extends GraphCommand {
15
16
  get name() {
16
17
  return commands.M365GROUP_TEAMIFY;
17
18
  }
18
19
  get description() {
19
20
  return 'Creates a new Microsoft Teams team under existing Microsoft 365 group';
20
21
  }
22
+ alias() {
23
+ return [aadCommands.M365GROUP_TEAMIFY];
24
+ }
21
25
  constructor() {
22
26
  super();
23
- _AadM365GroupTeamifyCommand_instances.add(this);
24
- __classPrivateFieldGet(this, _AadM365GroupTeamifyCommand_instances, "m", _AadM365GroupTeamifyCommand_initTelemetry).call(this);
25
- __classPrivateFieldGet(this, _AadM365GroupTeamifyCommand_instances, "m", _AadM365GroupTeamifyCommand_initOptions).call(this);
26
- __classPrivateFieldGet(this, _AadM365GroupTeamifyCommand_instances, "m", _AadM365GroupTeamifyCommand_initValidators).call(this);
27
- __classPrivateFieldGet(this, _AadM365GroupTeamifyCommand_instances, "m", _AadM365GroupTeamifyCommand_initOptionSets).call(this);
27
+ _EntraM365GroupTeamifyCommand_instances.add(this);
28
+ __classPrivateFieldGet(this, _EntraM365GroupTeamifyCommand_instances, "m", _EntraM365GroupTeamifyCommand_initTelemetry).call(this);
29
+ __classPrivateFieldGet(this, _EntraM365GroupTeamifyCommand_instances, "m", _EntraM365GroupTeamifyCommand_initOptions).call(this);
30
+ __classPrivateFieldGet(this, _EntraM365GroupTeamifyCommand_instances, "m", _EntraM365GroupTeamifyCommand_initValidators).call(this);
31
+ __classPrivateFieldGet(this, _EntraM365GroupTeamifyCommand_instances, "m", _EntraM365GroupTeamifyCommand_initOptionSets).call(this);
28
32
  }
29
33
  async getGroupId(options) {
30
34
  if (options.id) {
@@ -52,7 +56,7 @@ class AadM365GroupTeamifyCommand extends GraphCommand {
52
56
  async commandAction(logger, args) {
53
57
  try {
54
58
  const groupId = await this.getGroupId(args.options);
55
- const isUnifiedGroup = await aadGroup.isUnifiedGroup(groupId);
59
+ const isUnifiedGroup = await entraGroup.isUnifiedGroup(groupId);
56
60
  if (!isUnifiedGroup) {
57
61
  throw Error(`Specified group with id '${groupId}' is not a Microsoft 365 group.`);
58
62
  }
@@ -85,28 +89,28 @@ class AadM365GroupTeamifyCommand extends GraphCommand {
85
89
  }
86
90
  }
87
91
  }
88
- _AadM365GroupTeamifyCommand_instances = new WeakSet(), _AadM365GroupTeamifyCommand_initTelemetry = function _AadM365GroupTeamifyCommand_initTelemetry() {
92
+ _EntraM365GroupTeamifyCommand_instances = new WeakSet(), _EntraM365GroupTeamifyCommand_initTelemetry = function _EntraM365GroupTeamifyCommand_initTelemetry() {
89
93
  this.telemetry.push((args) => {
90
94
  Object.assign(this.telemetryProperties, {
91
95
  id: typeof args.options.id !== 'undefined',
92
96
  mailNickname: typeof args.options.mailNickname !== 'undefined'
93
97
  });
94
98
  });
95
- }, _AadM365GroupTeamifyCommand_initOptions = function _AadM365GroupTeamifyCommand_initOptions() {
99
+ }, _EntraM365GroupTeamifyCommand_initOptions = function _EntraM365GroupTeamifyCommand_initOptions() {
96
100
  this.options.unshift({
97
101
  option: '-i, --id [id]'
98
102
  }, {
99
103
  option: '--mailNickname [mailNickname]'
100
104
  });
101
- }, _AadM365GroupTeamifyCommand_initValidators = function _AadM365GroupTeamifyCommand_initValidators() {
105
+ }, _EntraM365GroupTeamifyCommand_initValidators = function _EntraM365GroupTeamifyCommand_initValidators() {
102
106
  this.validators.push(async (args) => {
103
107
  if (args.options.id && !validation.isValidGuid(args.options.id)) {
104
108
  return `${args.options.id} is not a valid GUID`;
105
109
  }
106
110
  return true;
107
111
  });
108
- }, _AadM365GroupTeamifyCommand_initOptionSets = function _AadM365GroupTeamifyCommand_initOptionSets() {
112
+ }, _EntraM365GroupTeamifyCommand_initOptionSets = function _EntraM365GroupTeamifyCommand_initOptionSets() {
109
113
  this.optionSets.push({ options: ['id', 'mailNickname'] });
110
114
  };
111
- export default new AadM365GroupTeamifyCommand();
115
+ export default new EntraM365GroupTeamifyCommand();
112
116
  //# sourceMappingURL=m365group-teamify.js.map
@@ -3,15 +3,16 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _AadM365GroupUserAddCommand_instances, _AadM365GroupUserAddCommand_initTelemetry, _AadM365GroupUserAddCommand_initOptions, _AadM365GroupUserAddCommand_initValidators, _AadM365GroupUserAddCommand_initOptionSets;
6
+ var _EntraM365GroupUserAddCommand_instances, _EntraM365GroupUserAddCommand_initTelemetry, _EntraM365GroupUserAddCommand_initOptions, _EntraM365GroupUserAddCommand_initValidators, _EntraM365GroupUserAddCommand_initOptionSets;
7
7
  import request from '../../../../request.js';
8
- import { aadGroup } from '../../../../utils/aadGroup.js';
8
+ import { entraGroup } from '../../../../utils/entraGroup.js';
9
9
  import { formatting } from '../../../../utils/formatting.js';
10
10
  import { validation } from '../../../../utils/validation.js';
11
11
  import GraphCommand from '../../../base/GraphCommand.js';
12
12
  import teamsCommands from '../../../teams/commands.js';
13
+ import aadCommands from '../../aadCommands.js';
13
14
  import commands from '../../commands.js';
14
- class AadM365GroupUserAddCommand extends GraphCommand {
15
+ class EntraM365GroupUserAddCommand extends GraphCommand {
15
16
  get name() {
16
17
  return commands.M365GROUP_USER_ADD;
17
18
  }
@@ -19,20 +20,20 @@ class AadM365GroupUserAddCommand extends GraphCommand {
19
20
  return 'Adds user to specified Microsoft 365 Group or Microsoft Teams team';
20
21
  }
21
22
  alias() {
22
- return [teamsCommands.USER_ADD];
23
+ return [teamsCommands.USER_ADD, aadCommands.M365GROUP_USER_ADD];
23
24
  }
24
25
  constructor() {
25
26
  super();
26
- _AadM365GroupUserAddCommand_instances.add(this);
27
- __classPrivateFieldGet(this, _AadM365GroupUserAddCommand_instances, "m", _AadM365GroupUserAddCommand_initTelemetry).call(this);
28
- __classPrivateFieldGet(this, _AadM365GroupUserAddCommand_instances, "m", _AadM365GroupUserAddCommand_initOptions).call(this);
29
- __classPrivateFieldGet(this, _AadM365GroupUserAddCommand_instances, "m", _AadM365GroupUserAddCommand_initValidators).call(this);
30
- __classPrivateFieldGet(this, _AadM365GroupUserAddCommand_instances, "m", _AadM365GroupUserAddCommand_initOptionSets).call(this);
27
+ _EntraM365GroupUserAddCommand_instances.add(this);
28
+ __classPrivateFieldGet(this, _EntraM365GroupUserAddCommand_instances, "m", _EntraM365GroupUserAddCommand_initTelemetry).call(this);
29
+ __classPrivateFieldGet(this, _EntraM365GroupUserAddCommand_instances, "m", _EntraM365GroupUserAddCommand_initOptions).call(this);
30
+ __classPrivateFieldGet(this, _EntraM365GroupUserAddCommand_instances, "m", _EntraM365GroupUserAddCommand_initValidators).call(this);
31
+ __classPrivateFieldGet(this, _EntraM365GroupUserAddCommand_instances, "m", _EntraM365GroupUserAddCommand_initOptionSets).call(this);
31
32
  }
32
33
  async commandAction(logger, args) {
33
34
  try {
34
35
  const providedGroupId = (typeof args.options.groupId !== 'undefined') ? args.options.groupId : args.options.teamId;
35
- const isUnifiedGroup = await aadGroup.isUnifiedGroup(providedGroupId);
36
+ const isUnifiedGroup = await entraGroup.isUnifiedGroup(providedGroupId);
36
37
  if (!isUnifiedGroup) {
37
38
  throw Error(`Specified group with id '${providedGroupId}' is not a Microsoft 365 group.`);
38
39
  }
@@ -60,7 +61,7 @@ class AadM365GroupUserAddCommand extends GraphCommand {
60
61
  }
61
62
  }
62
63
  }
63
- _AadM365GroupUserAddCommand_instances = new WeakSet(), _AadM365GroupUserAddCommand_initTelemetry = function _AadM365GroupUserAddCommand_initTelemetry() {
64
+ _EntraM365GroupUserAddCommand_instances = new WeakSet(), _EntraM365GroupUserAddCommand_initTelemetry = function _EntraM365GroupUserAddCommand_initTelemetry() {
64
65
  this.telemetry.push((args) => {
65
66
  Object.assign(this.telemetryProperties, {
66
67
  role: args.options.role,
@@ -68,7 +69,7 @@ _AadM365GroupUserAddCommand_instances = new WeakSet(), _AadM365GroupUserAddComma
68
69
  groupId: typeof args.options.groupId !== 'undefined'
69
70
  });
70
71
  });
71
- }, _AadM365GroupUserAddCommand_initOptions = function _AadM365GroupUserAddCommand_initOptions() {
72
+ }, _EntraM365GroupUserAddCommand_initOptions = function _EntraM365GroupUserAddCommand_initOptions() {
72
73
  this.options.unshift({
73
74
  option: '-n, --userName <userName>'
74
75
  }, {
@@ -79,7 +80,7 @@ _AadM365GroupUserAddCommand_instances = new WeakSet(), _AadM365GroupUserAddComma
79
80
  option: '-r, --role [role]',
80
81
  autocomplete: ['Owner', 'Member']
81
82
  });
82
- }, _AadM365GroupUserAddCommand_initValidators = function _AadM365GroupUserAddCommand_initValidators() {
83
+ }, _EntraM365GroupUserAddCommand_initValidators = function _EntraM365GroupUserAddCommand_initValidators() {
83
84
  this.validators.push(async (args) => {
84
85
  if (args.options.teamId && !validation.isValidGuid(args.options.teamId)) {
85
86
  return `${args.options.teamId} is not a valid GUID`;
@@ -94,8 +95,8 @@ _AadM365GroupUserAddCommand_instances = new WeakSet(), _AadM365GroupUserAddComma
94
95
  }
95
96
  return true;
96
97
  });
97
- }, _AadM365GroupUserAddCommand_initOptionSets = function _AadM365GroupUserAddCommand_initOptionSets() {
98
+ }, _EntraM365GroupUserAddCommand_initOptionSets = function _EntraM365GroupUserAddCommand_initOptionSets() {
98
99
  this.optionSets.push({ options: ['groupId', 'teamId'] });
99
100
  };
100
- export default new AadM365GroupUserAddCommand();
101
+ export default new EntraM365GroupUserAddCommand();
101
102
  //# sourceMappingURL=m365group-user-add.js.map