@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 user get
5
+ # entra user get
6
6
 
7
7
  Gets information about the specified user
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user get [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user get [options]
13
19
  ```
@@ -44,43 +50,43 @@ If the user with the specified id, user name, or email doesn't exist, you will g
44
50
  Get information about the user with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_
45
51
 
46
52
  ```sh
47
- m365 aad user get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
53
+ m365 entra user get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
48
54
  ```
49
55
 
50
56
  Get information about the user by user name
51
57
 
52
58
  ```sh
53
- m365 aad user get --userName AarifS@contoso.onmicrosoft.com
59
+ m365 entra user get --userName AarifS@contoso.onmicrosoft.com
54
60
  ```
55
61
 
56
62
  Get information about the user by email
57
63
 
58
64
  ```sh
59
- m365 aad user get --email AarifS@contoso.onmicrosoft.com
65
+ m365 entra user get --email AarifS@contoso.onmicrosoft.com
60
66
  ```
61
67
 
62
68
  For the user with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_ retrieve the user name, e-mail address and full name
63
69
 
64
70
  ```sh
65
- m365 aad user get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --properties "userPrincipalName,mail,displayName"
71
+ m365 entra user get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --properties "userPrincipalName,mail,displayName"
66
72
  ```
67
73
 
68
74
  Get information about the currently logged user using the Id token
69
75
 
70
76
  ```sh
71
- m365 aad user get --id "@meId"
77
+ m365 entra user get --id "@meId"
72
78
  ```
73
79
 
74
80
  Get information about the currently logged in user using the UserName token
75
81
 
76
82
  ```sh
77
- m365 aad user get --userName "@meUserName"
83
+ m365 entra user get --userName "@meUserName"
78
84
  ```
79
85
 
80
86
  Get information about a user with the manager's details
81
87
 
82
88
  ```sh
83
- m365 aad user get --userName AarifS@contoso.onmicrosoft.com --withManager
89
+ m365 entra user get --userName AarifS@contoso.onmicrosoft.com --withManager
84
90
  ```
85
91
 
86
92
  ## Response
@@ -135,7 +141,7 @@ m365 aad user get --userName AarifS@contoso.onmicrosoft.com --withManager
135
141
  <TabItem value="Markdown">
136
142
 
137
143
  ```md
138
- # aad user get --userName "john.doe@contoso.com"
144
+ # entra user get --userName "john.doe@contoso.com"
139
145
 
140
146
  Date: 16/02/2023
141
147
 
@@ -217,7 +223,7 @@ When we make use of the option `withManager` the response will differ.
217
223
  <TabItem value="Markdown">
218
224
 
219
225
  ```md
220
- # aad user get --userName "john.doe@contoso.com" --withManager
226
+ # entra user get --userName "john.doe@contoso.com" --withManager
221
227
 
222
228
  Date: 16/02/2023
223
229
 
@@ -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 user guest add
5
+ # entra user guest add
6
6
 
7
7
  Invite an external user to the organization
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user guest add [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user guest add [options]
13
19
  ```
@@ -44,19 +50,19 @@ m365 aad user guest add [options]
44
50
  Invite a user via email and set the display name
45
51
 
46
52
  ```sh
47
- m365 aad user guest add --emailAddress john.doe@contoso.com --displayName "John Doe" --sendInvitationMessage
53
+ m365 entra user guest add --emailAddress john.doe@contoso.com --displayName "John Doe" --sendInvitationMessage
48
54
  ```
49
55
 
50
56
  Invite a user with a custom email and custom redirect url
51
57
 
52
58
  ```sh
53
- m365 aad user guest add --emailAddress john.doe@contoso.com --welcomeMessage "Hi John, welcome to the organization!" --inviteRedirectUrl https://contoso.sharepoint.com --sendInvitationMessage
59
+ m365 entra user guest add --emailAddress john.doe@contoso.com --welcomeMessage "Hi John, welcome to the organization!" --inviteRedirectUrl https://contoso.sharepoint.com --sendInvitationMessage
54
60
  ```
55
61
 
56
62
  Invite a user and send an invitation mail in Dutch
57
63
 
58
64
  ```sh
59
- m365 aad user guest add --emailAddress john.doe@contoso.com --messageLanguage nl-BE --sendInvitationMessage
65
+ m365 entra user guest add --emailAddress john.doe@contoso.com --messageLanguage nl-BE --sendInvitationMessage
60
66
  ```
61
67
 
62
68
  ## Response
@@ -119,7 +125,7 @@ m365 aad user guest add --emailAddress john.doe@contoso.com --messageLanguage nl
119
125
  <TabItem value="Markdown">
120
126
 
121
127
  ```md
122
- # aad user guest add --emailAddress "john@contoso.onmicrosoft.com" --displayName "John Doe" --sendInvitationMessage "true"
128
+ # entra user guest add --emailAddress "john@contoso.onmicrosoft.com" --displayName "John Doe" --sendInvitationMessage "true"
123
129
 
124
130
  Date: 2023-06-02
125
131
 
@@ -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 user hibp
5
+ # entra user hibp
6
6
 
7
7
  Allows you to retrieve all accounts that have been pwned with the specified username
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user hibp [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user hibp [options]
13
19
  ```
@@ -38,13 +44,13 @@ If `API Key` is invalid, you will get a `Required option apiKey not specified` e
38
44
  Check if user with by a user name is in a data breach
39
45
 
40
46
  ```sh
41
- m365 aad user hibp --userName account-exists@hibp-integration-tests.com --apiKey _YOUR-API-KEY_
47
+ m365 entra user hibp --userName account-exists@hibp-integration-tests.com --apiKey _YOUR-API-KEY_
42
48
  ```
43
49
 
44
50
  Check if user by a user name is in a data breach against the domain specified
45
51
 
46
52
  ```sh
47
- m365 aad user hibp --userName account-exists@hibp-integration-tests.com --apiKey _YOUR-API-KEY_ --domain adobe.com
53
+ m365 entra user hibp --userName account-exists@hibp-integration-tests.com --apiKey _YOUR-API-KEY_ --domain adobe.com
48
54
  ```
49
55
 
50
56
  ## Response
@@ -100,7 +106,7 @@ m365 aad user hibp --userName account-exists@hibp-integration-tests.com --apiKey
100
106
  <TabItem value="Markdown">
101
107
 
102
108
  ```md
103
- # aad user hibp --userName "account-exists@hibp-integration-tests.com" --apiKey "_YOUR-API-KEY_"
109
+ # entra user hibp --userName "account-exists@hibp-integration-tests.com" --apiKey "_YOUR-API-KEY_"
104
110
 
105
111
  Date: 2023-06-02
106
112
 
@@ -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 user license add
5
+ # entra user license add
6
6
 
7
7
  Assigns a license to a user
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user license add [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user license add [options]
13
19
  ```
@@ -40,13 +46,13 @@ The user must have a `usageLocation` value in order to assign a license to it.
40
46
  Assign specific licenses to a specific user by UPN.
41
47
 
42
48
  ```sh
43
- m365 aad user license add --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
49
+ m365 entra user license add --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
44
50
  ```
45
51
 
46
52
  Assign specific licenses from a specific user by ID.
47
53
 
48
54
  ```sh
49
- m365 aad user license add --userId "5c241023-2ba5-4ea8-a516-a2481a3e6c51" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
55
+ m365 entra user license add --userId "5c241023-2ba5-4ea8-a516-a2481a3e6c51" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
50
56
  ```
51
57
 
52
58
  ## Response
@@ -99,7 +105,7 @@ m365 aad user license add --userId "5c241023-2ba5-4ea8-a516-a2481a3e6c51" --ids
99
105
  <TabItem value="Markdown">
100
106
 
101
107
  ```md
102
- # aad user license add --userName "John@contoso.onmicrosoft.com" --ids "f30db892-07e9-47e9-837c-80727f46fd3d,606b54a9-78d8-4298-ad8b-df6ef4481c80"
108
+ # entra user license add --userName "John@contoso.onmicrosoft.com" --ids "f30db892-07e9-47e9-837c-80727f46fd3d,606b54a9-78d8-4298-ad8b-df6ef4481c80"
103
109
 
104
110
  Date: 16/2/2023
105
111
 
@@ -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 user license list
5
+ # entra user license list
6
6
 
7
7
  Lists the license details for a given user
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user license list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user license list [options]
13
19
  ```
@@ -37,19 +43,19 @@ If you don't specify any option, the command will list the license details of th
37
43
  List license details of the current logged in user.
38
44
 
39
45
  ```sh
40
- m365 aad user license list
46
+ m365 entra user license list
41
47
  ```
42
48
 
43
49
  List license details of a specific user by its UPN.
44
50
 
45
51
  ```sh
46
- m365 aad user license list --userName john.doe@contoso.com
52
+ m365 entra user license list --userName john.doe@contoso.com
47
53
  ```
48
54
 
49
55
  List license details of a specific user by its ID.
50
56
 
51
57
  ```sh
52
- m365 aad user license list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
58
+ m365 entra user license list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
53
59
  ```
54
60
 
55
61
  ## Response
@@ -96,7 +102,7 @@ m365 aad user license list --userId 59f80e08-24b1-41f8-8586-16765fd830d3
96
102
  <TabItem value="Markdown">
97
103
 
98
104
  ```md
99
- # aad user license list --userId "0c9c625f-faa9-4c3b-8cd8-d874b869f78c"
105
+ # entra user license list --userId "0c9c625f-faa9-4c3b-8cd8-d874b869f78c"
100
106
 
101
107
  Date: 2/19/2023
102
108
 
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad user license remove
3
+ # entra user license remove
4
4
 
5
5
  Removes a license from a user
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra user license remove [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad user license remove [options]
11
17
  ```
@@ -33,13 +39,13 @@ m365 aad user license remove [options]
33
39
  Remove specific licenses from a specific user by UPN
34
40
 
35
41
  ```sh
36
- m365 aad user license remove --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
42
+ m365 entra user license remove --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
37
43
  ```
38
44
 
39
45
  Remove specific licenses from a specific user by ID
40
46
 
41
47
  ```sh
42
- m365 aad user license remove --userId 5c241023-2ba5-4ea8-a516-a2481a3e6c51 --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
48
+ m365 entra user license remove --userId 5c241023-2ba5-4ea8-a516-a2481a3e6c51 --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
43
49
  ```
44
50
 
45
51
  ## 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 user list
5
+ # entra user list
6
6
 
7
7
  Lists users matching specified criteria
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user list [options]
13
19
  ```
@@ -34,25 +40,25 @@ Certain properties cannot be returned within a user collection. The following pr
34
40
  List all users in the tenant
35
41
 
36
42
  ```sh
37
- m365 aad user list
43
+ m365 entra user list
38
44
  ```
39
45
 
40
46
  List all users in the tenant. For each one return the display name and e-mail address
41
47
 
42
48
  ```sh
43
- m365 aad user list --properties "displayName,mail"
49
+ m365 entra user list --properties "displayName,mail"
44
50
  ```
45
51
 
46
52
  Show users whose display name starts with _Patt_
47
53
 
48
54
  ```sh
49
- m365 aad user list --displayName Patt
55
+ m365 entra user list --displayName Patt
50
56
  ```
51
57
 
52
58
  Show all account managers whose display name starts with _Patt_
53
59
 
54
60
  ```sh
55
- m365 aad user list --displayName Patt --jobTitle 'Account manager'
61
+ m365 entra user list --displayName Patt --jobTitle 'Account manager'
56
62
  ```
57
63
 
58
64
  ## Response
@@ -90,7 +96,7 @@ m365 aad user list --displayName Patt --jobTitle 'Account manager'
90
96
  <TabItem value="Markdown">
91
97
 
92
98
  ```md
93
- # aad user list
99
+ # entra user list
94
100
 
95
101
  Date: 2023-06-02
96
102
 
@@ -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 user password validate
5
+ # entra user password validate
6
6
 
7
7
  Check a user's password against the organization's password validation policy
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user password validate [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user password validate [options]
13
19
  ```
@@ -34,7 +40,7 @@ This command is based on an API that is currently in preview and is subject to c
34
40
  Validate password _cli365P@ssW0rd_ against the organization's password validation policy
35
41
 
36
42
  ```sh
37
- m365 aad user password validate --password "cli365P@ssW0rd"
43
+ m365 entra user password validate --password "cli365P@ssW0rd"
38
44
  ```
39
45
 
40
46
  ## Response
@@ -90,7 +96,7 @@ m365 aad user password validate --password "cli365P@ssW0rd"
90
96
  <TabItem value="Markdown">
91
97
 
92
98
  ```md
93
- # aad user password validate --password "cli365P@ssW0rd"
99
+ # entra user password validate --password "cli365P@ssW0rd"
94
100
 
95
101
  Date: 2023-06-02
96
102
 
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad user recyclebinitem clear
3
+ # entra user recyclebinitem clear
4
4
 
5
5
  Removes all users from the tenant recycle bin
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra user recyclebinitem clear [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad user recyclebinitem clear [options]
11
17
  ```
@@ -38,13 +44,13 @@ After running this command, it may take a minute before all deleted users are ef
38
44
  Removes all users from the tenant recycle bin
39
45
 
40
46
  ```sh
41
- m365 aad user recyclebinitem clear
47
+ m365 entra user recyclebinitem clear
42
48
  ```
43
49
 
44
50
  Removes all users from the tenant recycle bin without confirmation prompt
45
51
 
46
52
  ```sh
47
- m365 aad user recyclebinitem clear --force
53
+ m365 entra user recyclebinitem clear --force
48
54
  ```
49
55
 
50
56
  ## 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 user recyclebinitem list
5
+ # entra user recyclebinitem list
6
6
 
7
7
  Lists users from the recycle bin in the current tenant
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user recyclebinitem list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user recyclebinitem list [options]
13
19
  ```
@@ -21,7 +27,7 @@ m365 aad user recyclebinitem list [options]
21
27
  List all removed users.
22
28
 
23
29
  ```sh
24
- m365 aad user recyclebinitem list
30
+ m365 entra user recyclebinitem list
25
31
  ```
26
32
 
27
33
  ## Response
@@ -68,7 +74,7 @@ m365 aad user recyclebinitem list
68
74
  <TabItem value="Markdown">
69
75
 
70
76
  ```md
71
- # aad user recyclebinitem list
77
+ # entra user recyclebinitem list
72
78
 
73
79
  Date: 14/02/2023
74
80
 
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad user recyclebinitem remove
3
+ # entra user recyclebinitem remove
4
4
 
5
5
  Removes a user from the recycle bin in the current tenant
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra user recyclebinitem remove [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad user recyclebinitem remove [options]
11
17
  ```
@@ -41,13 +47,13 @@ After running this command, it may take a minute before the deleted user is effe
41
47
  Removes a specific user from the recycle bin
42
48
 
43
49
  ```sh
44
- m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3
50
+ m365 entra user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3
45
51
  ```
46
52
 
47
53
  Removes a specific user from the recycle bin without confirmation prompt
48
54
 
49
55
  ```sh
50
- m365 aad user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3 --force
56
+ m365 entra user recyclebinitem remove --id 59f80e08-24b1-41f8-8586-16765fd830d3 --force
51
57
  ```
52
58
 
53
59
  ## 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 user recyclebinitem restore
5
+ # entra user recyclebinitem restore
6
6
 
7
7
  Restores a user from the recycle bin in the current tenant
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user recyclebinitem restore [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user recyclebinitem restore [options]
13
19
  ```
@@ -40,7 +46,7 @@ After running this command, it may take a minute before the user will reappear i
40
46
  Restore user from the recycle bin.
41
47
 
42
48
  ```sh
43
- m365 aad user recyclebinitem restore --id 990e2425-f595-43bc-85ed-b89a44093793
49
+ m365 entra user recyclebinitem restore --id 990e2425-f595-43bc-85ed-b89a44093793
44
50
  ```
45
51
 
46
52
  ## Response
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad user remove
3
+ # entra user remove
4
4
 
5
5
  Removes a specific user
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra user remove [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad user remove [options]
11
17
  ```
@@ -50,13 +56,13 @@ After running this command, it may take a minute before the user is effectively
50
56
  Removes a specific user by id
51
57
 
52
58
  ```sh
53
- m365 aad user remove --id a33bd401-9117-4e0e-bb7b-3f61c1539e10
59
+ m365 entra user remove --id a33bd401-9117-4e0e-bb7b-3f61c1539e10
54
60
  ```
55
61
 
56
62
  Removes a specific user by its UPN
57
63
 
58
64
  ```sh
59
- m365 aad user remove --userName john.doe@contoso.com
65
+ m365 entra user remove --userName john.doe@contoso.com
60
66
  ```
61
67
 
62
68
  ## Response
@@ -1,11 +1,17 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # aad user set
3
+ # entra user set
4
4
 
5
5
  Updates information of the specified user
6
6
 
7
7
  ## Usage
8
8
 
9
+ ```sh
10
+ m365 entra user set [options]
11
+ ```
12
+
13
+ ## Alias
14
+
9
15
  ```sh
10
16
  m365 aad user set [options]
11
17
  ```
@@ -87,48 +93,48 @@ If the user with the specified ID or username doesn't exist, or if the specified
87
93
  Update specific property _department_ of user with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_
88
94
 
89
95
  ```sh
90
- m365 aad user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --department IT
96
+ m365 entra user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --department IT
91
97
  ```
92
98
 
93
99
  Update multiple properties of user by name
94
100
  ```sh
95
- m365 aad user set --userName steve@contoso.onmicrosoft.com --firstName John --lastName Doe --jobTitle "Sales Manager" --companyName Contoso --department Sales --officeLocation "New York"
101
+ m365 entra user set --userName steve@contoso.onmicrosoft.com --firstName John --lastName Doe --jobTitle "Sales Manager" --companyName Contoso --department Sales --officeLocation "New York"
96
102
  ```
97
103
 
98
104
  Enable user with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_
99
105
 
100
106
  ```sh
101
- m365 aad user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --accountEnabled true
107
+ m365 entra user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --accountEnabled true
102
108
  ```
103
109
 
104
110
  Disable user with id _1caf7dcd-7e83-4c3a-94f7-932a1299c844_
105
111
 
106
112
  ```sh
107
- m365 aad user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --accountEnabled false
113
+ m365 entra user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --accountEnabled false
108
114
  ```
109
115
 
110
116
  Reset password of a given user by userName and require the user to change the password on the next sign in
111
117
 
112
118
  ```sh
113
- m365 aad user set --userName steve@contoso.onmicrosoft.com --resetPassword --newPassword 6NLUId79Lc24 --forceChangePasswordNextSignIn
119
+ m365 entra user set --userName steve@contoso.onmicrosoft.com --resetPassword --newPassword 6NLUId79Lc24 --forceChangePasswordNextSignIn
114
120
  ```
115
121
 
116
122
  Change password of the currently logged in user
117
123
 
118
124
  ```sh
119
- m365 aad user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --currentPassword SLBF5gnRtyYc --newPassword 6NLUId79Lc24
125
+ m365 entra user set --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844 --currentPassword SLBF5gnRtyYc --newPassword 6NLUId79Lc24
120
126
  ```
121
127
 
122
128
  Updates a user with a manager
123
129
 
124
130
  ```sh
125
- m365 aad user set --displayName "John Doe" --userName "john.doe@contoso.com" --managerUserName "adele@contoso.com"
131
+ m365 entra user set --displayName "John Doe" --userName "john.doe@contoso.com" --managerUserName "adele@contoso.com"
126
132
  ```
127
133
 
128
134
  Updates a user by removing its manager
129
135
 
130
136
  ```sh
131
- m365 aad user set --userName "john.doe@contoso.com" --removeManager
137
+ m365 entra user set --userName "john.doe@contoso.com" --removeManager
132
138
  ```
133
139
 
134
140
  ## Response