@pnp/cli-microsoft365 6.9.0-beta.f6054b4 → 6.10.0-beta.6bf4ff9

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 (317) hide show
  1. package/.devcontainer/Dockerfile +12 -19
  2. package/.devcontainer/devcontainer.json +24 -17
  3. package/Dockerfile +3 -1
  4. package/README.md +7 -5
  5. package/dist/Auth.js +2 -8
  6. package/dist/AuthServer.js +2 -4
  7. package/dist/cli/Cli.js +2 -2
  8. package/dist/m365/aad/commands/app/app-add.js +258 -249
  9. package/dist/m365/aad/commands/app/app-get.js +65 -62
  10. package/dist/m365/aad/commands/app/app-remove.js +22 -23
  11. package/dist/m365/aad/commands/app/app-role-add.js +35 -34
  12. package/dist/m365/aad/commands/app/app-role-list.js +22 -23
  13. package/dist/m365/aad/commands/app/app-role-remove.js +76 -73
  14. package/dist/m365/aad/commands/app/app-set.js +103 -103
  15. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +16 -14
  16. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +43 -52
  17. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +20 -16
  18. package/dist/m365/aad/commands/o365group/o365group-add.js +40 -37
  19. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +7 -6
  20. package/dist/m365/aad/commands/o365group/o365group-list.js +6 -11
  21. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +7 -8
  22. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +23 -24
  23. package/dist/m365/aad/commands/o365group/o365group-set.js +15 -20
  24. package/dist/m365/aad/commands/o365group/o365group-teamify.js +15 -16
  25. package/dist/m365/aad/commands/o365group/o365group-user-list.js +17 -10
  26. package/dist/m365/aad/commands/o365group/o365group-user-set.js +17 -10
  27. package/dist/m365/aad/commands/policy/policy-list.js +12 -13
  28. package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +1 -3
  29. package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +19 -20
  30. package/dist/m365/aad/commands/sp/sp-add.js +22 -23
  31. package/dist/m365/aad/commands/sp/sp-get.js +22 -23
  32. package/dist/m365/aad/commands/sp/sp-list.js +78 -0
  33. package/dist/m365/aad/commands.js +1 -0
  34. package/dist/m365/app/commands/app-open.js +4 -14
  35. package/dist/m365/base/AzmgmtItemsListCommand.js +31 -33
  36. package/dist/m365/cli/commands/cli-issue.js +4 -10
  37. package/dist/m365/cli/commands/cli-reconsent.js +2 -8
  38. package/dist/m365/cli/commands/config/config-set.js +0 -1
  39. package/dist/m365/commands/docs.js +2 -8
  40. package/dist/m365/commands/login.js +20 -0
  41. package/dist/m365/file/commands/convert/convert-pdf.js +147 -143
  42. package/dist/m365/file/commands/file-add.js +87 -93
  43. package/dist/m365/file/commands/file-list.js +49 -55
  44. package/dist/m365/flow/commands/flow-list.js +30 -12
  45. package/dist/m365/flow/commands/flow-remove.js +2 -3
  46. package/dist/m365/flow/commands/run/run-resubmit.js +11 -10
  47. package/dist/m365/onedrive/commands/onedrive-list.js +21 -32
  48. package/dist/m365/outlook/commands/message/message-list.js +18 -23
  49. package/dist/m365/outlook/commands/message/message-move.js +15 -20
  50. package/dist/m365/pa/commands/app/app-export.js +3 -4
  51. package/dist/m365/pa/commands/app/app-get.js +11 -9
  52. package/dist/m365/pa/commands/app/app-remove.js +1 -1
  53. package/dist/m365/pa/commands/pcf/pcf-init.js +1 -2
  54. package/dist/m365/pa/commands/solution/solution-init.js +1 -2
  55. package/dist/m365/pa/commands/solution/solution-reference-add.js +1 -2
  56. package/dist/m365/planner/commands/bucket/bucket-add.js +15 -13
  57. package/dist/m365/planner/commands/bucket/bucket-get.js +27 -28
  58. package/dist/m365/planner/commands/bucket/bucket-list.js +15 -13
  59. package/dist/m365/planner/commands/bucket/bucket-remove.js +33 -34
  60. package/dist/m365/planner/commands/bucket/bucket-set.js +33 -34
  61. package/dist/m365/planner/commands/plan/plan-add.js +49 -52
  62. package/dist/m365/planner/commands/plan/plan-set.js +19 -20
  63. package/dist/m365/planner/commands/task/task-add.js +75 -78
  64. package/dist/m365/planner/commands/task/task-checklistitem-add.js +11 -10
  65. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -8
  66. package/dist/m365/planner/commands/task/task-get.js +53 -56
  67. package/dist/m365/planner/commands/task/task-list.js +23 -24
  68. package/dist/m365/planner/commands/task/task-reference-add.js +11 -10
  69. package/dist/m365/planner/commands/task/task-reference-remove.js +13 -14
  70. package/dist/m365/planner/commands/task/task-remove.js +44 -48
  71. package/dist/m365/planner/commands/task/task-set.js +83 -87
  72. package/dist/m365/pp/commands/managementapp/managementapp-add.js +19 -20
  73. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +3 -8
  74. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +1 -6
  75. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +1 -6
  76. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +1 -6
  77. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +1 -6
  78. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +1 -6
  79. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +1 -6
  80. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +1 -6
  81. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +1 -6
  82. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +0 -5
  83. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +0 -5
  84. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +0 -5
  85. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +19 -22
  86. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +0 -5
  87. package/dist/m365/spfx/commands/project/JsonRule.js +1 -1
  88. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.3.js +25 -0
  89. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.4.js +25 -0
  90. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.0-beta.1.js +23 -0
  91. package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
  92. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +2 -2
  93. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002027_DEVDEP_fluentui_react.js +14 -0
  94. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021003_PKG_engines_node.js +1 -0
  95. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.3.js +59 -0
  96. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.4.js +55 -0
  97. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0-beta.1.js +61 -0
  98. package/dist/m365/spfx/commands/project/project-upgrade.js +18 -13
  99. package/dist/m365/spfx/commands/spfx-doctor.js +45 -0
  100. package/dist/m365/spo/commands/app/app-teamspackage-download.js +17 -24
  101. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +154 -0
  102. package/dist/m365/spo/commands/apppage/apppage-set.js +1 -1
  103. package/dist/m365/spo/commands/commandset/commandset-set.js +11 -2
  104. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +65 -94
  105. package/dist/m365/spo/commands/customaction/customaction-clear.js +4 -12
  106. package/dist/m365/spo/commands/customaction/customaction-remove.js +12 -23
  107. package/dist/m365/spo/commands/customaction/customaction-set.js +21 -29
  108. package/dist/m365/spo/commands/file/file-add.js +133 -133
  109. package/dist/m365/spo/commands/file/file-checkout-undo.js +119 -0
  110. package/dist/m365/spo/commands/file/file-rename.js +11 -9
  111. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +2 -2
  112. package/dist/m365/spo/commands/file/file-roleassignment-add.js +41 -61
  113. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +3 -0
  114. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +3 -0
  115. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +3 -0
  116. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +23 -21
  117. package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
  118. package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
  119. package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
  120. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +3 -3
  121. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
  122. package/dist/m365/spo/commands/group/group-member-add.js +17 -16
  123. package/dist/m365/spo/commands/group/group-set.js +20 -20
  124. package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
  125. package/dist/m365/spo/commands/hubsite/hubsite-get.js +33 -31
  126. package/dist/m365/spo/commands/hubsite/hubsite-list.js +18 -29
  127. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +3 -0
  128. package/dist/m365/spo/commands/list/list-add.js +1 -1
  129. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +1 -1
  130. package/dist/m365/spo/commands/list/list-roleassignment-add.js +45 -52
  131. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +33 -38
  132. package/dist/m365/spo/commands/list/list-sensitivitylabel-ensure.js +137 -0
  133. package/dist/m365/spo/commands/list/list-view-field-add.js +12 -10
  134. package/dist/m365/spo/commands/list/list-view-field-remove.js +12 -10
  135. package/dist/m365/spo/commands/list/list-view-field-set.js +12 -10
  136. package/dist/m365/spo/commands/list/list-view-remove.js +3 -0
  137. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +41 -61
  138. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +71 -74
  139. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +36 -34
  140. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +32 -30
  141. package/dist/m365/spo/commands/navigation/navigation-node-remove.js +24 -22
  142. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +29 -27
  143. package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +26 -24
  144. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +34 -40
  145. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +23 -21
  146. package/dist/m365/spo/commands/sitescript/sitescript-remove.js +24 -22
  147. package/dist/m365/spo/commands/spo-search.js +7 -15
  148. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +29 -27
  149. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +156 -0
  150. package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +50 -0
  151. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +1 -1
  152. package/dist/m365/spo/commands.js +5 -0
  153. package/dist/m365/teams/commands/app/app-install.js +23 -21
  154. package/dist/m365/teams/commands/app/app-remove.js +3 -0
  155. package/dist/m365/teams/commands/app/app-uninstall.js +3 -0
  156. package/dist/m365/teams/commands/app/app-update.js +15 -16
  157. package/dist/m365/teams/commands/channel/channel-add.js +40 -39
  158. package/dist/m365/teams/commands/channel/channel-get.js +23 -25
  159. package/dist/m365/teams/commands/channel/channel-list.js +6 -7
  160. package/dist/m365/teams/commands/channel/channel-member-add.js +61 -60
  161. package/dist/m365/teams/commands/channel/channel-member-list.js +20 -22
  162. package/dist/m365/teams/commands/channel/channel-member-remove.js +43 -48
  163. package/dist/m365/teams/commands/channel/channel-member-set.js +36 -39
  164. package/dist/m365/teams/commands/channel/channel-remove.js +4 -1
  165. package/dist/m365/teams/commands/funsettings/funsettings-list.js +3 -0
  166. package/dist/m365/teams/commands/funsettings/funsettings-set.js +3 -0
  167. package/dist/m365/teams/commands/tab/tab-get.js +34 -37
  168. package/dist/m365/teams/commands/team/team-archive.js +6 -7
  169. package/dist/m365/teams/commands/team/team-get.js +6 -7
  170. package/dist/m365/teams/commands/team/team-list.js +9 -11
  171. package/dist/m365/teams/commands/team/team-remove.js +6 -7
  172. package/dist/m365/teams/commands/team/team-unarchive.js +6 -7
  173. package/dist/m365/teams/commands/user/user-app-list.js +13 -11
  174. package/dist/m365/teams/commands/user/user-list.js +7 -4
  175. package/dist/m365/tenant/commands/security/security-alerts-list.js +25 -26
  176. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +13 -14
  177. package/dist/m365/todo/commands/list/list-remove.js +39 -36
  178. package/dist/m365/todo/commands/list/list-set.js +16 -14
  179. package/dist/m365/todo/commands/task/task-add.js +14 -14
  180. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +10 -7
  181. package/dist/settingsNames.js +0 -1
  182. package/dist/utils/browserUtil.js +23 -0
  183. package/dist/utils/md.js +1 -3
  184. package/docs/docs/_clisettings.mdx +17 -0
  185. package/docs/docs/cmd/aad/app/app-add.mdx +113 -0
  186. package/docs/docs/cmd/aad/app/app-get.mdx +217 -0
  187. package/docs/docs/cmd/aad/app/app-list.mdx +21 -0
  188. package/docs/docs/cmd/aad/app/app-role-add.mdx +4 -0
  189. package/docs/docs/cmd/aad/app/app-role-list.mdx +63 -0
  190. package/docs/docs/cmd/aad/app/app-role-remove.mdx +4 -0
  191. package/docs/docs/cmd/aad/app/app-set.mdx +4 -0
  192. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +61 -0
  193. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.mdx +59 -0
  194. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +4 -0
  195. package/docs/docs/cmd/aad/group/group-get.mdx +24 -0
  196. package/docs/docs/cmd/aad/group/group-list.mdx +98 -0
  197. package/docs/docs/cmd/aad/groupsetting/groupsetting-add.mdx +114 -0
  198. package/docs/docs/cmd/aad/groupsetting/groupsetting-get.mdx +115 -0
  199. package/docs/docs/cmd/aad/groupsetting/groupsetting-list.mdx +115 -0
  200. package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.mdx +4 -0
  201. package/docs/docs/cmd/aad/groupsetting/groupsetting-set.mdx +4 -0
  202. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-get.mdx +63 -0
  203. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-list.mdx +63 -0
  204. package/docs/docs/cmd/aad/o365group/o365group-add.mdx +122 -0
  205. package/docs/docs/cmd/aad/o365group/o365group-conversation-list.mdx +68 -0
  206. package/docs/docs/cmd/aad/o365group/o365group-conversation-post-list.mdx +77 -0
  207. package/docs/docs/cmd/aad/o365group/o365group-get.mdx +122 -0
  208. package/docs/docs/cmd/aad/o365group/o365group-list.mdx +99 -0
  209. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-clear.mdx +4 -0
  210. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.mdx +96 -0
  211. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-remove.mdx +4 -0
  212. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.mdx +4 -0
  213. package/docs/docs/cmd/aad/o365group/o365group-remove.mdx +4 -0
  214. package/docs/docs/cmd/aad/o365group/o365group-renew.mdx +4 -0
  215. package/docs/docs/cmd/aad/o365group/o365group-report-activitycounts.mdx +48 -0
  216. package/docs/docs/cmd/aad/o365group/o365group-report-activitydetail.mdx +60 -0
  217. package/docs/docs/cmd/aad/o365group/o365group-report-activityfilecounts.mdx +46 -0
  218. package/docs/docs/cmd/aad/o365group/o365group-report-activitygroupcounts.mdx +46 -0
  219. package/docs/docs/cmd/aad/o365group/o365group-report-activitystorage.mdx +46 -0
  220. package/docs/docs/cmd/aad/o365group/o365group-set.mdx +4 -0
  221. package/docs/docs/cmd/aad/o365group/o365group-teamify.mdx +4 -0
  222. package/docs/docs/cmd/aad/o365group/o365group-user-add.mdx +4 -0
  223. package/docs/docs/cmd/aad/o365group/o365group-user-list.mdx +56 -0
  224. package/docs/docs/cmd/aad/o365group/o365group-user-remove.mdx +4 -0
  225. package/docs/docs/cmd/aad/o365group/o365group-user-set.mdx +8 -4
  226. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.mdx +4 -0
  227. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.mdx +59 -0
  228. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +4 -0
  229. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.mdx +4 -0
  230. package/docs/docs/cmd/aad/policy/policy-list.mdx +77 -0
  231. package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +4 -0
  232. package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.mdx +4 -0
  233. package/docs/docs/cmd/aad/siteclassification/siteclassification-get.mdx +57 -0
  234. package/docs/docs/cmd/aad/siteclassification/siteclassification-set.mdx +4 -0
  235. package/docs/docs/cmd/aad/sp/sp-add.mdx +136 -0
  236. package/docs/docs/cmd/aad/sp/sp-get.mdx +166 -0
  237. package/docs/docs/cmd/aad/sp/sp-list.mdx +162 -0
  238. package/docs/docs/cmd/aad/user/user-get.mdx +75 -0
  239. package/docs/docs/cmd/aad/user/user-guest-add.mdx +23 -0
  240. package/docs/docs/cmd/aad/user/user-hibp.mdx +82 -0
  241. package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -2
  242. package/docs/docs/cmd/aad/user/user-license-remove.mdx +2 -2
  243. package/docs/docs/cmd/aad/user/user-list.mdx +52 -0
  244. package/docs/docs/cmd/aad/user/user-password-validate.mdx +67 -0
  245. package/docs/docs/cmd/aad/user/user-signin-list.mdx +131 -0
  246. package/docs/docs/cmd/flow/flow-list.mdx +15 -0
  247. package/docs/docs/cmd/login.mdx +39 -0
  248. package/docs/docs/cmd/pa/app/app-get.mdx +1 -1
  249. package/docs/docs/cmd/pa/app/app-list.mdx +1 -1
  250. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +1 -1
  251. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +1 -1
  252. package/docs/docs/cmd/pp/card/card-clone.mdx +1 -1
  253. package/docs/docs/cmd/pp/card/card-get.mdx +1 -1
  254. package/docs/docs/cmd/pp/card/card-list.mdx +1 -1
  255. package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +1 -1
  256. package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +1 -1
  257. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +1 -1
  258. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +1 -1
  259. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
  260. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +1 -1
  261. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +1 -1
  262. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +0 -6
  263. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +0 -6
  264. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +0 -7
  265. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +0 -6
  266. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -6
  267. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +0 -6
  268. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +0 -6
  269. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +0 -6
  270. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +0 -6
  271. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +0 -6
  272. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +0 -6
  273. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +0 -6
  274. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +0 -6
  275. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +0 -6
  276. package/docs/docs/cmd/setup.mdx +2 -0
  277. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  278. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +72 -0
  279. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +12 -3
  280. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +55 -0
  281. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  282. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  283. package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +73 -0
  284. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +1 -1
  285. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
  286. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
  287. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +81 -0
  288. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  289. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +2 -2
  290. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +114 -0
  291. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
  292. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +2 -2
  293. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +6 -0
  294. package/docs/docs/cmd/spo/userprofile/userprofile-get.mdx +1 -1
  295. package/docs/docs/cmd/status.mdx +6 -3
  296. package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +12 -2
  297. package/npm-shrinkwrap.json +301 -274
  298. package/package.json +18 -17
  299. package/dist/m365/aad/commands/approleassignment/AppRoleAssignment.js +0 -3
  300. package/dist/m365/aad/commands/approleassignment/ServicePrincipal.js +0 -3
  301. package/dist/m365/aad/commands/groupsetting/GroupSetting.js +0 -3
  302. package/dist/m365/aad/commands/groupsettingtemplate/GroupSettingTemplate.js +0 -3
  303. package/dist/m365/aad/commands/siteclassification/DirectorySetting.js +0 -10
  304. package/dist/m365/aad/commands/siteclassification/DirectorySettingTemplatesRsp.js +0 -3
  305. package/dist/m365/aad/commands/siteclassification/DirectorySettingValue.js +0 -3
  306. package/dist/m365/outlook/Message.js +0 -3
  307. package/dist/m365/spo/commands/site/SitePermission.js +0 -3
  308. package/dist/m365/teams/Channel.js +0 -3
  309. package/dist/m365/teams/ConversationMember.js +0 -3
  310. package/dist/m365/teams/Message.js +0 -3
  311. package/dist/m365/teams/Reply.js +0 -3
  312. package/dist/m365/teams/Tab.js +0 -3
  313. package/dist/m365/teams/Team.js +0 -3
  314. package/dist/m365/teams/TeamsApp.js +0 -3
  315. package/dist/m365/teams/TeamsAppInstallation.js +0 -3
  316. package/dist/m365/teams/TeamsTabConfiguration.js +0 -3
  317. package/dist/m365/teams/commands/Meeting.js +0 -3
@@ -0,0 +1,162 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # aad sp list
6
+
7
+ Lists the service principals in the directory
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 aad sp list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `--displayName [displayName]`
19
+ : Returns only service principals with the specified name
20
+
21
+ `--tag [tag]`
22
+ : Returns only service principals with the specified tag
23
+ ```
24
+
25
+ <Global />
26
+
27
+ ## Examples
28
+
29
+ Return a list of all service principals
30
+
31
+ ```sh
32
+ m365 aad sp list
33
+ ```
34
+
35
+ Return a list of all service principals that comply with the display name and the tag parameters
36
+
37
+ ```sh
38
+ m365 aad sp list --displayName "My custom service principal" --tag "WindowsAzureActiveDirectoryIntegratedApp"
39
+ ```
40
+
41
+ ## Response
42
+
43
+ <Tabs>
44
+ <TabItem value="JSON">
45
+
46
+ ```json
47
+ [
48
+ {
49
+ "id": "226859cc-86f0-40d3-b308-f43b3a729b6e",
50
+ "deletedDateTime": null,
51
+ "accountEnabled": true,
52
+ "alternativeNames": [],
53
+ "appDisplayName": "My custom service principal",
54
+ "appDescription": null,
55
+ "appId": "a62ef842-f9ef-49cf-9119-31b85ea58445",
56
+ "applicationTemplateId": null,
57
+ "appOwnerOrganizationId": "fd71909b-55e5-44d2-9f78-dc432421d527",
58
+ "appRoleAssignmentRequired": false,
59
+ "createdDateTime": "2022-11-28T20:32:11Z",
60
+ "description": null,
61
+ "disabledByMicrosoftStatus": null,
62
+ "displayName": "My custom service principal",
63
+ "homepage": null,
64
+ "loginUrl": null,
65
+ "logoutUrl": null,
66
+ "notes": null,
67
+ "notificationEmailAddresses": [],
68
+ "preferredSingleSignOnMode": null,
69
+ "preferredTokenSigningKeyThumbprint": null,
70
+ "replyUrls": [
71
+ "urn:ietf:wg:oauth:2.0:oob",
72
+ "https://localhost",
73
+ "http://localhost",
74
+ "http://localhost:8400"
75
+ ],
76
+ "servicePrincipalNames": [
77
+ "https://contoso.onmicrosoft.com/907a8cea-411a-461a-bb30-261e52febcca",
78
+ "907a8cea-411a-461a-bb30-261e52febcca"
79
+ ],
80
+ "servicePrincipalType": "Application",
81
+ "signInAudience": "AzureADMultipleOrgs",
82
+ "tags": [
83
+ "WindowsAzureActiveDirectoryIntegratedApp"
84
+ ],
85
+ "tokenEncryptionKeyId": null,
86
+ "samlSingleSignOnSettings": null,
87
+ "addIns": [],
88
+ "appRoles": [],
89
+ "info": {
90
+ "logoUrl": null,
91
+ "marketingUrl": null,
92
+ "privacyStatementUrl": null,
93
+ "supportUrl": null,
94
+ "termsOfServiceUrl": null
95
+ },
96
+ "keyCredentials": [],
97
+ "oauth2PermissionScopes": [
98
+ {
99
+ "adminConsentDescription": "Allow the application to access My custom service principal on behalf of the signed-in user.",
100
+ "adminConsentDisplayName": "Access My custom service principal",
101
+ "id": "907a8cea-411a-461a-bb30-261e52febcca",
102
+ "isEnabled": true,
103
+ "type": "User",
104
+ "userConsentDescription": "Allow the application to access My custom service principal on your behalf.",
105
+ "userConsentDisplayName": "Access My custom service principal",
106
+ "value": "user_impersonation"
107
+ }
108
+ ],
109
+ "passwordCredentials": [],
110
+ "resourceSpecificApplicationPermissions": [],
111
+ "verifiedPublisher": {
112
+ "displayName": null,
113
+ "verifiedPublisherId": null,
114
+ "addedDateTime": null
115
+ }
116
+ }
117
+ ]
118
+ ```
119
+
120
+ </TabItem>
121
+ <TabItem value="Text">
122
+
123
+ ```text
124
+ id displayName tag
125
+ -------------------------------------- ---------------------------- ---------------------------------------
126
+ a62ef842-f9ef-49cf-9119-31b85ea58445 My custom service principal WindowsAzureActiveDirectoryIntegratedApp
127
+ ```
128
+
129
+ </TabItem>
130
+ <TabItem value="CSV">
131
+
132
+ ```csv
133
+ id,accountEnabled,appDisplayName,appId,appOwnerOrganizationId,appRoleAssignmentRequired,createdDateTime,displayName,servicePrincipalType,signInAudience
134
+ 226859cc-86f0-40d3-b308-f43b3a729b6e,1,My custom service principal,a62ef842-f9ef-49cf-9119-31b85ea58445,fd71909b-55e5-44d2-9f78-dc432421d527,,2022-11-28T20:32:11Z,My custom service principal,AzureADMultipleOrgs
135
+ ```
136
+
137
+ </TabItem>
138
+ <TabItem value="Markdown">
139
+
140
+ ```md
141
+ # aad sp list
142
+
143
+ Date: 27/4/2023
144
+
145
+ ## My custom service principal (226859cc-86f0-40d3-b308-f43b3a729b6e)
146
+
147
+ Property | Value
148
+ ---------|-------
149
+ id | 226859cc-86f0-40d3-b308-f43b3a729b6e
150
+ accountEnabled | true
151
+ appDisplayName | My custom service principal
152
+ appId | a62ef842-f9ef-49cf-9119-31b85ea58445
153
+ appOwnerOrganizationId | fd71909b-55e5-44d2-9f78-dc432421d527
154
+ appRoleAssignmentRequired | false
155
+ createdDateTime | 2022-11-28T20:32:11Z
156
+ displayName | My custom service principal
157
+ servicePrincipalType | Application
158
+ signInAudience | AzureADMultipleOrg
159
+ ```
160
+
161
+ </TabItem>
162
+ </Tabs>
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # aad user get
4
6
 
@@ -72,6 +74,79 @@ Get information about the currently logged in user using the UserName token
72
74
  m365 aad user get --userName "@meUserName"
73
75
  ```
74
76
 
77
+ ## Response
78
+
79
+ <Tabs>
80
+ <TabItem value="JSON">
81
+
82
+ ```json
83
+ {
84
+ "businessPhones": [],
85
+ "displayName": "John Doe",
86
+ "givenName": null,
87
+ "jobTitle": null,
88
+ "mail": null,
89
+ "mobilePhone": null,
90
+ "officeLocation": null,
91
+ "preferredLanguage": null,
92
+ "surname": null,
93
+ "userPrincipalName": "john.doe@contoso.com",
94
+ "id": "74a3b772-3122-447b-b9da-10895e238219"
95
+ }
96
+ ```
97
+
98
+ </TabItem>
99
+ <TabItem value="Text">
100
+
101
+ ```text
102
+ businessPhones : []
103
+ displayName : John Doe
104
+ givenName : null
105
+ id : 74a3b772-3122-447b-b9da-10895e238219
106
+ jobTitle : null
107
+ mail : null
108
+ mobilePhone : null
109
+ officeLocation : null
110
+ preferredLanguage: null
111
+ surname : null
112
+ userPrincipalName: john.doe@contoso.com
113
+ ```
114
+
115
+ </TabItem>
116
+ <TabItem value="CSV">
117
+
118
+ ```csv
119
+ displayName,userPrincipalName,id
120
+ John Doe,john.doe@contoso.com,74a3b772-3122-447b-b9da-10895e238219
121
+ ```
122
+
123
+ </TabItem>
124
+ <TabItem value="Markdown">
125
+
126
+ ```md
127
+ # aad user get --displayName "John Doe" --userName "john.doe@contoso.com" --password "SomePassw0rd" --firstName "John" --lastName "Doe" --jobTitle "Sales Manager" --officeLocation "Vosselaar" --preferredLanguage "nl-BE"
128
+
129
+ Date: 16/02/2023
130
+
131
+ ## John Doe (990e2425-f595-43bc-85ed-b89a44093793)
132
+
133
+ Property | Value
134
+ ---------|-------
135
+ displayName | John Doe
136
+ givenName | John
137
+ jobTitle | Sales Manager
138
+ mail | null
139
+ mobilePhone | null
140
+ officeLocation | Vosselaar
141
+ preferredLanguage | nl-BE
142
+ surname | Doe
143
+ userPrincipalName | john.doe@contoso.com
144
+ id | 0649d0bd-53dc-4e1d-a357-76f1d92d447b
145
+ ```
146
+
147
+ </TabItem>
148
+ </Tabs>
149
+
75
150
  ## More information
76
151
 
77
152
  - Microsoft Graph User properties: [https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties](https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties)
@@ -115,6 +115,29 @@ m365 aad user guest add --emailAddress john.doe@contoso.com --messageLanguage nl
115
115
  35f7f726-c541-4aef-a64e-a7b6868fe47f,https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3db373bc30-03b3-49bc-be72-9dd3e9027da8%26user%3d35f7f726-c541-4aef-a64e-a7b6868fe47f%26ticket%3dCjO3u3ZpQF2uthfZETfZ8gURzod5egvYI0uhaSN1Loo%25253d%26ver%3d2.0,John Doe,liwidit556@adroh.com,Guest,,1,PendingAcceptance
116
116
  ```
117
117
 
118
+ </TabItem>
119
+ <TabItem value="Markdown">
120
+
121
+ ```md
122
+ # aad user guest add --emailAddress "john@contoso.onmicrosoft.com" --displayName "John Doe" --sendInvitationMessage "true"
123
+
124
+ Date: 2023-06-02
125
+
126
+ ## 7bc111ff-5308-426c-a1c6-20b44f04759a
127
+
128
+ Property | Value
129
+ ---------|-------
130
+ id | 7bc111ff-5308-426c-a1c6-20b44f04759a
131
+ inviteRedeemUrl | https://login.microsoftonline.com/redeem?rd=https%3a%2f%2finvitations.microsoft.com%2fredeem%2f%3ftenant%3dc2b2a0f7-fa44-4929-a994-757b7b998f01%26user%3d7bc111ff-5308-426c-a1c6-20b44f04759a%26ticket%3dmxUuPufmKya%25252f%25252bJM%25252fsFwx4%25252fQMkIC401v%25252fHWIKrIrYvwQ%25253d%26ver%3d2.0
132
+ invitedUserDisplayName | John Doe
133
+ invitedUserType | Guest
134
+ invitedUserEmailAddress | john@contoso.onmicrosoft.com
135
+ sendInvitationMessage | true
136
+ resetRedemption | false
137
+ inviteRedirectUrl | https://myapplications.microsoft.com/
138
+ status | PendingAcceptance
139
+ ```
140
+
118
141
  </TabItem>
119
142
  </Tabs>
120
143
 
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # aad user hibp
4
6
 
@@ -45,6 +47,86 @@ Check if user by a user name is in a data breach against the domain specified
45
47
  m365 aad user hibp --userName account-exists@hibp-integration-tests.com --apiKey _YOUR-API-KEY_ --domain adobe.com
46
48
  ```
47
49
 
50
+ ## Response
51
+
52
+ <Tabs>
53
+ <TabItem value="JSON">
54
+
55
+ ```json
56
+ [
57
+ {
58
+ "Name": "Adobe",
59
+ "Title": "Adobe",
60
+ "Domain": "adobe.com",
61
+ "BreachDate": "2013-10-04",
62
+ "AddedDate": "2013-12-04T00:00Z",
63
+ "ModifiedDate": "2022-05-15T23:52Z",
64
+ "PwnCount": 152445165,
65
+ "Description": "In October 2013, 153 million Adobe accounts were breached with each containing an internal ID, username, email, <em>encrypted</em> password and a password hint in plain text. The password cryptography was poorly done and many were quickly resolved back to plain text. The unencrypted hints also <a href=\"http://www.troyhunt.com/2013/11/adobe-credentials-and-serious.html\" target=\"_blank\" rel=\"noopener\">disclosed much about the passwords</a> adding further to the risk that hundreds of millions of Adobe customers already faced.",
66
+ "DataClasses": [
67
+ "Email addresses",
68
+ "Password hints",
69
+ "Passwords",
70
+ "Usernames"
71
+ ],
72
+ "IsVerified": true,
73
+ "IsFabricated": false,
74
+ "IsSensitive": false,
75
+ "IsRetired": false,
76
+ "IsSpamList": false,
77
+ "LogoPath": "https://haveibeenpwned.com/Content/Images/PwnedLogos/Adobe.png"
78
+ }
79
+ ]
80
+ ```
81
+
82
+ </TabItem>
83
+ <TabItem value="Text">
84
+
85
+ ```text
86
+ Name Title Domain BreachDate AddedDate ModifiedDate PwnCount Description DataClasses IsVerified IsFabricated IsSensitive IsRetired IsSpamList LogoPath
87
+ ----------------- ------------------ --------------------- ---------- ----------------- ----------------- --------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ -------------------------------------------------- ---------- ------------ ----------- --------- ---------- --------------------------------------------------------------------------
88
+ Adobe Adobe adobe.com 2013-10-04 2013-12-04T00:00Z 2022-05-15T23:52Z 152445165 In October 2013, 153 million Adobe accounts were breached with each containing an internal ID, username, email, <em>encrypted</em> password and a password hint in plain text. The password cryptography was poorly done and many were quickly resolved back to plain text. The unencrypted hints also <a href="http://www.troyhunt.com/2013/11/adobe-credentials-and-serious.html" target="_blank" rel="noopener">disclosed much about the passwords</a> adding further to the risk that hundreds of millions of Adobe customers already faced. Email addresses,Password hints,Passwords,Usernames true false false false false https://haveibeenpwned.com/Content/Images/PwnedLogos/Adobe.png
89
+ ```
90
+
91
+ </TabItem>
92
+ <TabItem value="CSV">
93
+
94
+ ```csv
95
+ Name,Title,Domain,BreachDate,AddedDate,ModifiedDate,PwnCount,Description,IsVerified,IsFabricated,IsSensitive,IsRetired,IsSpamList,LogoPath
96
+ Adobe,Adobe,adobe.com,2013-10-04,2013-12-04T00:00Z,2022-05-15T23:52Z,152445165,"In October 2013, 153 million Adobe accounts were breached with each containing an internal ID, username, email, <em>encrypted</em> password and a password hint in plain text. The password cryptography was poorly done and many were quickly resolved back to plain text. The unencrypted hints also <a href=""http://www.troyhunt.com/2013/11/adobe-credentials-and-serious.html"" target=""_blank"" rel=""noopener"">disclosed much about the passwords</a> adding further to the risk that hundreds of millions of Adobe customers already faced.",1,,,,,https://haveibeenpwned.com/Content/Images/PwnedLogos/Adobe.png
97
+ ```
98
+
99
+ </TabItem>
100
+ <TabItem value="Markdown">
101
+
102
+ ```md
103
+ # aad user hibp --userName "account-exists@hibp-integration-tests.com" --apiKey "_YOUR-API-KEY_"
104
+
105
+ Date: 2023-06-02
106
+
107
+ ## Adobe
108
+
109
+ Property | Value
110
+ ---------|-------
111
+ Name | Adobe
112
+ Title | Adobe
113
+ Domain | adobe.com
114
+ BreachDate | 2013-10-04
115
+ AddedDate | 2013-12-04T00:00Z
116
+ ModifiedDate | 2022-05-15T23:52Z
117
+ PwnCount | 152445165
118
+ Description | In October 2013, 153 million Adobe accounts were breached with each containing an internal ID, username, email, <em>encrypted</em> password and a password hint in plain text. The password cryptography was poorly done and many were quickly resolved back to plain text. The unencrypted hints also <a href="http://www.troyhunt.com/2013/11/adobe-credentials-and-serious.html" target="\_blank" rel="noopener">disclosed much about the passwords</a> adding further to the risk that hundreds of millions of Adobe customers already faced.
119
+ IsVerified | true
120
+ IsFabricated | false
121
+ IsSensitive | false
122
+ IsRetired | false
123
+ IsSpamList | false
124
+ LogoPath | https://haveibeenpwned.com/Content/Images/PwnedLogos/Adobe.png
125
+ ```
126
+
127
+ </TabItem>
128
+ </Tabs>
129
+
48
130
  ## More information
49
131
 
50
132
  - Have I been pwned API documentation: [https://haveibeenpwned.com/API/v3](https://haveibeenpwned.com/API/v3)
@@ -40,13 +40,13 @@ The user must have a `usageLocation` value in order to assign a license to it.
40
40
  Assign specific licenses to a specific user by UPN
41
41
 
42
42
  ```sh
43
- m365 user license add --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
43
+ m365 aad user license add --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
44
44
  ```
45
45
 
46
46
  Assign specific licenses from a specific user by ID
47
47
 
48
48
  ```sh
49
- m365 user license add --userId "5c241023-2ba5-4ea8-a516-a2481a3e6c51" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
49
+ m365 aad user license add --userId "5c241023-2ba5-4ea8-a516-a2481a3e6c51" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
50
50
  ```
51
51
 
52
52
  ## Response
@@ -33,13 +33,13 @@ m365 aad user license remove [options]
33
33
  Remove specific licenses from a specific user by UPN
34
34
 
35
35
  ```sh
36
- m365 user license remove --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
36
+ m365 aad user license remove --userName "john.doe@contoso.com" --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
37
37
  ```
38
38
 
39
39
  Remove specific licenses from a specific user by ID
40
40
 
41
41
  ```sh
42
- m365 user license remove --userId 5c241023-2ba5-4ea8-a516-a2481a3e6c51 --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
42
+ m365 aad user license remove --userId 5c241023-2ba5-4ea8-a516-a2481a3e6c51 --ids "45715bb8-13f9-4bf6-927f-ef96c102d394,bea13e0c-3828-4daa-a392-28af7ff61a0f"
43
43
  ```
44
44
 
45
45
  ## Response
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # aad user list
4
6
 
@@ -62,6 +64,56 @@ Show all account managers whose display name starts with _Patt_
62
64
  m365 aad user list --displayName Patt --jobTitle 'Account manager'
63
65
  ```
64
66
 
67
+ ## Response
68
+
69
+ <Tabs>
70
+ <TabItem value="JSON">
71
+
72
+ ```json
73
+ [
74
+ {
75
+ "userPrincipalName": "John@contoso.onmicrosoft.com",
76
+ "displayName": "John Doe"
77
+ }
78
+ ]
79
+ ```
80
+
81
+ </TabItem>
82
+ <TabItem value="Text">
83
+
84
+ ```text
85
+ userPrincipalName displayName
86
+ ---------------------------------------- -------------------------
87
+ John@contoso.onmicrosoft.com John Doe
88
+ ```
89
+
90
+ </TabItem>
91
+ <TabItem value="CSV">
92
+
93
+ ```csv
94
+ userPrincipalName,displayName
95
+ John@contoso.onmicrosoft.com,John Doe
96
+ ```
97
+
98
+ </TabItem>
99
+ <TabItem value="Markdown">
100
+
101
+ ```md
102
+ # aad user list
103
+
104
+ Date: 2023-06-02
105
+
106
+ ## John Doe
107
+
108
+ Property | Value
109
+ ---------|-------
110
+ userPrincipalName | John@contoso.onmicrosoft.com
111
+ displayName | John Doe
112
+ ```
113
+
114
+ </TabItem>
115
+ </Tabs>
116
+
65
117
  ## More information
66
118
 
67
119
  - Microsoft Graph User properties: [https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties](https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/user#properties)
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # aad user password validate
4
6
 
@@ -34,3 +36,68 @@ Validate password _cli365P@ssW0rd_ against the organization's password validatio
34
36
  ```sh
35
37
  m365 aad user password validate --password "cli365P@ssW0rd"
36
38
  ```
39
+
40
+ ## Response
41
+
42
+ <Tabs>
43
+ <TabItem value="JSON">
44
+
45
+ ```json
46
+ {
47
+ "isValid": true,
48
+ "validationResults": [
49
+ {
50
+ "ruleName": "PasswordMinLength",
51
+ "validationPassed": true,
52
+ "message": "The new password must have a minimum of 8 characters."
53
+ },
54
+ {
55
+ "ruleName": "PasswordMaxLength",
56
+ "validationPassed": true,
57
+ "message": "The new password cannot contain more than 256 characters."
58
+ },
59
+ {
60
+ "ruleName": "PasswordComplexity",
61
+ "validationPassed": true,
62
+ "message": "The new password must contain characters from at least 3 out of: Lowercase characters, Uppercase characters, Numbers, Symbols."
63
+ },
64
+ {
65
+ "ruleName": "PasswordNotBanned",
66
+ "validationPassed": true,
67
+ "message": "The new password must not be weak or commonly used."
68
+ }
69
+ ]
70
+ }
71
+ ```
72
+
73
+ </TabItem>
74
+ <TabItem value="Text">
75
+
76
+ ```text
77
+ isValid : true
78
+ validationResults: [{"ruleName":"PasswordMinLength","validationPassed":true,"message":"The new password must have a minimum of 8 characters."},{"ruleName":"PasswordMaxLength","validationPassed":true,"message":"The new password cannot contain more than 256 characters."},{"ruleName":"PasswordComplexity","validationPassed":true,"message":"The new password must contain characters from at least 3 out of: Lowercase characters, Uppercase characters, Numbers, Symbols."},{"ruleName":"PasswordNotBanned","validationPassed":true,"message":"The new password must not be weak or commonly used."}]
79
+ ```
80
+
81
+ </TabItem>
82
+ <TabItem value="CSV">
83
+
84
+ ```csv
85
+ isValid
86
+ 1
87
+ ```
88
+
89
+ </TabItem>
90
+ <TabItem value="Markdown">
91
+
92
+ ```md
93
+ # aad user password validate --password "cli365P@ssW0rd"
94
+
95
+ Date: 2023-06-02
96
+
97
+ Property | Value
98
+ ---------|-------
99
+ isValid | true
100
+ ```
101
+
102
+ </TabItem>
103
+ </Tabs>
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # aad user signin list
4
6
 
@@ -83,3 +85,132 @@ Get all user's sign-ins filter by given user's Id and application identifier in
83
85
  ```sh
84
86
  m365 aad user signin list --userId '11111111-1111-1111-1111-111111111111' --appId '00000000-0000-0000-0000-000000000000'
85
87
  ```
88
+
89
+ ## Response
90
+
91
+ <Tabs>
92
+ <TabItem value="JSON">
93
+
94
+ ```json
95
+ [
96
+ {
97
+ "id": "66ea54eb-6301-4ee5-be62-ff5a759b0100",
98
+ "createdDateTime": "2020-03-13T19:15:41.6195833Z",
99
+ "userDisplayName": "Test Contoso",
100
+ "userPrincipalName": "john@contoso.com",
101
+ "userId": "26be570a-ae82-4189-b4e2-a37c6808512d",
102
+ "appId": "de8bc8b5-d9f9-48b1-a8ad-b748da725064",
103
+ "appDisplayName": "Graph explorer",
104
+ "ipAddress": "131.107.159.37",
105
+ "clientAppUsed": "Browser",
106
+ "correlationId": "d79f5bee-5860-4832-928f-3133e22ae912",
107
+ "conditionalAccessStatus": "notApplied",
108
+ "isInteractive": true,
109
+ "riskDetail": "none",
110
+ "riskLevelAggregated": "none",
111
+ "riskLevelDuringSignIn": "none",
112
+ "riskState": "none",
113
+ "riskEventTypes": [],
114
+ "resourceDisplayName": "Microsoft Graph",
115
+ "resourceId": "00000003-0000-0000-c000-000000000000",
116
+ "status": {
117
+ "errorCode": 0,
118
+ "failureReason": null,
119
+ "additionalDetails": null
120
+ },
121
+ "deviceDetail": {
122
+ "deviceId": "",
123
+ "displayName": null,
124
+ "operatingSystem": "Windows 10",
125
+ "browser": "Edge 80.0.361",
126
+ "isCompliant": null,
127
+ "isManaged": null,
128
+ "trustType": null
129
+ },
130
+ "location": {
131
+ "city": "Redmond",
132
+ "state": "Washington",
133
+ "countryOrRegion": "US",
134
+ "geoCoordinates": {
135
+ "altitude": null,
136
+ "latitude": 47.68050003051758,
137
+ "longitude": -122.12094116210938
138
+ }
139
+ },
140
+ "appliedConditionalAccessPolicies": [
141
+ {
142
+ "id": "de7e60eb-ed89-4d73-8205-2227def6b7c9",
143
+ "displayName": "SharePoint limited access for guest workers",
144
+ "enforcedGrantControls": [],
145
+ "enforcedSessionControls": [],
146
+ "result": "notEnabled"
147
+ },
148
+ {
149
+ "id": "6701123a-b4c6-48af-8565-565c8bf7cabc",
150
+ "displayName": "Medium signin risk block",
151
+ "enforcedGrantControls": [],
152
+ "enforcedSessionControls": [],
153
+ "result": "notEnabled"
154
+ }
155
+ ]
156
+ }
157
+ ]
158
+ ```
159
+
160
+ </TabItem>
161
+ <TabItem value="Text">
162
+
163
+ ```text
164
+ id userPrincipalName appId appDisplayName createdDateTime
165
+ ------------------------------------ ------------------------ ------------------------------------ -------------- ----------------------------
166
+ 66ea54eb-6301-4ee5-be62-ff5a759b0100 testaccount1@contoso.com de8bc8b5-d9f9-48b1-a8ad-b748da725064 Graph explorer 2020-03-13T19:15:41.6195833Z
167
+ ```
168
+
169
+ </TabItem>
170
+ <TabItem value="CSV">
171
+
172
+ ```csv
173
+ id,userPrincipalName,appId,appDisplayName,createdDateTime
174
+ 66ea54eb-6301-4ee5-be62-ff5a759b0100,john@contoso.com,de8bc8b5-d9f9-48b1-a8ad-b748da725064,Graph explorer,2020-03-13T19:15:41.6195833Z
175
+ ```
176
+
177
+ </TabItem>
178
+ <TabItem value="Markdown">
179
+
180
+ ```md
181
+ # aad user signin list
182
+
183
+ Date: 2023-06-02
184
+
185
+ Property | Value
186
+ ---------|-------
187
+ # aad user signin list
188
+
189
+ Date: 2023-06-02
190
+
191
+ ## 66ea54eb-6301-4ee5-be62-ff5a759b0100
192
+
193
+ Property | Value
194
+ ---------|-------
195
+ id | 66ea54eb-6301-4ee5-be62-ff5a759b0100
196
+ createdDateTime | 2020-03-13T19:15:41.6195833Z
197
+ userDisplayName | Test Contoso
198
+ userPrincipalName | john@contoso.com
199
+ userId | 26be570a-ae82-4189-b4e2-a37c6808512d
200
+ appId | de8bc8b5-d9f9-48b1-a8ad-b748da725064
201
+ appDisplayName | Graph explorer
202
+ ipAddress | 131.107.159.37
203
+ clientAppUsed | Browser
204
+ correlationId | d79f5bee-5860-4832-928f-3133e22ae912
205
+ conditionalAccessStatus | notApplied
206
+ isInteractive | true
207
+ riskDetail | none
208
+ riskLevelAggregated | none
209
+ riskLevelDuringSignIn | none
210
+ riskState | none
211
+ resourceDisplayName | Microsoft Graph
212
+ resourceId | 00000003-0000-0000-c000-000000000000
213
+ ```
214
+
215
+ </TabItem>
216
+ </Tabs>