@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 signin list
5
+ # entra user signin list
6
6
 
7
- Retrieves the Azure AD user sign-ins for the tenant
7
+ Retrieves the Entra ID user sign-ins for the tenant
8
8
 
9
9
  ## Usage
10
10
 
11
+ ```sh
12
+ m365 entra user signin list [options]
13
+ ```
14
+
15
+ ## Alias
16
+
11
17
  ```sh
12
18
  m365 aad user signin list [options]
13
19
  ```
@@ -35,55 +41,55 @@ m365 aad user signin list [options]
35
41
  Get all user's sign-ins in your tenant
36
42
 
37
43
  ```sh
38
- m365 aad user signin list
44
+ m365 entra user signin list
39
45
  ```
40
46
 
41
47
  Get all user's sign-ins filter by given user's UPN in the tenant
42
48
 
43
49
  ```sh
44
- m365 aad user signin list --userName 'johndoe@example.com'
50
+ m365 entra user signin list --userName 'johndoe@example.com'
45
51
  ```
46
52
 
47
53
  Get all user's sign-ins filter by given user's Id in the tenant
48
54
 
49
55
  ```sh
50
- m365 aad user signin list --userId '11111111-1111-1111-1111-111111111111'
56
+ m365 entra user signin list --userId '11111111-1111-1111-1111-111111111111'
51
57
  ```
52
58
 
53
59
  Get all user's sign-ins filter by given application display name in the tenant
54
60
 
55
61
  ```sh
56
- m365 aad user signin list --appDisplayName 'Graph explorer'
62
+ m365 entra user signin list --appDisplayName 'Graph explorer'
57
63
  ```
58
64
 
59
65
  Get all user's sign-ins filter by given application identifier in the tenant
60
66
 
61
67
  ```sh
62
- m365 aad user signin list --appId '00000000-0000-0000-0000-000000000000'
68
+ m365 entra user signin list --appId '00000000-0000-0000-0000-000000000000'
63
69
  ```
64
70
 
65
71
  Get all user's sign-ins filter by given user's UPN and application display name in the tenant
66
72
 
67
73
  ```sh
68
- m365 aad user signin list --userName 'johndoe@example.com' --appDisplayName 'Graph explorer'
74
+ m365 entra user signin list --userName 'johndoe@example.com' --appDisplayName 'Graph explorer'
69
75
  ```
70
76
 
71
77
  Get all user's sign-ins filter by given user's Id and application display name in the tenant
72
78
 
73
79
  ```sh
74
- m365 aad user signin list --userId '11111111-1111-1111-1111-111111111111' --appDisplayName 'Graph explorer'
80
+ m365 entra user signin list --userId '11111111-1111-1111-1111-111111111111' --appDisplayName 'Graph explorer'
75
81
  ```
76
82
 
77
83
  Get all user's sign-ins filter by given user's UPN and application identifier in the tenant
78
84
 
79
85
  ```sh
80
- m365 aad user signin list --userName 'johndoe@example.com' --appId '00000000-0000-0000-0000-000000000000'
86
+ m365 entra user signin list --userName 'johndoe@example.com' --appId '00000000-0000-0000-0000-000000000000'
81
87
  ```
82
88
 
83
89
  Get all user's sign-ins filter by given user's Id and application identifier in the tenant
84
90
 
85
91
  ```sh
86
- m365 aad user signin list --userId '11111111-1111-1111-1111-111111111111' --appId '00000000-0000-0000-0000-000000000000'
92
+ m365 entra user signin list --userId '11111111-1111-1111-1111-111111111111' --appId '00000000-0000-0000-0000-000000000000'
87
93
  ```
88
94
 
89
95
  ## Response
@@ -178,13 +184,13 @@ m365 aad user signin list --userId '11111111-1111-1111-1111-111111111111' --appI
178
184
  <TabItem value="Markdown">
179
185
 
180
186
  ```md
181
- # aad user signin list
187
+ # entra user signin list
182
188
 
183
189
  Date: 2023-06-02
184
190
 
185
191
  Property | Value
186
192
  ---------|-------
187
- # aad user signin list
193
+ # entra user signin list
188
194
 
189
195
  Date: 2023-06-02
190
196
 
@@ -0,0 +1,47 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # external connection urltoitemresolver add
4
+
5
+ Adds a URL to item resolver to an external connection
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 external connection urltoitemresolver add [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-c, --externalConnectionId <externalConnectionId>`
17
+ : The ID of the external connection to which to add the resolver
18
+
19
+ `--baseUrls <baseUrls>`
20
+ : Comma-separated list of base URLs
21
+
22
+ `--urlPattern <urlPattern>`
23
+ : Regex pattern to match URLs
24
+
25
+ `-i, --itemId <itemId>`
26
+ : Pattern that matches captured matches from the URL with the external item ID
27
+
28
+ `-p, --priority <priority>`
29
+ : Integer that defines the resolution order
30
+ ```
31
+ <Global />
32
+
33
+ ## Examples
34
+
35
+ Adds a URL to item resolver to an existing connection
36
+
37
+ ```sh
38
+ m365 external connection urltoitemresolver add --externalConnectionId "samplesolutiongallery" --baseUrls "https://adoption.microsoft.com" --urlPattern "/sample-solution-gallery/sample/(?<sampleId>[^/]+)" --itemId "{sampleId}" --priority 1
39
+ ```
40
+
41
+ ## Response
42
+
43
+ The command won't return a response on success.
44
+
45
+ ## More information
46
+
47
+ - Microsoft Graph external connection activitySettings: [https://learn.microsoft.com/graph/api/resources/externalconnectors-activitysettings?view=graph-rest-1.0](https://learn.microsoft.com/graph/api/resources/externalconnectors-activitysettings?view=graph-rest-1.0)
@@ -25,7 +25,14 @@ m365 flow run get [options]
25
25
  : The name of the environment where the flow is located
26
26
 
27
27
  `--includeTriggerInformation`
28
+ : (deprecated. Use option `withTrigger` instead) If specified, include information about the trigger details
29
+
30
+ `--withTrigger`
28
31
  : If specified, include information about the trigger details
32
+
33
+ `--withActions [withActions]`
34
+ : If specified, include information about all actions when no action names are specified, or provide a specified list of actions separated by commas to include only the relevant action details
35
+
29
36
  ```
30
37
 
31
38
  <Global />
@@ -44,7 +51,7 @@ If the Microsoft Flow with the name you specified doesn't exist, you will get th
44
51
 
45
52
  If the run with the name you specified doesn't exist, you will get the `The provided workflow run name is not valid.` error.
46
53
 
47
- If the option `includeTriggerInformation` is specified, but the trigger does not contain an outputsLink such as for example with a `Recurrence` trigger, this option will be ignored.
54
+ If the option `withTrigger` is specified, but the trigger does not contain an outputsLink such as for example with a `Recurrence` trigger, this option will be ignored.
48
55
 
49
56
  ## Examples
50
57
 
@@ -57,7 +64,19 @@ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
57
64
  Get information about the given run of the specified Power Automate flow including trigger information
58
65
 
59
66
  ```sh
60
- m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --includeTriggerInformation
67
+ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withTrigger
68
+ ```
69
+
70
+ Get information about the given run of the specified Power Automate flow including details about all associated actions.
71
+
72
+ ```sh
73
+ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withActions
74
+ ```
75
+
76
+ Get information about the given run of the specified Power Automate flow including exclusively the details of 'Action_Internal_Name1' and 'Action_Internal_Name2' actions
77
+
78
+ ```sh
79
+ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --flowName 5923cb07-ce1a-4a5c-ab81-257ce820109a --name 08586653536760200319026785874CU62 --withActions "Action_Internal_Name1,Action_Internal_Name2"
61
80
  ```
62
81
 
63
82
  ## Response
@@ -157,9 +176,9 @@ m365 flow run get --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5
157
176
  </TabItem>
158
177
  </Tabs>
159
178
 
160
- ### `includeTriggerInformation` response
179
+ ### `withTrigger` response
161
180
 
162
- When using the option `includeTriggerInformation`, the response for the json-output will differ.
181
+ When using the option `withTrigger`, the response for the json-output will differ.
163
182
 
164
183
  <Tabs>
165
184
  <TabItem value="JSON">
@@ -233,3 +252,147 @@ When using the option `includeTriggerInformation`, the response for the json-out
233
252
  </TabItem>
234
253
  </Tabs>
235
254
 
255
+ ### `withActions` response
256
+
257
+ When using the option `withActions`, the response for the json-output will differ.
258
+
259
+ <Tabs>
260
+ <TabItem value="JSON">
261
+
262
+ ```json
263
+ {
264
+ "name": "08585236861638480597867166179CU104",
265
+ "id": "/providers/Microsoft.ProcessSimple/environments/Default-e1dd4023-a656-480a-8a0e-c1b1eec51e1d/flows/24335774-daf6-4183-acb7-f5155c2cd2fe/runs/08585236861638480597867166179CU104",
266
+ "type": "Microsoft.ProcessSimple/environments/flows/runs",
267
+ "properties": {
268
+ "actions":{
269
+ "Compose": {
270
+ "input": "Test",
271
+ "inputsLink": {
272
+ "uri": "https://prod-255.westeurope.logic.azure.com:443/workflows/88b5146587d144ea85efb15683c4e58f/runs/08586652586741142222645090602CU35/actions/Compose/contents/ActionInputs?api-version=2016-06-01&se=2023-12-14T19%3A00%3A00.0000000Z&sp=%2Fruns%2F08586652586741142222645090602CU35%2Factions%2FCompose%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=wYD6bMHjdoOawYAMTHqpmyILowLKRCkFEfsNxi1NFzw",
273
+ "contentVersion": "test==",
274
+ "contentSize": 6,
275
+ "contentHash": {
276
+ "algorithm": "md5",
277
+ "value": "test=="
278
+ }
279
+ },
280
+ "output": "Test",
281
+ "outputsLink": {
282
+ "uri": "https://prod-255.westeurope.logic.azure.com:443/workflows/88b5146587d144ea85efb15683c4e58f/runs/08586652586741142222645090602CU35/actions/Compose/contents/ActionOutputs?api-version=2016-06-01&se=2023-12-14T19%3A00%3A00.0000000Z&sp=%2Fruns%2F08586652586741142222645090602CU35%2Factions%2FCompose%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=KoI4_RAEVNFUgymktOFxvfb5mCoIKR2WCYGwexjD7kY",
283
+ "contentVersion": "test==",
284
+ "contentSize": 6,
285
+ "contentHash": {
286
+ "algorithm": "md5",
287
+ "value": "test=="
288
+ }
289
+ },
290
+ "startTime": "2023-11-17T21:06:14.466889Z",
291
+ "endTime": "2023-11-17T21:06:14.4676104Z",
292
+ "correlation": {
293
+ "actionTrackingId": "dabed750-0ec4-4c34-98f5-cc3695e0811e",
294
+ "clientTrackingId": "08585013686846794051719443325CU251",
295
+ "clientKeywords": [
296
+ "resubmitFlow"
297
+ ]
298
+ },
299
+ "status": "Succeeded",
300
+ "code": "OK"
301
+ }
302
+ },
303
+ "startTime": "2023-03-04T09:05:21.8066368Z",
304
+ "endTime": "2023-03-04T09:05:22.5880202Z",
305
+ "status": "Succeeded",
306
+ "correlation": {
307
+ "clientTrackingId": "08585236861638480598867166179CU131"
308
+ },
309
+ "trigger": {
310
+ "name": "When_an_email_is_flagged_(V4)",
311
+ "inputsLink": {
312
+ "uri": "https://prod-130.westeurope.logic.azure.com:443/workflows/3ebadb794f6641e0b7f4fda131cdfb0b/runs/08585236861638480597867166179CU104/contents/TriggerInputs?api-version=2016-06-01&se=2023-03-04T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585236861638480597867166179CU104%2Fcontents%2FTriggerInputs%2Fread&sv=1.0&sig=",
313
+ "contentVersion": "2v/VLXFrKV6JvwSdcN7aHg==",
314
+ "contentSize": 343,
315
+ "contentHash": {
316
+ "algorithm": "md5",
317
+ "value": "2v/VLXFrKV6JvwSdcN7aHg=="
318
+ }
319
+ },
320
+ "outputsLink": {
321
+ "uri": "https://prod-130.westeurope.logic.azure.com:443/workflows/3ebadb794f6641e0b7f4fda131cdfb0b/runs/08585236861638480597867166179CU104/contents/TriggerOutputs?api-version=2016-06-01&se=2023-03-04T14%3A00%3A00.0000000Z&sp=%2Fruns%2F08585236861638480597867166179CU104%2Fcontents%2FTriggerOutputs%2Fread&sv=1.0&sig=",
322
+ "contentVersion": "AHZEeWNlQ0bLe48yDmpzrQ==",
323
+ "contentSize": 3478,
324
+ "contentHash": {
325
+ "algorithm": "md5",
326
+ "value": "AHZEeWNlQ0bLe48yDmpzrQ=="
327
+ }
328
+ },
329
+ "startTime": "2023-03-04T09:05:21.6192576Z",
330
+ "endTime": "2023-03-04T09:05:21.7442626Z",
331
+ "scheduledTime": "2023-03-04T09:05:21.573561Z",
332
+ "originHistoryName": "08585236861638480598867166179CU131",
333
+ "correlation": {
334
+ "clientTrackingId": "08585236861638480598867166179CU131"
335
+ },
336
+ "code": "OK",
337
+ "status": "Succeeded"
338
+ }
339
+ },
340
+ "startTime": "2023-03-04T09:05:21.8066368Z",
341
+ "endTime": "2023-03-04T09:05:22.5880202Z",
342
+ "status": "Succeeded",
343
+ "triggerName": "When_an_email_is_flagged_(V4)",
344
+ "triggerInformation": {
345
+ "from": "john@contoso.com",
346
+ "toRecipients": "doe@contoso.com",
347
+ "subject": "Dummy email",
348
+ "body": "<html><head>\r\\\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"></head><body><p>This is dummy content</p></body></html>",
349
+ "importance": "normal",
350
+ "bodyPreview": "This is dummy content",
351
+ "hasAttachments": false,
352
+ "id": "AAMkADgzN2Q1NThiLTI0NjYtNGIxYS05MDdjLTg1OWQxNzgwZGM2ZgBGAAAAAAC6jQfUzacTSIHqMw2yacnUBwBiOC8xvYmdT6G2E_hLMK5kAAAAAAEMAABiOC8xvYmdT6G2E_hLMK5kAALUqy81AAA=",
353
+ "internetMessageId": "<DB7PR03MB5018879914324FC65695809FE1AD9@DB7PR03MB5018.eurprd03.prod.outlook.com>",
354
+ "conversationId": "AAQkADgzN2Q1NThiLTI0NjYtNGIxYS05MDdjLTg1OWQxNzgwZGM2ZgAQAMqP9zsK8a1CnIYEgHclLTk=",
355
+ "receivedDateTime": "2023-03-01T15:06:57+00:00",
356
+ "isRead": false,
357
+ "attachments": [],
358
+ "isHtml": true
359
+ },
360
+ "actions": {
361
+ "Compose": {
362
+ "input": "Test",
363
+ "inputsLink": {
364
+ "uri": "https://prod-255.westeurope.logic.azure.com:443/workflows/88b5146587d144ea85efb15683c4e58f/runs/08586652586741142222645090602CU35/actions/Compose/contents/ActionInputs?api-version=2016-06-01&se=2023-12-14T19%3A00%3A00.0000000Z&sp=%2Fruns%2F08586652586741142222645090602CU35%2Factions%2FCompose%2Fcontents%2FActionInputs%2Fread&sv=1.0&sig=wYD6bMHjdoOawYAMTHqpmyILowLKRCkFEfsNxi1NFzw",
365
+ "contentVersion": "test==",
366
+ "contentSize": 6,
367
+ "contentHash": {
368
+ "algorithm": "md5",
369
+ "value": "test=="
370
+ }
371
+ },
372
+ "output": "Test",
373
+ "outputsLink": {
374
+ "uri": "https://prod-255.westeurope.logic.azure.com:443/workflows/88b5146587d144ea85efb15683c4e58f/runs/08586652586741142222645090602CU35/actions/Compose/contents/ActionOutputs?api-version=2016-06-01&se=2023-12-14T19%3A00%3A00.0000000Z&sp=%2Fruns%2F08586652586741142222645090602CU35%2Factions%2FCompose%2Fcontents%2FActionOutputs%2Fread&sv=1.0&sig=KoI4_RAEVNFUgymktOFxvfb5mCoIKR2WCYGwexjD7kY",
375
+ "contentVersion": "test==",
376
+ "contentSize": 6,
377
+ "contentHash": {
378
+ "algorithm": "md5",
379
+ "value": "test=="
380
+ }
381
+ },
382
+ "startTime": "2023-11-17T21:06:14.466889Z",
383
+ "endTime": "2023-11-17T21:06:14.4676104Z",
384
+ "correlation": {
385
+ "actionTrackingId": "dabed750-0ec4-4c34-98f5-cc3695e0811e",
386
+ "clientTrackingId": "08585013686846794051719443325CU251",
387
+ "clientKeywords": [
388
+ "resubmitFlow"
389
+ ]
390
+ },
391
+ "status": "Succeeded",
392
+ "code": "OK"
393
+ }
394
+ }
395
+ }
396
+ ```
397
+ </TabItem>
398
+ </Tabs>
@@ -49,7 +49,7 @@ The schema extension owner is the ID of the Azure AD application that is the own
49
49
 
50
50
  The target types are the set of Microsoft Graph resource types (that support schema extensions) that this schema extension definition can be applied to. This option is specified as a comma-separated list
51
51
 
52
- :::warning Escaping JSON in PowerShell
52
+ :::warning[Escaping JSON in PowerShell]
53
53
 
54
54
  When using the `--properties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
55
55
 
@@ -40,7 +40,7 @@ The lifecycle state of the schema extension. The initial state upon creation is
40
40
  Possible states transitions are from `InDevelopment` to `Available` and `Available` to `Deprecated`.
41
41
  The target types are the set of Microsoft Graph resource types (that support schema extensions) that this schema extension definition can be applied to. This option is specified as a comma-separated list.
42
42
 
43
- :::warning Escaping JSON in PowerShell
43
+ :::warning[Escaping JSON in PowerShell]
44
44
 
45
45
  When using the `--properties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
46
46
 
@@ -20,6 +20,12 @@ m365 pa app get [options]
20
20
 
21
21
  `-d, --displayName [displayName]`
22
22
  : The display name of the Microsoft Power App to get information about.
23
+
24
+ `--asAdmin`
25
+ : Run the command as admin for apps you don't have permission to.
26
+
27
+ `-e, --environmentName [environmentName]`
28
+ : The name of the environment. Required when using `asAdmin`.
23
29
  ```
24
30
 
25
31
  <Global />
@@ -32,6 +38,9 @@ This command is based on an API that is currently in preview and is subject to c
32
38
 
33
39
  :::
34
40
 
41
+ As a maker, you are able to retrieve the Power Apps you have permission to. As an administrator, you are also able to retrieve Power Apps from other users you don't have permission to. To get the app from another user, use the `asAdmin` option and make sure to specify the `environment` option as well.
42
+
43
+
35
44
  If you try to retrieve a non-existing Microsoft Power App, you will get the `Request failed with status code 404` error.
36
45
 
37
46
  ## Examples
@@ -48,6 +57,12 @@ Get information about the specified Microsoft Power App by the app's display nam
48
57
  m365 pa app get --displayName App
49
58
  ```
50
59
 
60
+ Get information about the specific app you do not have access to.
61
+
62
+ ```sh
63
+ m365 pa app get --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
64
+ ```
65
+
51
66
  ## Response
52
67
 
53
68
  <Tabs>
@@ -18,6 +18,12 @@ m365 pa app remove [options]
18
18
 
19
19
  `-f, --force`
20
20
  : Don't prompt for confirmation
21
+
22
+ `--asAdmin`
23
+ : Run the command as admin for apps you don't own.
24
+
25
+ `-e, --environmentName [environmentName]`
26
+ : The name of the environment. Required when using `asAdmin`.
21
27
  ```
22
28
 
23
29
  <Global />
@@ -26,6 +32,8 @@ m365 pa app remove [options]
26
32
 
27
33
  By default, the command will try to remove a Power App. As maker, you are able to delete the Power Apps you own. As administrator, you are also able to delete Power Apps from other users.
28
34
 
35
+ To remove an app you do not own, use the `asAdmin` option and make sure to specify the `environmentName` option as well.
36
+
29
37
  To remove a model-driven Power App you need administrator permissions.
30
38
 
31
39
  If the Power App with the name you specified doesn't exist, you will get the `Error: App 'abc' does not exist` error.
@@ -44,6 +52,12 @@ Removes the specified Power App without confirmation
44
52
  m365 pa app remove --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --force
45
53
  ```
46
54
 
55
+ Removes the specified Power App you don't own
56
+
57
+ ```sh
58
+ m365 pa app remove --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
59
+ ```
60
+
47
61
  ## Response
48
62
 
49
63
  The command won't return a response on success.
@@ -38,7 +38,7 @@ m365 planner plan add [options]
38
38
 
39
39
  ## Remarks
40
40
 
41
- - Related to the options `--shareWithUserIds` and `--shareWithUserNames`. If you are leveraging Microsoft 365 groups, use the `aad m365group user` commands to manage group membership to share the [group's](https://pnp.github.io/cli-microsoft365/cmd/aad/m365group/m365group-user-add/) plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group.
41
+ - Related to the options `--shareWithUserIds` and `--shareWithUserNames`. If you are leveraging Microsoft 365 groups, use the `entra m365group user` commands to manage group membership to share the [group's](https://pnp.github.io/cli-microsoft365/cmd/entra/m365group/m365group-user-add/) plan. You can also add existing members of the group to this collection though it is not required for them to access the plan owned by the group.
42
42
 
43
43
  - Hint: Unlike for groups, a Planner Roster can contain only 1 plan.
44
44
 
@@ -41,7 +41,7 @@ m365 spo applicationcustomizer add --webUrl https://contoso.sharepoint.com/sites
41
41
 
42
42
  Note, how the clientSideComponentProperties option has escaped double quotes `'{\"testMessage\":\"Test message\"}'` compared to execution from bash `'{"testMessage":"Test message"}'`.
43
43
 
44
- :::warning Escaping JSON in PowerShell
44
+ :::warning[Escaping JSON in PowerShell]
45
45
 
46
46
  When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
47
47
 
@@ -47,7 +47,7 @@ m365 spo applicationcustomizer set --webUrl https://contoso.sharepoint.com/sites
47
47
 
48
48
  Note, how the clientSideComponentProperties option (--clientSideComponentProperties) has escaped double quotes `'{\"testMessage\":\"Test message\"}'` compared to execution from bash `'{"testMessage":"Test message"}'`.
49
49
 
50
- :::warning Escaping JSON in PowerShell
50
+ :::warning[Escaping JSON in PowerShell]
51
51
 
52
52
  When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
53
53
 
@@ -49,7 +49,7 @@ m365 spo commandset add --webUrl https://contoso.sharepoint.com/sites/test --tit
49
49
 
50
50
  Note, how the clientSideComponentProperties option (-p) has escaped double quotes `'{\"testMessage\":\"Test message\"}'` compared to execution from bash `'{"testMessage":"Test message"}'`.
51
51
 
52
- :::warning Escaping JSON in PowerShell
52
+ :::warning[Escaping JSON in PowerShell]
53
53
 
54
54
  When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
55
55
 
@@ -56,7 +56,7 @@ m365 spo commandset set --webUrl https://contoso.sharepoint.com/sites/test --tit
56
56
 
57
57
  Note, how the clientSideComponentProperties option has escaped double quotes `'{\"testMessage\":\"Test message\"}'` compared to execution from bash `'{"testMessage":"Test message"}'`.
58
58
 
59
- :::warning Escaping JSON in PowerShell
59
+ :::warning[Escaping JSON in PowerShell]
60
60
 
61
61
  When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
62
62
 
@@ -39,7 +39,7 @@ m365 spo contenttype set [options]
39
39
 
40
40
  ## Remarks
41
41
 
42
- :::warning Updating child content types
42
+ :::warning[Updating child content types]
43
43
 
44
44
  When specifying the `--updateChildren` flag, SharePoint will only propagate the changes that are made in the current request. If you want to know more about updating a content type and propagating changes to child content types, be sure to [read more here](https://learn.microsoft.com/previous-versions/office/developer/sharepoint-2010/ms442695(v=office.14)#considerations-when-updating-child-content-types).
45
45
 
@@ -82,7 +82,7 @@ Note, how the clientSideComponentProperties option (-p) has escaped double quote
82
82
 
83
83
  The `--rights` option accepts **case sensitive** values.
84
84
 
85
- :::warning Escaping JSON in PowerShell
85
+ :::warning[Escaping JSON in PowerShell]
86
86
 
87
87
  When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
88
88
 
@@ -85,7 +85,7 @@ The `--rights` option accepts **case-sensitive** values.
85
85
 
86
86
  Note, specifying the scope option might speed up the execution of the command, but would not update the scope. If the scope has to be changed, then the existing custom action should be removed and new should be added with different scope.
87
87
 
88
- :::warning Escaping JSON in PowerShell
88
+ :::warning[Escaping JSON in PowerShell]
89
89
 
90
90
  When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
91
91
 
@@ -41,7 +41,7 @@ m365 spo field set [options]
41
41
 
42
42
  Specify properties to update using their names, eg. `--Title 'New Title' --JSLink jslink.js`.
43
43
 
44
- :::warning Escaping JSON in PowerShell
44
+ :::warning[Escaping JSON in PowerShell]
45
45
 
46
46
  When updating column formatting for a field with the `--CustomFormatter` option, it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
47
47
 
@@ -33,18 +33,24 @@ m365 spo group member add [options]
33
33
  `--userIds [userIds]`
34
34
  : The user Id of the user to add as a member. (Id of the site user, for example: 14) If multiple users need to be added, the Ids have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds` or `aadGroupNames`.
35
35
 
36
+ `--entraGroupIds [entraGroupIds]`
37
+ : The object Id of the Entra group to add as a member. If multiple groups need to be added, the Ids have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames`.
38
+
36
39
  `--aadGroupIds [aadGroupIds]`
37
- : The object Id of the Azure AD group to add as a member. If multiple groups need to be added, the Ids have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds` or `aadGroupNames`.
40
+ : (deprecated. Use `entraGroupIds` instead) The object Id of the Azure AD group to add as a member. If multiple groups need to be added, the Ids have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames`.
41
+
42
+ `--entraGroupNames [entraGroupNames]`
43
+ : The name of the Entra group to add as a member. If multiple groups need to be added, they have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames`.
38
44
 
39
45
  `--aadGroupNames [aadGroupNames]`
40
- : The name of the Azure AD group to add as a member. If multiple groups need to be added, they have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds` or `aadGroupNames`.
46
+ : (deprecated. Use `entraGroupNames` instead) The name of the Azure AD group to add as a member. If multiple groups need to be added, they have to be comma-separated. Specify either `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames`.
41
47
  ```
42
48
 
43
49
  <Global />
44
50
 
45
51
  ## Remarks
46
52
 
47
- For the `userIds`, `userNames`, `emails`, `aadGroupIds` or `aadGroupNames` options you can specify multiple values by separating them with a comma. If one of the specified entries is not valid, the command will fail with an error message showing the list of invalid values.
53
+ For the `userIds`, `userNames`, `emails`, `aadGroupIds`, `entraGroupIds`, `aadGroupNames`, or `entraGroupNames` options you can specify multiple values by separating them with a comma. If one of the specified entries is not valid, the command will fail with an error message showing the list of invalid values.
48
54
 
49
55
  ## Examples
50
56
 
@@ -84,11 +90,17 @@ Add multiple users with the userIds parameter to a SharePoint group with the gro
84
90
  m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userIds "5,12"
85
91
  ```
86
92
 
87
- Add multiple users with the aadGroupNames parameter to a SharePoint group with the groupId parameter
93
+ Add multiple users with the entraGroupIds parameter to a SharePoint group with the groupId parameter.
94
+
95
+ ```sh
96
+ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --entraGroupIds "f2fb2f10-cfd2-4054-8ffd-64533657a5ab,3e86049e-89e6-4c27-bccb-d7549f0bbd06"
97
+ ```
98
+
99
+ Add multiple users with the entraGroupNames parameter to a SharePoint group with the groupId parameter.
88
100
 
89
- ```sh
90
- m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --aadGroupNames "Azure group one, Azure group two"
91
- ```
101
+ ```sh
102
+ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --entraGroupNames "Azure group one, Azure group two"
103
+ ```
92
104
 
93
105
  ## Response
94
106
 
@@ -31,11 +31,17 @@ m365 spo group member remove [options]
31
31
  `--userId [userId]`
32
32
  : The user Id (Id of the site user, eg. 14) of the user to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId` or `aadGroupName`.
33
33
 
34
+ `--entraGroupId [entraGroupId]`
35
+ : The object Id of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
36
+
34
37
  `--aadGroupId [aadGroupId]`
35
- : The object Id of the Azure AD group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId` or `aadGroupName`.
38
+ : (deprecated. Use `entraGroupId` instead) The object Id of the Azure AD group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
39
+
40
+ `--entraGroupName [entraGroupName]`
41
+ : The name of the Entra group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
36
42
 
37
43
  `--aadGroupName [aadGroupName]`
38
- : The name of the Azure AD group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId` or `aadGroupName`.
44
+ : (deprecated. Use `entraGroupName` instead) The name of the Azure AD group to remove as a member. Specify either `userName`, `email`, `userId`, `aadGroupId`, `entraGroupId`, `aadGroupName`, or `entraGroupName`.
39
45
  ```
40
46
 
41
47
  <Global />
@@ -60,16 +66,16 @@ Remove a user from a SharePoint group by email.
60
66
  m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --userId 14
61
67
  ```
62
68
 
63
- Remove an Azure AD group from a SharePoint group based on the Azure AD group name on a given web.
69
+ Remove an Entra group from a SharePoint group based on the Entra group name on a given web.
64
70
 
65
71
  ```sh
66
- m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --aadGroupName "Azure AD Security Group"
72
+ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --entraGroupName "Azure AD Security Group"
67
73
  ```
68
74
 
69
- Remove an Azure AD group from a SharePoint group based on the Azure AD group ID on a given web.
75
+ Remove an Entra group from a SharePoint group based on the Entra group ID on a given web.
70
76
 
71
77
  ```sh
72
- m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --aadGroupId "5786b8e8-c495-4734-b345-756733960730"
78
+ m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --entraGroupId "5786b8e8-c495-4734-b345-756733960730"
73
79
  ```
74
80
 
75
81
  ## Response
@@ -42,7 +42,7 @@ Specify properties to update using their names, eg. `--Title 'New Title' --JSLin
42
42
 
43
43
  When updating list formatting, the value of the CustomFormatter property must be XML-escaped, eg. `&lt;` instead of `<`.
44
44
 
45
- :::warning Escaping JSON in PowerShell
45
+ :::warning[Escaping JSON in PowerShell]
46
46
 
47
47
  When updating list view formatting for a view with the `--CustomFormatter` option, it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
48
48