@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
@@ -21,6 +21,9 @@ m365 flow list [options]
21
21
  `--sharingStatus [sharingStatus]`
22
22
  : List a specific type of flows. Valid values: `ownedByMe`, `personal`, `sharedWithMe`, `all`. Defaults to `ownedByMe`. Don't specify this option when using asAdmin.
23
23
 
24
+ `--includeSolutions`
25
+ : Include flows from solutions.
26
+
24
27
  `--asAdmin`
25
28
  : Set, to list all Flows as admin. Otherwise will return only your own flows.
26
29
  ```
@@ -58,6 +61,18 @@ List all flows in the given environment
58
61
  m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --asAdmin
59
62
  ```
60
63
 
64
+ List all flows that are shared with the current user
65
+
66
+ ```sh
67
+ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --sharingStatus sharedWithMe
68
+ ```
69
+
70
+ List all personal flows and include flows from solutions
71
+
72
+ ```sh
73
+ m365 flow list --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --sharingStatus personal --includeSolutions
74
+ ```
75
+
61
76
  ## Response
62
77
 
63
78
  ### Standard response
@@ -177,6 +177,16 @@ m365 login --authType secret --secret topSeCr3t@007
177
177
  ```json
178
178
  To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CQBMTLEFC to authenticate.
179
179
  ```
180
+ Upon successful login:
181
+ ```json
182
+ {
183
+ "connectedAs": "john.doe@contoso.onmicrosoft.com",
184
+ "authType": "DeviceCode",
185
+ "appId": "31359c7f-bd7e-475c-86db-fdb8c937548e",
186
+ "appTenant": "common",
187
+ "cloudType": "Public"
188
+ }
189
+ ```
180
190
 
181
191
  </TabItem>
182
192
  <TabItem value="Text">
@@ -184,6 +194,14 @@ m365 login --authType secret --secret topSeCr3t@007
184
194
  ```text
185
195
  To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CQBMTLEFC to authenticate.
186
196
  ```
197
+ Upon successful login:
198
+ ```text
199
+ appId : 31359c7f-bd7e-475c-86db-fdb8c937548e
200
+ appTenant : common
201
+ authType : DeviceCode
202
+ connectedAs: john.doe@contoso.onmicrosoft.com,
203
+ cloudType : Public
204
+ ```
187
205
 
188
206
  </TabItem>
189
207
  <TabItem value="CSV">
@@ -191,6 +209,11 @@ m365 login --authType secret --secret topSeCr3t@007
191
209
  ```csv
192
210
  To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CQBMTLEFC to authenticate.
193
211
  ```
212
+ Upon successful login:
213
+ ```csv
214
+ connectedAs,authType,appId,appTenant,cloudType
215
+ john.doe@contoso.onmicrosoft.com,DeviceCode,31359c7f-bd7e-475c-86db-fdb8c937548e,common,Public
216
+ ```
194
217
 
195
218
  </TabItem>
196
219
  <TabItem value="Markdown">
@@ -198,6 +221,22 @@ m365 login --authType secret --secret topSeCr3t@007
198
221
  ```md
199
222
  To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CQBMTLEFC to authenticate.
200
223
  ```
224
+ Upon successful login:
225
+ ```md
226
+ # status
227
+
228
+ Date: 7/2/2023
229
+
230
+
231
+
232
+ Property | Value
233
+ ---------|-------
234
+ connectedAs | john.doe@contoso.onmicrosoft.com
235
+ authType | DeviceCode
236
+ appId | 31359c7f-bd7e-475c-86db-fdb8c937548e
237
+ appTenant | common
238
+ cloudType | Public
239
+ ```
201
240
 
202
241
  </TabItem>
203
242
  </Tabs>
@@ -9,7 +9,7 @@ Gets information about the specified Microsoft Power App
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pa app get [options]
12
+ m365 pa app get [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ Lists all Power Apps apps
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pa app list [options]
12
+ m365 pa app list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ Gets a specific AI builder models in the specified Power Platform environment
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp aibuildermodel get [options]
12
+ m365 pp aibuildermodel get [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ List available AI builder models in the specified Power Platform environment
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp aibuildermodel list [options]
12
+ m365 pp aibuildermodel list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ Clones a specific Microsoft Power Platform card in the specified Power Platform
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp card clone [options]
12
+ m365 pp card clone [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ Gets a specific Microsoft Power Platform card in the specified Power Platform en
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp card get [options]
12
+ m365 pp card get [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ Lists Microsoft Power Platform cards in the specified Power Platform environment
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp card list [options]
12
+ m365 pp card list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ Get information about the specified chatbot
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp chatbot get [options]
12
+ m365 pp chatbot get [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ Lists Microsoft Power Platform chatbot in the specified Power Platform environme
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp chatbot list [options]
12
+ m365 pp chatbot list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ List a dataverse table in a given environment
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp dataverse table get [options]
12
+ m365 pp dataverse table get [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -9,7 +9,7 @@ Lists dataverse tables in a given environment
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp dataverse table list [options]
12
+ m365 pp dataverse table list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -7,7 +7,7 @@ Removes a dataverse table in a given environment
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- pp dataverse table remove [options]
10
+ m365 pp dataverse table remove [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -9,7 +9,7 @@ Lists table rows for the given Dataverse table
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- pp dataverse table row list [options]
12
+ m365 pp dataverse table row list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -7,7 +7,7 @@ Removes a row from a dataverse table in a given environment.
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- pp dataverse table row remove [options]
10
+ m365 pp dataverse table row remove [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -47,12 +47,6 @@ This command is based on an API that is currently in preview and is subject to c
47
47
 
48
48
  :::
49
49
 
50
- :::caution
51
-
52
- This command currently only supports delegated permissions.
53
-
54
- :::
55
-
56
50
  ## Examples
57
51
 
58
52
  Create a retention event to start retention at the end of 2022 for all employee documents that have been labeled and have the Asset ID _EmployeeNr1234_
@@ -37,12 +37,6 @@ This command is based on an API that is currently in preview and is subject to c
37
37
 
38
38
  :::
39
39
 
40
- :::caution
41
-
42
- This command currently only supports delegated permissions.
43
-
44
- :::
45
-
46
40
  ## Response
47
41
 
48
42
  <Tabs>
@@ -32,15 +32,8 @@ This command is based on a Microsoft Graph API that is currently in preview and
32
32
 
33
33
  :::
34
34
 
35
- :::caution
36
-
37
- This command currently only supports delegated permissions.
38
-
39
- :::
40
-
41
35
  ## Response
42
36
 
43
-
44
37
  <Tabs>
45
38
  <TabItem value="JSON">
46
39
 
@@ -38,12 +38,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
38
38
 
39
39
  :::
40
40
 
41
- :::caution
42
-
43
- This command currently only supports delegated permissions.
44
-
45
- :::
46
-
47
41
  ## Response
48
42
 
49
43
  The command won't return a response on success.
@@ -32,12 +32,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
32
32
 
33
33
  :::
34
34
 
35
- :::caution
36
-
37
- This command currently only supports delegated permissions.
38
-
39
- :::
40
-
41
35
  ## Examples
42
36
 
43
37
  Create a retention event type *Contract Expiry*.
@@ -29,12 +29,6 @@ This command is based on an API that is currently in preview and is subject to c
29
29
 
30
30
  :::
31
31
 
32
- :::caution
33
-
34
- This command currently only supports delegated permissions.
35
-
36
- :::
37
-
38
32
  ## Examples
39
33
 
40
34
  Get a retention event type by id
@@ -24,12 +24,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
24
24
 
25
25
  :::
26
26
 
27
- :::caution
28
-
29
- This command currently only supports delegated permissions.
30
-
31
- :::
32
-
33
27
  ## Examples
34
28
 
35
29
  Get a list of retention event types
@@ -30,12 +30,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
30
30
 
31
31
  :::
32
32
 
33
- :::caution
34
-
35
- This command currently only supports delegated permissions.
36
-
37
- :::
38
-
39
33
  ## Examples
40
34
 
41
35
  Delete a retention event type by id
@@ -30,12 +30,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
30
30
 
31
31
  :::
32
32
 
33
- :::caution
34
-
35
- This command currently only supports delegated permissions.
36
-
37
- :::
38
-
39
33
  ## Examples
40
34
 
41
35
  Update the description of a retention event type
@@ -59,12 +59,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
59
59
 
60
60
  :::
61
61
 
62
- :::caution
63
-
64
- This command currently only supports delegated permissions.
65
-
66
- :::
67
-
68
62
  ## Examples
69
63
 
70
64
  Create a retention label that retains documents and deletes them after one year.
@@ -29,12 +29,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
29
29
 
30
30
  :::
31
31
 
32
- :::caution
33
-
34
- This command currently only supports delegated permissions.
35
-
36
- :::
37
-
38
32
  ## Examples
39
33
 
40
34
  Get a retention label
@@ -24,12 +24,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
24
24
 
25
25
  :::
26
26
 
27
- :::caution
28
-
29
- This command currently only supports delegated permissions.
30
-
31
- :::
32
-
33
27
  ## Examples
34
28
 
35
29
  Get a list of retention labels
@@ -30,12 +30,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
30
30
 
31
31
  :::
32
32
 
33
- :::caution
34
-
35
- This command currently only supports delegated permissions.
36
-
37
- :::
38
-
39
33
  ## Examples
40
34
 
41
35
  Delete a retention label
@@ -51,12 +51,6 @@ This command is based on a Microsoft Graph API that is currently in preview and
51
51
 
52
52
  :::
53
53
 
54
- :::caution
55
-
56
- This command currently only supports delegated permissions.
57
-
58
- :::
59
-
60
54
  ## Examples
61
55
 
62
56
  Update a retention label so that it retains documents as records and deletes them after one year.
@@ -49,6 +49,7 @@ The `m365 setup` command uses the following presets:
49
49
  - interactive use:
50
50
  - autoOpenLinksInBrowser: true,
51
51
  - copyDeviceCodeToClipboard: true,
52
+ - interactive: true,
52
53
  - output: 'text',
53
54
  - printErrorsAsPlainText: true,
54
55
  - prompt: true,
@@ -57,6 +58,7 @@ The `m365 setup` command uses the following presets:
57
58
  - scripting use:
58
59
  - autoOpenLinksInBrowser: false,
59
60
  - copyDeviceCodeToClipboard: false,
61
+ - interactive: false,
60
62
  - output: 'json',
61
63
  - printErrorsAsPlainText: false,
62
64
  - prompt: false,
@@ -35,7 +35,7 @@ m365 spfx project upgrade [options]
35
35
 
36
36
  ## Remarks
37
37
 
38
- The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.17.2).
38
+ The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.17.4).
39
39
 
40
40
  This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
41
41
 
@@ -0,0 +1,72 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # spo applicationcustomizer set
4
+
5
+ Updates an existing Application Customizer on a site
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 spo applicationcustomizer set [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-u, --webUrl <webUrl>`
17
+ : The site to update the Application Customizer on.
18
+
19
+ `-t, --title [title]`
20
+ : The title of the Application Customizer to update. Specify either `title`, `id` or `clientSideComponentId`.
21
+
22
+ `-i, --id [id]`
23
+ : The id of the Application Customizer to update. Specify either `title`, `id` or `clientSideComponentId`.
24
+
25
+ `-c, --clientSideComponentId [clientSideComponentId]`
26
+ : The Client Side Component Id (GUID) of the Application Customizer to update. Specify either `title`, `id` or `clientSideComponentId`.
27
+
28
+ `--newTitle [newTitle]`
29
+ : The new title of the Application Customizer.
30
+
31
+ `-p, --clientSideComponentProperties [clientSideComponentProperties]`
32
+ : The Client Side Component properties of the Application Customizer.
33
+
34
+ `-s, --scope [scope]`
35
+ : The scope where to lookup the Application Customizer. Allowed values: `Site`, `Web`, and `All`. Defaults to `All`.
36
+ ```
37
+
38
+ <Global />
39
+
40
+ ## Remarks
41
+
42
+ Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for clientSideComponentProperties option that has JSON value because the command shell treats quotes differently. For example, this is how Application Customizer can be updated from the Windows cmd.exe:
43
+
44
+ ```sh
45
+ m365 spo applicationcustomizer set --webUrl https://contoso.sharepoint.com/sites/sales --id b41916e7-e69d-467f-b37f-ff8ecf8f99f2 --newTitle "Some customizer" --clientSideComponentProperties '{\"testMessage\":\"Test message\"}'
46
+ ```
47
+
48
+ Note, how the clientSideComponentProperties option (--clientSideComponentProperties) has escaped double quotes `'{\"testMessage\":\"Test message\"}'` compared to execution from bash `'{"testMessage":"Test message"}'`.
49
+
50
+ :::caution Escaping JSON in PowerShell
51
+
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
+
54
+ :::
55
+
56
+ ## Examples
57
+
58
+ Updates the title of an application customizer on the sales site
59
+
60
+ ```sh
61
+ m365 spo applicationcustomizer set --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --newTitle "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales
62
+ ```
63
+
64
+ Updates the properties of an application customizer on the sales site
65
+
66
+ ```sh
67
+ m365 spo applicationcustomizer set --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --clientSideComponentProperties '{ "testMessage": "Test message" }' --webUrl https://contoso.sharepoint.com/sites/sales
68
+ ```
69
+
70
+ ## Response
71
+
72
+ The command won't return a response on success.
@@ -22,16 +22,19 @@ m365 spo commandset set [options]
22
22
  `-i, --id [id]`
23
23
  : The id of the ListView Command Set to update. Specify either `title`, `id`or `clientSideComponentId`.
24
24
 
25
- `-c, --clientSideComponentId [clientSideComponentId]`
25
+ `-c, --clientSideComponentId [clientSideComponentId]`
26
26
  : The Client Side Component Id (GUID) of the ListView Command Set to update. Specify either `title`, `id`or `clientSideComponentId`.
27
27
 
28
+ `--newClientSideComponentId [newClientSideComponentId]`
29
+ : The new Client Side Component Id (GUID) of the ListView Command Set.
30
+
28
31
  `--newTitle [newTitle]`
29
32
  : The new title of the ListView Command Set.
30
33
 
31
34
  `-l, --listType [listType]`
32
35
  : The list or library type to register the Command Set on. Allowed values `List`, `Library` or `SitePages`.
33
36
 
34
- `--clientSideComponentProperties [clientSideComponentProperties]`
37
+ `--clientSideComponentProperties [clientSideComponentProperties]`
35
38
  : The Client Side Component properties of the ListView Command Set.
36
39
 
37
40
  `-s, --scope [scope]`
@@ -64,7 +67,7 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
64
67
  Updates the title and location of a ListView Command Set on the sales site.
65
68
 
66
69
  ```sh
67
- m365 spo commandset set --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc --newTitle "Some new title" --location Both --webUrl https://contoso.sharepoint.com/sites/sales --scope Site
70
+ m365 spo commandset set --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc --newTitle "Some new title" --location Both --webUrl https://contoso.sharepoint.com/sites/sales --scope Site
68
71
  ```
69
72
 
70
73
  Updates a ListView Command Set on the sales site with some properties.
@@ -73,6 +76,12 @@ Updates a ListView Command Set on the sales site with some properties.
73
76
  m365 spo commandset set --title "Some customizer" --clientSideComponentProperties '{ "someProperty": "Some value" }' --webUrl https://contoso.sharepoint.com/sites/sales --scope Site
74
77
  ```
75
78
 
79
+ Updates the Client Side Component Id of a ListView Command Set.
80
+
81
+ ```sh
82
+ m365 spo commandset set --title "Some customizer" --newClientSideComponentId b2c5faf3-638f-44ae-bfde-1730d94283bf --webUrl https://contoso.sharepoint.com/sites/sales
83
+ ```
84
+
76
85
  ## Response
77
86
 
78
87
  The command won't return a response on success.
@@ -0,0 +1,55 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # spo file checkout undo
4
+
5
+ Discards a checked out file
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 spo file checkout undo [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-u, --webUrl <webUrl>`
17
+ : The URL of the site where the file is located.
18
+
19
+ `-f, --fileUrl [fileUrl]`
20
+ : The server- or site-relative URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
21
+
22
+ `-i, --fileId [fileId]`
23
+ : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
24
+
25
+ `--confirm`
26
+ : Don't prompt for confirmation.
27
+ ```
28
+
29
+ <Global />
30
+
31
+ ## Remarks
32
+
33
+ :::info
34
+
35
+ When specifying option `fileUrl`, make sure that the URL is decoded. If not, you will get a `File Not Found` error.
36
+
37
+ :::
38
+
39
+ ## Examples
40
+
41
+ Discards a checked-out file with a specific ID.
42
+
43
+ ```sh
44
+ m365 spo file checkout undo --webUrl https://contoso.sharepoint.com/sites/project-x --fileId 'b2307a39-e878-458b-bc90-03bc578531d6'
45
+ ```
46
+
47
+ Discards a checked-out file with a specific URL without prompting for confirmation.
48
+
49
+ ```sh
50
+ m365 spo file checkout undo --webUrl https://contoso.sharepoint.com/sites/project-x --fileUrl '/sites/project-x/documents/Test1.docx' --confirm
51
+ ```
52
+
53
+ ## Response
54
+
55
+ The command won't return a response on success.
@@ -33,7 +33,7 @@ m365 spo file retentionlabel ensure [options]
33
33
 
34
34
  ## Remarks
35
35
 
36
- You can also use [spo listitem retentionlabel remove](./../../../cmd/spo//listitem/listitem-retentionlabel-remove.mdx) for removing the retention label from a listitem.
36
+ You can also use [spo listitem retentionlabel remove](./../../../cmd/spo/listitem/listitem-retentionlabel-remove.mdx) for removing the retention label from a listitem.
37
37
 
38
38
  The `--assetId` option has to do with event-based retention. Event-based retention is about starting a retention period when a specific event occurs, instead of the moment a document was labeled or created.
39
39
 
@@ -30,7 +30,7 @@ m365 spo folder retentionlabel ensure [options]
30
30
 
31
31
  ## Remarks
32
32
 
33
- You can also use [spo listitem retentionlabel remove](./../../../cmd/spo//listitem/listitem-retentionlabel-remove.mdx) for removing the retention label from a listitem.
33
+ You can also use [spo listitem retentionlabel remove](./../../../cmd/spo/listitem/listitem-retentionlabel-remove.mdx) for removing the retention label from a listitem.
34
34
 
35
35
  ## Examples
36
36