@pnp/cli-microsoft365 11.5.0 → 11.6.0-beta.1d74bb5

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 (937) hide show
  1. package/.devproxy/api-specs/sharepoint-admin.yaml +40 -0
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/cli/cli.js +3 -0
  5. package/dist/m365/base/PeriodBasedReport.js +1 -1
  6. package/dist/m365/cli/commands/config/config-set.js +1 -1
  7. package/dist/m365/entra/commands/approleassignment/approleassignment-add.js +2 -2
  8. package/dist/m365/entra/commands/approleassignment/approleassignment-remove.js +1 -1
  9. package/dist/m365/entra/commands/group/group-add.js +2 -4
  10. package/dist/m365/entra/commands/group/group-member-list.js +1 -1
  11. package/dist/m365/entra/commands/m365group/m365group-add.js +4 -8
  12. package/dist/m365/entra/commands/user/user-recyclebinitem-list.js +5 -0
  13. package/dist/m365/file/commands/convert/convert-pdf.js +3 -5
  14. package/dist/m365/file/commands/file-add.js +3 -5
  15. package/dist/m365/file/commands/file-list.js +1 -2
  16. package/dist/m365/flow/commands/flow-export.js +1 -2
  17. package/dist/m365/flow/commands/owner/owner-remove.js +1 -1
  18. package/dist/m365/graph/commands/schemaextension/schemaextension-set.js +1 -1
  19. package/dist/m365/outlook/commands/calendargroup/calendargroup-list.js +87 -0
  20. package/dist/m365/outlook/commands.js +1 -0
  21. package/dist/m365/planner/commands/task/task-add.js +1 -2
  22. package/dist/m365/planner/commands/task/task-list.js +1 -1
  23. package/dist/m365/planner/commands/task/task-set.js +1 -2
  24. package/dist/m365/pp/commands/environment/environment-list.js +1 -1
  25. package/dist/m365/spfx/commands/project/project-doctor/rules/DependencyRule.js +1 -2
  26. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003003_CFG_bundles.js +4 -5
  27. package/dist/m365/spfx/commands/spfx-doctor.js +1 -2
  28. package/dist/m365/spo/commands/agent/agent-add.js +172 -0
  29. package/dist/m365/spo/commands/app/app-deploy.js +2 -4
  30. package/dist/m365/spo/commands/app/app-list.js +2 -4
  31. package/dist/m365/spo/commands/cdn/cdn-get.js +2 -4
  32. package/dist/m365/spo/commands/cdn/cdn-origin-add.js +2 -4
  33. package/dist/m365/spo/commands/cdn/cdn-origin-list.js +2 -4
  34. package/dist/m365/spo/commands/cdn/cdn-policy-list.js +2 -4
  35. package/dist/m365/spo/commands/cdn/cdn-set.js +2 -3
  36. package/dist/m365/spo/commands/contenttype/contenttype-set.js +2 -2
  37. package/dist/m365/spo/commands/field/field-get.js +1 -1
  38. package/dist/m365/spo/commands/field/field-remove.js +1 -1
  39. package/dist/m365/spo/commands/file/file-remove.js +1 -1
  40. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +1 -1
  41. package/dist/m365/spo/commands/list/list-remove.js +1 -1
  42. package/dist/m365/spo/commands/list/list-view-field-add.js +1 -2
  43. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +2 -3
  44. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +1 -1
  45. package/dist/m365/spo/commands/navigation/navigation-node-get.js +18 -28
  46. package/dist/m365/spo/commands/navigation/navigation-node-list.js +14 -39
  47. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +1 -2
  48. package/dist/m365/spo/commands/page/clientsidepages.js +6 -6
  49. package/dist/m365/spo/commands/page/page-add.js +2 -4
  50. package/dist/m365/spo/commands/page/page-header-set.js +4 -6
  51. package/dist/m365/spo/commands/page/page-section-add.js +7 -7
  52. package/dist/m365/spo/commands/page/page-set.js +6 -12
  53. package/dist/m365/spo/commands/page/page-text-add.js +1 -2
  54. package/dist/m365/spo/commands/site/site-add.js +38 -8
  55. package/dist/m365/spo/commands/site/site-apppermission-add.js +1 -1
  56. package/dist/m365/spo/commands/site/site-set.js +1 -1
  57. package/dist/m365/spo/commands/spo-search.js +1 -1
  58. package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +1 -1
  59. package/dist/m365/spo/commands/tenant/tenant-site-get.js +112 -0
  60. package/dist/m365/spo/commands/term/term-group-add.js +1 -2
  61. package/dist/m365/spo/commands/term/term-set-add.js +1 -2
  62. package/dist/m365/spo/commands/theme/theme-apply.js +1 -1
  63. package/dist/m365/spo/commands/user/user-list.js +1 -3
  64. package/dist/m365/spo/commands/web/web-add.js +2 -4
  65. package/dist/m365/spo/commands/web/web-reindex.js +1 -2
  66. package/dist/m365/spo/commands.js +2 -0
  67. package/dist/m365/spp/commands/autofillcolumn/autofillcolumn-set.js +1 -1
  68. package/dist/m365/viva/commands/engage/engage-role-member-remove.js +83 -0
  69. package/dist/m365/viva/commands/engage/engage-search.js +1 -1
  70. package/dist/m365/viva/commands.js +1 -0
  71. package/dist/utils/accessToken.js +21 -0
  72. package/dist/utils/brandCenter.js +29 -0
  73. package/dist/utils/odata.js +1 -2
  74. package/dist/utils/powerPlatform.js +1 -1
  75. package/dist/utils/spo.js +2 -2
  76. package/dist/utils/urlUtil.js +2 -12
  77. package/docs/docs/cmd/adaptivecard/adaptivecard-send.mdx +1 -1
  78. package/docs/docs/cmd/app/app-get.mdx +1 -1
  79. package/docs/docs/cmd/app/app-open.mdx +1 -1
  80. package/docs/docs/cmd/app/permission/permission-add.mdx +1 -1
  81. package/docs/docs/cmd/app/permission/permission-list.mdx +1 -1
  82. package/docs/docs/cmd/booking/business/business-get.mdx +1 -1
  83. package/docs/docs/cmd/booking/business/business-list.mdx +1 -1
  84. package/docs/docs/cmd/cli/app/app-add.mdx +1 -1
  85. package/docs/docs/cmd/cli/app/app-reconsent.mdx +1 -1
  86. package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
  87. package/docs/docs/cmd/cli/cli-doctor.mdx +1 -1
  88. package/docs/docs/cmd/cli/cli-issue.mdx +1 -1
  89. package/docs/docs/cmd/cli/completion/completion-clink-update.mdx +1 -1
  90. package/docs/docs/cmd/cli/completion/completion-pwsh-setup.mdx +1 -1
  91. package/docs/docs/cmd/cli/completion/completion-pwsh-update.mdx +1 -1
  92. package/docs/docs/cmd/cli/completion/completion-sh-setup.mdx +1 -1
  93. package/docs/docs/cmd/cli/completion/completion-sh-update.mdx +1 -1
  94. package/docs/docs/cmd/cli/config/config-get.mdx +2 -2
  95. package/docs/docs/cmd/cli/config/config-list.mdx +2 -2
  96. package/docs/docs/cmd/cli/config/config-reset.mdx +2 -2
  97. package/docs/docs/cmd/cli/config/config-set.mdx +2 -2
  98. package/docs/docs/cmd/connection/connection-list.mdx +1 -1
  99. package/docs/docs/cmd/connection/connection-remove.mdx +1 -1
  100. package/docs/docs/cmd/connection/connection-set.mdx +1 -1
  101. package/docs/docs/cmd/connection/connection-use.mdx +1 -1
  102. package/docs/docs/cmd/context/context-init.mdx +1 -1
  103. package/docs/docs/cmd/context/context-remove.mdx +1 -1
  104. package/docs/docs/cmd/context/option/option-list.mdx +1 -1
  105. package/docs/docs/cmd/context/option/option-remove.mdx +1 -1
  106. package/docs/docs/cmd/context/option/option-set.mdx +1 -1
  107. package/docs/docs/cmd/docs.mdx +1 -1
  108. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-add.mdx +1 -1
  109. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +1 -1
  110. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +1 -1
  111. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +1 -1
  112. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +1 -1
  113. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-list.mdx +1 -1
  114. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +1 -1
  115. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-remove.mdx +1 -1
  116. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +1 -1
  117. package/docs/docs/cmd/entra/app/app-add.mdx +1 -1
  118. package/docs/docs/cmd/entra/app/app-get.mdx +1 -1
  119. package/docs/docs/cmd/entra/app/app-list.mdx +1 -1
  120. package/docs/docs/cmd/entra/app/app-permission-add.mdx +1 -1
  121. package/docs/docs/cmd/entra/app/app-permission-list.mdx +1 -1
  122. package/docs/docs/cmd/entra/app/app-permission-remove.mdx +1 -1
  123. package/docs/docs/cmd/entra/app/app-remove.mdx +1 -1
  124. package/docs/docs/cmd/entra/app/app-role-add.mdx +22 -1
  125. package/docs/docs/cmd/entra/app/app-role-list.mdx +21 -2
  126. package/docs/docs/cmd/entra/app/app-role-remove.mdx +23 -2
  127. package/docs/docs/cmd/entra/app/app-set.mdx +1 -1
  128. package/docs/docs/cmd/entra/approleassignment/approleassignment-add.mdx +1 -1
  129. package/docs/docs/cmd/entra/approleassignment/approleassignment-list.mdx +1 -1
  130. package/docs/docs/cmd/entra/approleassignment/approleassignment-remove.mdx +1 -1
  131. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +1 -1
  132. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +1 -1
  133. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +1 -1
  134. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +1 -1
  135. package/docs/docs/cmd/entra/group/group-add.mdx +1 -1
  136. package/docs/docs/cmd/entra/group/group-get.mdx +1 -1
  137. package/docs/docs/cmd/entra/group/group-list.mdx +1 -1
  138. package/docs/docs/cmd/entra/group/group-member-add.mdx +1 -1
  139. package/docs/docs/cmd/entra/group/group-member-list.mdx +1 -1
  140. package/docs/docs/cmd/entra/group/group-member-remove.mdx +1 -1
  141. package/docs/docs/cmd/entra/group/group-member-set.mdx +1 -1
  142. package/docs/docs/cmd/entra/group/group-remove.mdx +1 -1
  143. package/docs/docs/cmd/entra/group/group-set.mdx +1 -1
  144. package/docs/docs/cmd/entra/groupsetting/groupsetting-add.mdx +1 -1
  145. package/docs/docs/cmd/entra/groupsetting/groupsetting-get.mdx +1 -1
  146. package/docs/docs/cmd/entra/groupsetting/groupsetting-list.mdx +1 -1
  147. package/docs/docs/cmd/entra/groupsetting/groupsetting-remove.mdx +1 -1
  148. package/docs/docs/cmd/entra/groupsetting/groupsetting-set.mdx +1 -1
  149. package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-get.mdx +1 -1
  150. package/docs/docs/cmd/entra/groupsettingtemplate/groupsettingtemplate-list.mdx +1 -1
  151. package/docs/docs/cmd/entra/license/license-list.mdx +1 -1
  152. package/docs/docs/cmd/entra/m365group/m365group-add.mdx +1 -1
  153. package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +1 -1
  154. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +1 -1
  155. package/docs/docs/cmd/entra/m365group/m365group-get.mdx +1 -1
  156. package/docs/docs/cmd/entra/m365group/m365group-list.mdx +1 -1
  157. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-clear.mdx +1 -1
  158. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +1 -1
  159. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-remove.mdx +1 -1
  160. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-restore.mdx +1 -1
  161. package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +1 -1
  162. package/docs/docs/cmd/entra/m365group/m365group-renew.mdx +1 -1
  163. package/docs/docs/cmd/entra/m365group/m365group-report-activitycounts.mdx +1 -1
  164. package/docs/docs/cmd/entra/m365group/m365group-report-activitydetail.mdx +1 -1
  165. package/docs/docs/cmd/entra/m365group/m365group-report-activityfilecounts.mdx +1 -1
  166. package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +1 -1
  167. package/docs/docs/cmd/entra/m365group/m365group-report-activitystorage.mdx +1 -1
  168. package/docs/docs/cmd/entra/m365group/m365group-set.mdx +1 -1
  169. package/docs/docs/cmd/entra/m365group/m365group-teamify.mdx +1 -1
  170. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +1 -1
  171. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
  172. package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +1 -1
  173. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +1 -1
  174. package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +1 -1
  175. package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +1 -1
  176. package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +1 -1
  177. package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +1 -1
  178. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +1 -1
  179. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
  180. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-remove.mdx +1 -1
  181. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-set.mdx +1 -1
  182. package/docs/docs/cmd/entra/organization/organization-list.mdx +1 -1
  183. package/docs/docs/cmd/entra/organization/organization-set.mdx +1 -1
  184. package/docs/docs/cmd/entra/pim/pim-role-assignment-add.mdx +1 -1
  185. package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +1 -1
  186. package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +1 -1
  187. package/docs/docs/cmd/entra/pim/pim-role-assignment-remove.mdx +1 -1
  188. package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +1 -1
  189. package/docs/docs/cmd/entra/policy/policy-list.mdx +20 -1
  190. package/docs/docs/cmd/entra/resourcenamespace/resourcenamespace-list.mdx +20 -1
  191. package/docs/docs/cmd/entra/roleassignment/roleassignment-add.mdx +1 -1
  192. package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +1 -1
  193. package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +1 -1
  194. package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +1 -1
  195. package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +1 -1
  196. package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +1 -1
  197. package/docs/docs/cmd/entra/rolepermission/rolepermission-list.mdx +1 -1
  198. package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +1 -1
  199. package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +1 -1
  200. package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +1 -1
  201. package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +1 -1
  202. package/docs/docs/cmd/entra/user/user-add.mdx +26 -7
  203. package/docs/docs/cmd/entra/user/user-get.mdx +20 -3
  204. package/docs/docs/cmd/entra/user/user-groupmembership-list.mdx +1 -1
  205. package/docs/docs/cmd/entra/user/user-guest-add.mdx +1 -1
  206. package/docs/docs/cmd/entra/user/user-hibp.mdx +5 -1
  207. package/docs/docs/cmd/entra/user/user-license-add.mdx +1 -1
  208. package/docs/docs/cmd/entra/user/user-license-list.mdx +1 -1
  209. package/docs/docs/cmd/entra/user/user-license-remove.mdx +1 -1
  210. package/docs/docs/cmd/entra/user/user-list.mdx +20 -1
  211. package/docs/docs/cmd/entra/user/user-password-validate.mdx +1 -1
  212. package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +1 -1
  213. package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +1 -1
  214. package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +1 -1
  215. package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +1 -1
  216. package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +1 -1
  217. package/docs/docs/cmd/entra/user/user-remove.mdx +27 -6
  218. package/docs/docs/cmd/entra/user/user-session-revoke.mdx +1 -1
  219. package/docs/docs/cmd/entra/user/user-set.mdx +28 -1
  220. package/docs/docs/cmd/entra/user/user-signin-list.mdx +1 -1
  221. package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +1 -1
  222. package/docs/docs/cmd/external/connection/connection-add.mdx +1 -1
  223. package/docs/docs/cmd/external/connection/connection-doctor.mdx +1 -1
  224. package/docs/docs/cmd/external/connection/connection-get.mdx +1 -1
  225. package/docs/docs/cmd/external/connection/connection-list.mdx +1 -1
  226. package/docs/docs/cmd/external/connection/connection-remove.mdx +1 -1
  227. package/docs/docs/cmd/external/connection/connection-schema-add.mdx +1 -1
  228. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +1 -1
  229. package/docs/docs/cmd/external/item/item-add.mdx +1 -1
  230. package/docs/docs/cmd/file/convert/convert-pdf.mdx +1 -1
  231. package/docs/docs/cmd/file/file-add.mdx +1 -1
  232. package/docs/docs/cmd/file/file-copy.mdx +1 -1
  233. package/docs/docs/cmd/file/file-list.mdx +1 -1
  234. package/docs/docs/cmd/file/file-move.mdx +1 -1
  235. package/docs/docs/cmd/flow/environment/environment-get.mdx +1 -1
  236. package/docs/docs/cmd/flow/environment/environment-list.mdx +1 -1
  237. package/docs/docs/cmd/flow/flow-disable.mdx +1 -1
  238. package/docs/docs/cmd/flow/flow-enable.mdx +1 -1
  239. package/docs/docs/cmd/flow/flow-export.mdx +1 -1
  240. package/docs/docs/cmd/flow/flow-get.mdx +1 -1
  241. package/docs/docs/cmd/flow/flow-list.mdx +1 -1
  242. package/docs/docs/cmd/flow/flow-remove.mdx +1 -1
  243. package/docs/docs/cmd/flow/owner/owner-ensure.mdx +1 -1
  244. package/docs/docs/cmd/flow/owner/owner-list.mdx +1 -1
  245. package/docs/docs/cmd/flow/owner/owner-remove.mdx +1 -1
  246. package/docs/docs/cmd/flow/recyclebinitem/recyclebinitem-list.mdx +1 -1
  247. package/docs/docs/cmd/flow/recyclebinitem/recyclebinitem-restore.mdx +1 -1
  248. package/docs/docs/cmd/flow/run/run-cancel.mdx +1 -1
  249. package/docs/docs/cmd/flow/run/run-get.mdx +1 -1
  250. package/docs/docs/cmd/flow/run/run-list.mdx +1 -1
  251. package/docs/docs/cmd/flow/run/run-resubmit.mdx +1 -1
  252. package/docs/docs/cmd/graph/changelog/changelog-list.mdx +1 -1
  253. package/docs/docs/cmd/graph/directoryextension/directoryextension-add.mdx +1 -1
  254. package/docs/docs/cmd/graph/directoryextension/directoryextension-get.mdx +1 -1
  255. package/docs/docs/cmd/graph/directoryextension/directoryextension-list.mdx +1 -1
  256. package/docs/docs/cmd/graph/directoryextension/directoryextension-remove.mdx +1 -1
  257. package/docs/docs/cmd/graph/openextension/openextension-add.mdx +1 -1
  258. package/docs/docs/cmd/graph/openextension/openextension-get.mdx +1 -1
  259. package/docs/docs/cmd/graph/openextension/openextension-list.mdx +1 -1
  260. package/docs/docs/cmd/graph/openextension/openextension-remove.mdx +1 -1
  261. package/docs/docs/cmd/graph/openextension/openextension-set.mdx +1 -1
  262. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.mdx +1 -1
  263. package/docs/docs/cmd/graph/schemaextension/schemaextension-get.mdx +1 -1
  264. package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +1 -1
  265. package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.mdx +1 -1
  266. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.mdx +1 -1
  267. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +1 -1
  268. package/docs/docs/cmd/login.mdx +1 -1
  269. package/docs/docs/cmd/logout.mdx +1 -1
  270. package/docs/docs/cmd/onedrive/onedrive-list.mdx +1 -1
  271. package/docs/docs/cmd/onedrive/report/report-activityfilecounts.mdx +1 -1
  272. package/docs/docs/cmd/onedrive/report/report-activityusercounts.mdx +1 -1
  273. package/docs/docs/cmd/onedrive/report/report-activityuserdetail.mdx +1 -1
  274. package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.mdx +1 -1
  275. package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.mdx +1 -1
  276. package/docs/docs/cmd/onedrive/report/report-usagefilecounts.mdx +1 -1
  277. package/docs/docs/cmd/onedrive/report/report-usagestorage.mdx +1 -1
  278. package/docs/docs/cmd/onenote/notebook/notebook-add.mdx +1 -1
  279. package/docs/docs/cmd/onenote/notebook/notebook-list.mdx +1 -1
  280. package/docs/docs/cmd/onenote/page/page-list.mdx +1 -1
  281. package/docs/docs/cmd/outlook/calendargroup/calendargroup-list.mdx +120 -0
  282. package/docs/docs/cmd/outlook/mail/mail-searchfolder-add.mdx +1 -1
  283. package/docs/docs/cmd/outlook/mail/mail-send.mdx +1 -1
  284. package/docs/docs/cmd/outlook/mailbox/mailbox-settings-get.mdx +1 -1
  285. package/docs/docs/cmd/outlook/mailbox/mailbox-settings-set.mdx +1 -1
  286. package/docs/docs/cmd/outlook/message/message-get.mdx +1 -1
  287. package/docs/docs/cmd/outlook/message/message-list.mdx +1 -1
  288. package/docs/docs/cmd/outlook/message/message-move.mdx +1 -1
  289. package/docs/docs/cmd/outlook/message/message-remove.mdx +1 -1
  290. package/docs/docs/cmd/outlook/report/report-mailactivitycounts.mdx +1 -1
  291. package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.mdx +1 -1
  292. package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.mdx +1 -1
  293. package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.mdx +1 -1
  294. package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.mdx +1 -1
  295. package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.mdx +1 -1
  296. package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.mdx +1 -1
  297. package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.mdx +1 -1
  298. package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.mdx +1 -1
  299. package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.mdx +1 -1
  300. package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.mdx +1 -1
  301. package/docs/docs/cmd/outlook/room/room-list.mdx +1 -1
  302. package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +1 -1
  303. package/docs/docs/cmd/pa/app/app-consent-set.mdx +1 -1
  304. package/docs/docs/cmd/pa/app/app-export.mdx +1 -1
  305. package/docs/docs/cmd/pa/app/app-get.mdx +1 -1
  306. package/docs/docs/cmd/pa/app/app-list.mdx +1 -1
  307. package/docs/docs/cmd/pa/app/app-owner-set.mdx +1 -1
  308. package/docs/docs/cmd/pa/app/app-permission-ensure.mdx +1 -1
  309. package/docs/docs/cmd/pa/app/app-permission-list.mdx +1 -1
  310. package/docs/docs/cmd/pa/app/app-permission-remove.mdx +1 -1
  311. package/docs/docs/cmd/pa/app/app-remove.mdx +1 -1
  312. package/docs/docs/cmd/pa/connector/connector-export.mdx +1 -1
  313. package/docs/docs/cmd/pa/connector/connector-list.mdx +1 -1
  314. package/docs/docs/cmd/pa/environment/environment-get.mdx +1 -1
  315. package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -1
  316. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +1 -1
  317. package/docs/docs/cmd/planner/bucket/bucket-get.mdx +1 -1
  318. package/docs/docs/cmd/planner/bucket/bucket-list.mdx +1 -1
  319. package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +1 -1
  320. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +1 -1
  321. package/docs/docs/cmd/planner/plan/plan-add.mdx +1 -1
  322. package/docs/docs/cmd/planner/plan/plan-get.mdx +1 -1
  323. package/docs/docs/cmd/planner/plan/plan-list.mdx +1 -1
  324. package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
  325. package/docs/docs/cmd/planner/plan/plan-set.mdx +1 -1
  326. package/docs/docs/cmd/planner/roster/roster-add.mdx +1 -1
  327. package/docs/docs/cmd/planner/roster/roster-get.mdx +1 -1
  328. package/docs/docs/cmd/planner/roster/roster-member-add.mdx +1 -1
  329. package/docs/docs/cmd/planner/roster/roster-member-get.mdx +1 -1
  330. package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -1
  331. package/docs/docs/cmd/planner/roster/roster-member-remove.mdx +1 -1
  332. package/docs/docs/cmd/planner/roster/roster-plan-list.mdx +1 -1
  333. package/docs/docs/cmd/planner/roster/roster-remove.mdx +1 -1
  334. package/docs/docs/cmd/planner/task/task-add.mdx +1 -1
  335. package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +1 -1
  336. package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +1 -1
  337. package/docs/docs/cmd/planner/task/task-checklistitem-remove.mdx +1 -1
  338. package/docs/docs/cmd/planner/task/task-get.mdx +1 -1
  339. package/docs/docs/cmd/planner/task/task-list.mdx +1 -1
  340. package/docs/docs/cmd/planner/task/task-reference-add.mdx +1 -1
  341. package/docs/docs/cmd/planner/task/task-reference-list.mdx +1 -1
  342. package/docs/docs/cmd/planner/task/task-reference-remove.mdx +1 -1
  343. package/docs/docs/cmd/planner/task/task-remove.mdx +1 -1
  344. package/docs/docs/cmd/planner/task/task-set.mdx +1 -1
  345. package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +1 -1
  346. package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +1 -1
  347. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +1 -1
  348. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +1 -1
  349. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-remove.mdx +1 -1
  350. package/docs/docs/cmd/pp/copilot/copilot-get.mdx +1 -1
  351. package/docs/docs/cmd/pp/copilot/copilot-list.mdx +1 -1
  352. package/docs/docs/cmd/pp/copilot/copilot-remove.mdx +1 -1
  353. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +1 -1
  354. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +1 -1
  355. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
  356. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +1 -1
  357. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +1 -1
  358. package/docs/docs/cmd/pp/environment/environment-get.mdx +1 -1
  359. package/docs/docs/cmd/pp/environment/environment-list.mdx +1 -1
  360. package/docs/docs/cmd/pp/gateway/gateway-get.mdx +1 -1
  361. package/docs/docs/cmd/pp/gateway/gateway-list.mdx +1 -1
  362. package/docs/docs/cmd/pp/managementapp/managementapp-add.mdx +1 -1
  363. package/docs/docs/cmd/pp/managementapp/managementapp-list.mdx +1 -1
  364. package/docs/docs/cmd/pp/solution/solution-get.mdx +1 -1
  365. package/docs/docs/cmd/pp/solution/solution-list.mdx +1 -1
  366. package/docs/docs/cmd/pp/solution/solution-publish.mdx +1 -1
  367. package/docs/docs/cmd/pp/solution/solution-publisher-add.mdx +1 -1
  368. package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +1 -1
  369. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +1 -1
  370. package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +1 -1
  371. package/docs/docs/cmd/pp/solution/solution-remove.mdx +1 -1
  372. package/docs/docs/cmd/pp/tenant/tenant-settings-list.mdx +1 -1
  373. package/docs/docs/cmd/pp/tenant/tenant-settings-set.mdx +1 -1
  374. package/docs/docs/cmd/pp/website/website-get.mdx +1 -1
  375. package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +1 -1
  376. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +1 -1
  377. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -1
  378. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -1
  379. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +1 -1
  380. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +1 -1
  381. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -1
  382. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -1
  383. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +1 -1
  384. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +1 -1
  385. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +1 -1
  386. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +1 -1
  387. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +1 -1
  388. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +1 -1
  389. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +1 -1
  390. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +1 -1
  391. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +1 -1
  392. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.mdx +1 -1
  393. package/docs/docs/cmd/purview/threatassessment/threatassessment-add.mdx +1 -1
  394. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +1 -1
  395. package/docs/docs/cmd/purview/threatassessment/threatassessment-list.mdx +1 -1
  396. package/docs/docs/cmd/request.mdx +1 -1
  397. package/docs/docs/cmd/search.mdx +1 -1
  398. package/docs/docs/cmd/setup.mdx +1 -1
  399. package/docs/docs/cmd/spe/container/container-activate.mdx +1 -1
  400. package/docs/docs/cmd/spe/container/container-add.mdx +1 -1
  401. package/docs/docs/cmd/spe/container/container-get.mdx +1 -1
  402. package/docs/docs/cmd/spe/container/container-list.mdx +1 -1
  403. package/docs/docs/cmd/spe/container/container-permission-list.mdx +1 -1
  404. package/docs/docs/cmd/spe/container/container-recyclebinitem-list.mdx +1 -1
  405. package/docs/docs/cmd/spe/container/container-recyclebinitem-remove.mdx +1 -1
  406. package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +1 -1
  407. package/docs/docs/cmd/spe/container/container-remove.mdx +1 -1
  408. package/docs/docs/cmd/spe/containertype/containertype-add.mdx +1 -1
  409. package/docs/docs/cmd/spe/containertype/containertype-get.mdx +1 -1
  410. package/docs/docs/cmd/spe/containertype/containertype-list.mdx +1 -1
  411. package/docs/docs/cmd/spe/containertype/containertype-remove.mdx +1 -1
  412. package/docs/docs/cmd/spfx/package/package-generate.mdx +1 -1
  413. package/docs/docs/cmd/spfx/project/project-azuredevops-pipeline-add.mdx +1 -1
  414. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +1 -1
  415. package/docs/docs/cmd/spfx/project/project-permissions-grant.mdx +1 -1
  416. package/docs/docs/cmd/spfx/project/project-rename.mdx +1 -1
  417. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  418. package/docs/docs/cmd/spo/agent/agent-add.mdx +190 -0
  419. package/docs/docs/cmd/spo/app/app-add.mdx +1 -1
  420. package/docs/docs/cmd/spo/app/app-deploy.mdx +1 -1
  421. package/docs/docs/cmd/spo/app/app-get.mdx +1 -1
  422. package/docs/docs/cmd/spo/app/app-install.mdx +1 -1
  423. package/docs/docs/cmd/spo/app/app-instance-list.mdx +1 -1
  424. package/docs/docs/cmd/spo/app/app-list.mdx +1 -1
  425. package/docs/docs/cmd/spo/app/app-remove.mdx +1 -1
  426. package/docs/docs/cmd/spo/app/app-retract.mdx +1 -1
  427. package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +1 -1
  428. package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
  429. package/docs/docs/cmd/spo/app/app-upgrade.mdx +1 -1
  430. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +1 -1
  431. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +1 -1
  432. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +1 -1
  433. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +1 -1
  434. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +1 -1
  435. package/docs/docs/cmd/spo/apppage/apppage-add.mdx +1 -1
  436. package/docs/docs/cmd/spo/apppage/apppage-set.mdx +1 -1
  437. package/docs/docs/cmd/spo/brandcenter/brandcenter-settings-list.mdx +1 -1
  438. package/docs/docs/cmd/spo/cdn/cdn-get.mdx +1 -1
  439. package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +1 -1
  440. package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +1 -1
  441. package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +1 -1
  442. package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +1 -1
  443. package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +1 -1
  444. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +1 -1
  445. package/docs/docs/cmd/spo/commandset/commandset-add.mdx +1 -1
  446. package/docs/docs/cmd/spo/commandset/commandset-get.mdx +1 -1
  447. package/docs/docs/cmd/spo/commandset/commandset-list.mdx +1 -1
  448. package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +1 -1
  449. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +1 -1
  450. package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +1 -1
  451. package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +1 -1
  452. package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +1 -1
  453. package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +1 -1
  454. package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +1 -1
  455. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +1 -1
  456. package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +1 -1
  457. package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +1 -1
  458. package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +1 -1
  459. package/docs/docs/cmd/spo/contenttypehub/contenttypehub-get.mdx +1 -1
  460. package/docs/docs/cmd/spo/customaction/customaction-add.mdx +1 -1
  461. package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +1 -1
  462. package/docs/docs/cmd/spo/customaction/customaction-get.mdx +1 -1
  463. package/docs/docs/cmd/spo/customaction/customaction-list.mdx +1 -1
  464. package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +1 -1
  465. package/docs/docs/cmd/spo/customaction/customaction-set.mdx +1 -1
  466. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.mdx +1 -1
  467. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.mdx +1 -1
  468. package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +1 -1
  469. package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +1 -1
  470. package/docs/docs/cmd/spo/feature/feature-disable.mdx +1 -1
  471. package/docs/docs/cmd/spo/feature/feature-enable.mdx +1 -1
  472. package/docs/docs/cmd/spo/feature/feature-list.mdx +1 -1
  473. package/docs/docs/cmd/spo/field/field-add.mdx +1 -1
  474. package/docs/docs/cmd/spo/field/field-get.mdx +1 -1
  475. package/docs/docs/cmd/spo/field/field-list.mdx +1 -1
  476. package/docs/docs/cmd/spo/field/field-remove.mdx +1 -1
  477. package/docs/docs/cmd/spo/field/field-set.mdx +1 -1
  478. package/docs/docs/cmd/spo/file/file-add.mdx +1 -1
  479. package/docs/docs/cmd/spo/file/file-checkin.mdx +1 -1
  480. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -1
  481. package/docs/docs/cmd/spo/file/file-checkout.mdx +1 -1
  482. package/docs/docs/cmd/spo/file/file-copy.mdx +2 -2
  483. package/docs/docs/cmd/spo/file/file-get.mdx +1 -1
  484. package/docs/docs/cmd/spo/file/file-list.mdx +1 -1
  485. package/docs/docs/cmd/spo/file/file-move.mdx +1 -1
  486. package/docs/docs/cmd/spo/file/file-remove.mdx +1 -1
  487. package/docs/docs/cmd/spo/file/file-rename.mdx +1 -1
  488. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  489. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +1 -1
  490. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
  491. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  492. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  493. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  494. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +1 -1
  495. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
  496. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
  497. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
  498. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
  499. package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
  500. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
  501. package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
  502. package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
  503. package/docs/docs/cmd/spo/file/file-version-keep.mdx +1 -1
  504. package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
  505. package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
  506. package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
  507. package/docs/docs/cmd/spo/folder/folder-add.mdx +1 -1
  508. package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
  509. package/docs/docs/cmd/spo/folder/folder-get.mdx +1 -1
  510. package/docs/docs/cmd/spo/folder/folder-list.mdx +1 -1
  511. package/docs/docs/cmd/spo/folder/folder-move.mdx +1 -1
  512. package/docs/docs/cmd/spo/folder/folder-remove.mdx +1 -1
  513. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  514. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
  515. package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +1 -1
  516. package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +1 -1
  517. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +1 -1
  518. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +1 -1
  519. package/docs/docs/cmd/spo/folder/folder-set.mdx +1 -1
  520. package/docs/docs/cmd/spo/folder/folder-sharinglink-add.mdx +1 -1
  521. package/docs/docs/cmd/spo/folder/folder-sharinglink-clear.mdx +1 -1
  522. package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +1 -1
  523. package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +1 -1
  524. package/docs/docs/cmd/spo/folder/folder-sharinglink-remove.mdx +1 -1
  525. package/docs/docs/cmd/spo/folder/folder-sharinglink-set.mdx +1 -1
  526. package/docs/docs/cmd/spo/group/group-add.mdx +1 -1
  527. package/docs/docs/cmd/spo/group/group-get.mdx +1 -1
  528. package/docs/docs/cmd/spo/group/group-list.mdx +1 -1
  529. package/docs/docs/cmd/spo/group/group-member-add.mdx +1 -1
  530. package/docs/docs/cmd/spo/group/group-member-list.mdx +1 -1
  531. package/docs/docs/cmd/spo/group/group-member-remove.mdx +1 -1
  532. package/docs/docs/cmd/spo/group/group-remove.mdx +1 -1
  533. package/docs/docs/cmd/spo/group/group-set.mdx +1 -1
  534. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +1 -1
  535. package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +1 -1
  536. package/docs/docs/cmd/spo/homesite/homesite-add.mdx +1 -1
  537. package/docs/docs/cmd/spo/homesite/homesite-get.mdx +1 -1
  538. package/docs/docs/cmd/spo/homesite/homesite-list.mdx +1 -1
  539. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +1 -1
  540. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +1 -1
  541. package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +1 -1
  542. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +1 -1
  543. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +1 -1
  544. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +1 -1
  545. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +1 -1
  546. package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +1 -1
  547. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +1 -1
  548. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +1 -1
  549. package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +1 -1
  550. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +1 -1
  551. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.mdx +1 -1
  552. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.mdx +1 -1
  553. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.mdx +1 -1
  554. package/docs/docs/cmd/spo/list/list-add.mdx +1 -1
  555. package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +1 -1
  556. package/docs/docs/cmd/spo/list/list-contenttype-default-set.mdx +1 -1
  557. package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +1 -1
  558. package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +1 -1
  559. package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +1 -1
  560. package/docs/docs/cmd/spo/list/list-defaultvalue-get.mdx +1 -1
  561. package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +1 -1
  562. package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +1 -1
  563. package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +1 -1
  564. package/docs/docs/cmd/spo/list/list-get.mdx +1 -1
  565. package/docs/docs/cmd/spo/list/list-list.mdx +1 -1
  566. package/docs/docs/cmd/spo/list/list-remove.mdx +1 -1
  567. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +1 -1
  568. package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +1 -1
  569. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +1 -1
  570. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +1 -1
  571. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +1 -1
  572. package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +1 -1
  573. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +1 -1
  574. package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +1 -1
  575. package/docs/docs/cmd/spo/list/list-set.mdx +1 -1
  576. package/docs/docs/cmd/spo/list/list-sitescript-get.mdx +1 -1
  577. package/docs/docs/cmd/spo/list/list-view-add.mdx +1 -1
  578. package/docs/docs/cmd/spo/list/list-view-field-add.mdx +1 -1
  579. package/docs/docs/cmd/spo/list/list-view-field-remove.mdx +1 -1
  580. package/docs/docs/cmd/spo/list/list-view-field-set.mdx +1 -1
  581. package/docs/docs/cmd/spo/list/list-view-get.mdx +1 -1
  582. package/docs/docs/cmd/spo/list/list-view-list.mdx +1 -1
  583. package/docs/docs/cmd/spo/list/list-view-remove.mdx +1 -1
  584. package/docs/docs/cmd/spo/list/list-view-set.mdx +1 -1
  585. package/docs/docs/cmd/spo/list/list-webhook-add.mdx +1 -1
  586. package/docs/docs/cmd/spo/list/list-webhook-get.mdx +1 -1
  587. package/docs/docs/cmd/spo/list/list-webhook-list.mdx +1 -1
  588. package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +1 -1
  589. package/docs/docs/cmd/spo/list/list-webhook-set.mdx +1 -1
  590. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +1 -1
  591. package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +1 -1
  592. package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +1 -1
  593. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +1 -1
  594. package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +1 -1
  595. package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +1 -1
  596. package/docs/docs/cmd/spo/listitem/listitem-batch-add.mdx +1 -1
  597. package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +1 -1
  598. package/docs/docs/cmd/spo/listitem/listitem-batch-set.mdx +1 -1
  599. package/docs/docs/cmd/spo/listitem/listitem-get.mdx +1 -1
  600. package/docs/docs/cmd/spo/listitem/listitem-isrecord.mdx +1 -1
  601. package/docs/docs/cmd/spo/listitem/listitem-list.mdx +1 -1
  602. package/docs/docs/cmd/spo/listitem/listitem-record-declare.mdx +1 -1
  603. package/docs/docs/cmd/spo/listitem/listitem-record-lock.mdx +1 -1
  604. package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.mdx +1 -1
  605. package/docs/docs/cmd/spo/listitem/listitem-record-unlock.mdx +1 -1
  606. package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +1 -1
  607. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +1 -1
  608. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
  609. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +1 -1
  610. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +1 -1
  611. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.mdx +1 -1
  612. package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.mdx +1 -1
  613. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +1 -1
  614. package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +1 -1
  615. package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +44 -11
  616. package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +37 -4
  617. package/docs/docs/cmd/spo/navigation/navigation-node-remove.mdx +1 -1
  618. package/docs/docs/cmd/spo/navigation/navigation-node-set.mdx +1 -1
  619. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.mdx +1 -1
  620. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.mdx +1 -1
  621. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.mdx +1 -1
  622. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.mdx +1 -1
  623. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.mdx +1 -1
  624. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.mdx +1 -1
  625. package/docs/docs/cmd/spo/page/page-add.mdx +1 -1
  626. package/docs/docs/cmd/spo/page/page-clientsidewebpart-add.mdx +1 -1
  627. package/docs/docs/cmd/spo/page/page-column-get.mdx +1 -1
  628. package/docs/docs/cmd/spo/page/page-column-list.mdx +1 -1
  629. package/docs/docs/cmd/spo/page/page-control-get.mdx +1 -1
  630. package/docs/docs/cmd/spo/page/page-control-list.mdx +1 -1
  631. package/docs/docs/cmd/spo/page/page-control-remove.mdx +1 -1
  632. package/docs/docs/cmd/spo/page/page-control-set.mdx +1 -1
  633. package/docs/docs/cmd/spo/page/page-copy.mdx +1 -1
  634. package/docs/docs/cmd/spo/page/page-get.mdx +1 -1
  635. package/docs/docs/cmd/spo/page/page-header-set.mdx +1 -1
  636. package/docs/docs/cmd/spo/page/page-list.mdx +1 -1
  637. package/docs/docs/cmd/spo/page/page-publish.mdx +1 -1
  638. package/docs/docs/cmd/spo/page/page-remove.mdx +1 -1
  639. package/docs/docs/cmd/spo/page/page-section-add.mdx +1 -1
  640. package/docs/docs/cmd/spo/page/page-section-get.mdx +1 -1
  641. package/docs/docs/cmd/spo/page/page-section-list.mdx +1 -1
  642. package/docs/docs/cmd/spo/page/page-section-remove.mdx +1 -1
  643. package/docs/docs/cmd/spo/page/page-set.mdx +1 -1
  644. package/docs/docs/cmd/spo/page/page-template-list.mdx +1 -1
  645. package/docs/docs/cmd/spo/page/page-text-add.mdx +1 -1
  646. package/docs/docs/cmd/spo/propertybag/propertybag-get.mdx +1 -1
  647. package/docs/docs/cmd/spo/propertybag/propertybag-list.mdx +1 -1
  648. package/docs/docs/cmd/spo/propertybag/propertybag-remove.mdx +1 -1
  649. package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
  650. package/docs/docs/cmd/spo/report/report-activityfilecounts.mdx +1 -1
  651. package/docs/docs/cmd/spo/report/report-activitypages.mdx +1 -1
  652. package/docs/docs/cmd/spo/report/report-activityusercounts.mdx +1 -1
  653. package/docs/docs/cmd/spo/report/report-activityuserdetail.mdx +1 -1
  654. package/docs/docs/cmd/spo/report/report-siteusagedetail.mdx +1 -1
  655. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.mdx +1 -1
  656. package/docs/docs/cmd/spo/report/report-siteusagepages.mdx +1 -1
  657. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.mdx +1 -1
  658. package/docs/docs/cmd/spo/report/report-siteusagestorage.mdx +1 -1
  659. package/docs/docs/cmd/spo/roledefinition/roledefinition-add.mdx +1 -1
  660. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.mdx +1 -1
  661. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.mdx +1 -1
  662. package/docs/docs/cmd/spo/roledefinition/roledefinition-remove.mdx +1 -1
  663. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.mdx +1 -1
  664. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.mdx +1 -1
  665. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-revoke.mdx +1 -1
  666. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.mdx +1 -1
  667. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-deny.mdx +1 -1
  668. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.mdx +1 -1
  669. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.mdx +1 -1
  670. package/docs/docs/cmd/spo/site/site-add.mdx +15 -6
  671. package/docs/docs/cmd/spo/site/site-admin-add.mdx +1 -1
  672. package/docs/docs/cmd/spo/site/site-admin-list.mdx +1 -1
  673. package/docs/docs/cmd/spo/site/site-admin-remove.mdx +1 -1
  674. package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +1 -1
  675. package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +1 -1
  676. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +1 -1
  677. package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +1 -1
  678. package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +1 -1
  679. package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +1 -1
  680. package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +1 -1
  681. package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +1 -1
  682. package/docs/docs/cmd/spo/site/site-archive.mdx +1 -1
  683. package/docs/docs/cmd/spo/site/site-chrome-set.mdx +1 -1
  684. package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +1 -1
  685. package/docs/docs/cmd/spo/site/site-ensure.mdx +1 -1
  686. package/docs/docs/cmd/spo/site/site-get.mdx +1 -1
  687. package/docs/docs/cmd/spo/site/site-groupify.mdx +1 -1
  688. package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +1 -1
  689. package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +1 -1
  690. package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +1 -1
  691. package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +1 -1
  692. package/docs/docs/cmd/spo/site/site-list.mdx +1 -1
  693. package/docs/docs/cmd/spo/site/site-membership-list.mdx +1 -1
  694. package/docs/docs/cmd/spo/site/site-recyclebinitem-clear.mdx +1 -1
  695. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
  696. package/docs/docs/cmd/spo/site/site-recyclebinitem-move.mdx +1 -1
  697. package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.mdx +1 -1
  698. package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +1 -1
  699. package/docs/docs/cmd/spo/site/site-remove.mdx +1 -1
  700. package/docs/docs/cmd/spo/site/site-rename.mdx +1 -1
  701. package/docs/docs/cmd/spo/site/site-set.mdx +1 -1
  702. package/docs/docs/cmd/spo/site/site-sharingpermission-set.mdx +1 -1
  703. package/docs/docs/cmd/spo/site/site-unarchive.mdx +1 -1
  704. package/docs/docs/cmd/spo/site/site-versionpolicy-get.mdx +1 -1
  705. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +1 -1
  706. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +1 -1
  707. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +1 -1
  708. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +1 -1
  709. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +1 -1
  710. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +1 -1
  711. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +1 -1
  712. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +1 -1
  713. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +1 -1
  714. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +1 -1
  715. package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +1 -1
  716. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +1 -1
  717. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +1 -1
  718. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +1 -1
  719. package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +1 -1
  720. package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +1 -1
  721. package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +1 -1
  722. package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +1 -1
  723. package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +1 -1
  724. package/docs/docs/cmd/spo/spo-get.mdx +1 -1
  725. package/docs/docs/cmd/spo/spo-search.mdx +1 -1
  726. package/docs/docs/cmd/spo/spo-set.mdx +1 -1
  727. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +1 -1
  728. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +1 -1
  729. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +1 -1
  730. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +1 -1
  731. package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +1 -1
  732. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +1 -1
  733. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +1 -1
  734. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +1 -1
  735. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
  736. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
  737. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +1 -1
  738. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  739. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +1 -1
  740. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +1 -1
  741. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
  742. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +1 -1
  743. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +1 -1
  744. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +1 -1
  745. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +1 -1
  746. package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +1 -1
  747. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +1 -1
  748. package/docs/docs/cmd/spo/tenant/tenant-site-get.mdx +479 -0
  749. package/docs/docs/cmd/spo/term/term-add.mdx +1 -1
  750. package/docs/docs/cmd/spo/term/term-get.mdx +1 -1
  751. package/docs/docs/cmd/spo/term/term-group-add.mdx +1 -1
  752. package/docs/docs/cmd/spo/term/term-group-get.mdx +1 -1
  753. package/docs/docs/cmd/spo/term/term-group-list.mdx +1 -1
  754. package/docs/docs/cmd/spo/term/term-list.mdx +1 -1
  755. package/docs/docs/cmd/spo/term/term-set-add.mdx +1 -1
  756. package/docs/docs/cmd/spo/term/term-set-get.mdx +1 -1
  757. package/docs/docs/cmd/spo/term/term-set-list.mdx +1 -1
  758. package/docs/docs/cmd/spo/theme/theme-apply.mdx +1 -1
  759. package/docs/docs/cmd/spo/theme/theme-get.mdx +1 -1
  760. package/docs/docs/cmd/spo/theme/theme-list.mdx +1 -1
  761. package/docs/docs/cmd/spo/theme/theme-remove.mdx +1 -1
  762. package/docs/docs/cmd/spo/theme/theme-set.mdx +1 -1
  763. package/docs/docs/cmd/spo/user/user-ensure.mdx +1 -1
  764. package/docs/docs/cmd/spo/user/user-get.mdx +1 -1
  765. package/docs/docs/cmd/spo/user/user-list.mdx +1 -1
  766. package/docs/docs/cmd/spo/user/user-remove.mdx +1 -1
  767. package/docs/docs/cmd/spo/userprofile/userprofile-get.mdx +1 -1
  768. package/docs/docs/cmd/spo/userprofile/userprofile-set.mdx +1 -1
  769. package/docs/docs/cmd/spo/web/web-add.mdx +1 -1
  770. package/docs/docs/cmd/spo/web/web-alert-list.mdx +1 -1
  771. package/docs/docs/cmd/spo/web/web-alert-remove.mdx +1 -1
  772. package/docs/docs/cmd/spo/web/web-clientsidewebpart-list.mdx +1 -1
  773. package/docs/docs/cmd/spo/web/web-get.mdx +1 -1
  774. package/docs/docs/cmd/spo/web/web-installedlanguage-list.mdx +1 -1
  775. package/docs/docs/cmd/spo/web/web-list.mdx +1 -1
  776. package/docs/docs/cmd/spo/web/web-reindex.mdx +1 -1
  777. package/docs/docs/cmd/spo/web/web-remove.mdx +1 -1
  778. package/docs/docs/cmd/spo/web/web-retentionlabel-list.mdx +1 -1
  779. package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
  780. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
  781. package/docs/docs/cmd/spo/web/web-roleinheritance-break.mdx +1 -1
  782. package/docs/docs/cmd/spo/web/web-roleinheritance-reset.mdx +1 -1
  783. package/docs/docs/cmd/spo/web/web-set.mdx +1 -1
  784. package/docs/docs/cmd/spp/autofillcolumn/autofillcolumn-set.mdx +1 -1
  785. package/docs/docs/cmd/spp/contentcenter/contentcenter-list.mdx +1 -1
  786. package/docs/docs/cmd/spp/model/model-apply.mdx +1 -1
  787. package/docs/docs/cmd/spp/model/model-get.mdx +1 -1
  788. package/docs/docs/cmd/spp/model/model-list.mdx +1 -1
  789. package/docs/docs/cmd/spp/model/model-remove.mdx +1 -1
  790. package/docs/docs/cmd/status.mdx +1 -1
  791. package/docs/docs/cmd/teams/app/app-install.mdx +1 -1
  792. package/docs/docs/cmd/teams/app/app-list.mdx +1 -1
  793. package/docs/docs/cmd/teams/app/app-publish.mdx +1 -1
  794. package/docs/docs/cmd/teams/app/app-remove.mdx +1 -1
  795. package/docs/docs/cmd/teams/app/app-uninstall.mdx +1 -1
  796. package/docs/docs/cmd/teams/app/app-update.mdx +1 -1
  797. package/docs/docs/cmd/teams/cache/cache-remove.mdx +1 -1
  798. package/docs/docs/cmd/teams/callrecord/callrecord-get.mdx +1 -1
  799. package/docs/docs/cmd/teams/callrecord/callrecord-list.mdx +1 -1
  800. package/docs/docs/cmd/teams/channel/channel-add.mdx +1 -1
  801. package/docs/docs/cmd/teams/channel/channel-get.mdx +1 -1
  802. package/docs/docs/cmd/teams/channel/channel-list.mdx +1 -1
  803. package/docs/docs/cmd/teams/channel/channel-member-add.mdx +1 -1
  804. package/docs/docs/cmd/teams/channel/channel-member-list.mdx +1 -1
  805. package/docs/docs/cmd/teams/channel/channel-member-remove.mdx +1 -1
  806. package/docs/docs/cmd/teams/channel/channel-member-set.mdx +1 -1
  807. package/docs/docs/cmd/teams/channel/channel-remove.mdx +1 -1
  808. package/docs/docs/cmd/teams/channel/channel-set.mdx +1 -1
  809. package/docs/docs/cmd/teams/chat/chat-get.mdx +1 -1
  810. package/docs/docs/cmd/teams/chat/chat-list.mdx +1 -1
  811. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +1 -1
  812. package/docs/docs/cmd/teams/chat/chat-member-list.mdx +1 -1
  813. package/docs/docs/cmd/teams/chat/chat-member-remove.mdx +1 -1
  814. package/docs/docs/cmd/teams/chat/chat-message-list.mdx +1 -1
  815. package/docs/docs/cmd/teams/chat/chat-message-send.mdx +1 -1
  816. package/docs/docs/cmd/teams/funsettings/funsettings-list.mdx +1 -1
  817. package/docs/docs/cmd/teams/funsettings/funsettings-set.mdx +1 -1
  818. package/docs/docs/cmd/teams/guestsettings/guestsettings-list.mdx +1 -1
  819. package/docs/docs/cmd/teams/guestsettings/guestsettings-set.mdx +1 -1
  820. package/docs/docs/cmd/teams/meeting/meeting-add.mdx +1 -1
  821. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +1 -1
  822. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-list.mdx +1 -1
  823. package/docs/docs/cmd/teams/meeting/meeting-get.mdx +1 -1
  824. package/docs/docs/cmd/teams/meeting/meeting-list.mdx +1 -1
  825. package/docs/docs/cmd/teams/meeting/meeting-transcript-get.mdx +1 -1
  826. package/docs/docs/cmd/teams/meeting/meeting-transcript-list.mdx +1 -1
  827. package/docs/docs/cmd/teams/membersettings/membersettings-list.mdx +1 -1
  828. package/docs/docs/cmd/teams/membersettings/membersettings-set.mdx +1 -1
  829. package/docs/docs/cmd/teams/message/message-get.mdx +1 -1
  830. package/docs/docs/cmd/teams/message/message-list.mdx +1 -1
  831. package/docs/docs/cmd/teams/message/message-remove.mdx +1 -1
  832. package/docs/docs/cmd/teams/message/message-reply-list.mdx +1 -1
  833. package/docs/docs/cmd/teams/message/message-restore.mdx +1 -1
  834. package/docs/docs/cmd/teams/message/message-send.mdx +1 -1
  835. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.mdx +1 -1
  836. package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.mdx +1 -1
  837. package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.mdx +1 -1
  838. package/docs/docs/cmd/teams/report/report-deviceusageusercounts.mdx +1 -1
  839. package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.mdx +1 -1
  840. package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +1 -1
  841. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +1 -1
  842. package/docs/docs/cmd/teams/report/report-useractivitycounts.mdx +1 -1
  843. package/docs/docs/cmd/teams/report/report-useractivityusercounts.mdx +1 -1
  844. package/docs/docs/cmd/teams/report/report-useractivityuserdetail.mdx +1 -1
  845. package/docs/docs/cmd/teams/tab/tab-add.mdx +1 -1
  846. package/docs/docs/cmd/teams/tab/tab-get.mdx +1 -1
  847. package/docs/docs/cmd/teams/tab/tab-list.mdx +1 -1
  848. package/docs/docs/cmd/teams/tab/tab-remove.mdx +1 -1
  849. package/docs/docs/cmd/teams/team/team-add.mdx +1 -1
  850. package/docs/docs/cmd/teams/team/team-app-list.mdx +1 -1
  851. package/docs/docs/cmd/teams/team/team-archive.mdx +1 -1
  852. package/docs/docs/cmd/teams/team/team-clone.mdx +1 -1
  853. package/docs/docs/cmd/teams/team/team-get.mdx +1 -1
  854. package/docs/docs/cmd/teams/team/team-list.mdx +1 -1
  855. package/docs/docs/cmd/teams/team/team-remove.mdx +1 -1
  856. package/docs/docs/cmd/teams/team/team-set.mdx +1 -1
  857. package/docs/docs/cmd/teams/team/team-unarchive.mdx +1 -1
  858. package/docs/docs/cmd/teams/user/user-app-add.mdx +1 -1
  859. package/docs/docs/cmd/teams/user/user-app-list.mdx +1 -1
  860. package/docs/docs/cmd/teams/user/user-app-remove.mdx +1 -1
  861. package/docs/docs/cmd/teams/user/user-app-upgrade.mdx +1 -1
  862. package/docs/docs/cmd/teams/user/user-list.mdx +1 -1
  863. package/docs/docs/cmd/tenant/id/id-get.mdx +1 -1
  864. package/docs/docs/cmd/tenant/info/info-get.mdx +1 -1
  865. package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +1 -1
  866. package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +1 -1
  867. package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +1 -1
  868. package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +1 -1
  869. package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +1 -1
  870. package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +1 -1
  871. package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +1 -1
  872. package/docs/docs/cmd/tenant/report/report-activeusercounts.mdx +1 -1
  873. package/docs/docs/cmd/tenant/report/report-activeuserdetail.mdx +1 -1
  874. package/docs/docs/cmd/tenant/report/report-office365activationcounts.mdx +1 -1
  875. package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.mdx +1 -1
  876. package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.mdx +1 -1
  877. package/docs/docs/cmd/tenant/report/report-servicesusercounts.mdx +1 -1
  878. package/docs/docs/cmd/tenant/report/report-settings-get.mdx +1 -1
  879. package/docs/docs/cmd/tenant/report/report-settings-set.mdx +1 -1
  880. package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
  881. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.mdx +1 -1
  882. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.mdx +1 -1
  883. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.mdx +1 -1
  884. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +1 -1
  885. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +1 -1
  886. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +1 -1
  887. package/docs/docs/cmd/todo/list/list-add.mdx +1 -1
  888. package/docs/docs/cmd/todo/list/list-get.mdx +1 -1
  889. package/docs/docs/cmd/todo/list/list-list.mdx +1 -1
  890. package/docs/docs/cmd/todo/list/list-remove.mdx +1 -1
  891. package/docs/docs/cmd/todo/list/list-set.mdx +1 -1
  892. package/docs/docs/cmd/todo/task/task-add.mdx +1 -1
  893. package/docs/docs/cmd/todo/task/task-get.mdx +1 -1
  894. package/docs/docs/cmd/todo/task/task-list.mdx +1 -1
  895. package/docs/docs/cmd/todo/task/task-remove.mdx +1 -1
  896. package/docs/docs/cmd/todo/task/task-set.mdx +1 -1
  897. package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +1 -1
  898. package/docs/docs/cmd/version.mdx +1 -1
  899. package/docs/docs/cmd/viva/connections/connections-app-create.mdx +1 -1
  900. package/docs/docs/cmd/viva/engage/engage-community-add.mdx +1 -1
  901. package/docs/docs/cmd/viva/engage/engage-community-get.mdx +1 -1
  902. package/docs/docs/cmd/viva/engage/engage-community-list.mdx +1 -1
  903. package/docs/docs/cmd/viva/engage/engage-community-remove.mdx +1 -1
  904. package/docs/docs/cmd/viva/engage/engage-community-set.mdx +1 -1
  905. package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +1 -1
  906. package/docs/docs/cmd/viva/engage/engage-community-user-list.mdx +1 -1
  907. package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +1 -1
  908. package/docs/docs/cmd/viva/engage/engage-message-add.mdx +1 -1
  909. package/docs/docs/cmd/viva/engage/engage-message-get.mdx +1 -1
  910. package/docs/docs/cmd/viva/engage/engage-message-like-set.mdx +1 -1
  911. package/docs/docs/cmd/viva/engage/engage-message-list.mdx +1 -1
  912. package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +1 -1
  913. package/docs/docs/cmd/viva/engage/engage-network-list.mdx +1 -1
  914. package/docs/docs/cmd/viva/engage/engage-report-activitycounts.mdx +1 -1
  915. package/docs/docs/cmd/viva/engage/engage-report-activityusercounts.mdx +1 -1
  916. package/docs/docs/cmd/viva/engage/engage-report-activityuserdetail.mdx +1 -1
  917. package/docs/docs/cmd/viva/engage/engage-report-deviceusagedistributionusercounts.mdx +1 -1
  918. package/docs/docs/cmd/viva/engage/engage-report-deviceusageusercounts.mdx +1 -1
  919. package/docs/docs/cmd/viva/engage/engage-report-deviceusageuserdetail.mdx +1 -1
  920. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitycounts.mdx +1 -1
  921. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitydetail.mdx +1 -1
  922. package/docs/docs/cmd/viva/engage/engage-report-groupsactivitygroupcounts.mdx +1 -1
  923. package/docs/docs/cmd/viva/engage/engage-role-list.mdx +1 -1
  924. package/docs/docs/cmd/viva/engage/engage-role-member-list.mdx +1 -1
  925. package/docs/docs/cmd/viva/engage/engage-role-member-remove.mdx +71 -0
  926. package/docs/docs/cmd/viva/engage/engage-search.mdx +1 -1
  927. package/docs/docs/cmd/viva/engage/engage-user-get.mdx +1 -1
  928. package/docs/docs/cmd/viva/engage/engage-user-list.mdx +1 -1
  929. package/npm-shrinkwrap.json +815 -522
  930. package/package.json +20 -18
  931. package/eslint-rules/lib/index.js +0 -5
  932. package/eslint-rules/lib/rules/correct-command-class-name.js +0 -132
  933. package/eslint-rules/lib/rules/correct-command-name.js +0 -65
  934. package/eslint-rules/lib/rules/no-by-server-relative-url-usage.js +0 -55
  935. package/eslint-rules/package-lock.json +0 -12
  936. package/eslint-rules/package.json +0 -5
  937. package/eslint.config.mjs +0 -273
@@ -5,6 +5,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
5
5
  };
6
6
  var _SpoSiteAddCommand_instances, _SpoSiteAddCommand_initTelemetry, _SpoSiteAddCommand_initOptions, _SpoSiteAddCommand_initValidators;
7
7
  import { setTimeout } from 'timers/promises';
8
+ import { cli } from '../../../../cli/cli.js';
8
9
  import config from '../../../../config.js';
9
10
  import request from '../../../../request.js';
10
11
  import { formatting } from '../../../../utils/formatting.js';
@@ -12,6 +13,7 @@ import { spo } from '../../../../utils/spo.js';
12
13
  import { validation } from '../../../../utils/validation.js';
13
14
  import SpoCommand from '../../../base/SpoCommand.js';
14
15
  import commands from '../../commands.js';
16
+ import { brandCenter } from '../../../../utils/brandCenter.js';
15
17
  class SpoSiteAddCommand extends SpoCommand {
16
18
  get supportedLcids() {
17
19
  // Languages supported by SharePoint
@@ -43,7 +45,7 @@ class SpoSiteAddCommand extends SpoCommand {
43
45
  await logger.log(siteUrl);
44
46
  }
45
47
  async createModernSite(logger, args) {
46
- const isTeamSite = args.options.type !== 'CommunicationSite';
48
+ const isTeamSite = args.options.type !== 'CommunicationSite' && args.options.type !== 'BrandCenter';
47
49
  try {
48
50
  const spoUrl = await spo.getSpoUrl(logger, this.debug);
49
51
  if (this.verbose) {
@@ -128,6 +130,9 @@ class SpoSiteAddCommand extends SpoCommand {
128
130
  if (args.options.owners) {
129
131
  requestOptions.data.request.Owner = args.options.owners;
130
132
  }
133
+ if (args.options.type === 'BrandCenter') {
134
+ await this.addBrandCenter(requestOptions.data.request, logger, args.options.force || false);
135
+ }
131
136
  }
132
137
  const response = await request.post(requestOptions);
133
138
  if (isTeamSite) {
@@ -325,6 +330,27 @@ class SpoSiteAddCommand extends SpoCommand {
325
330
  this.handleRejectedPromise(err);
326
331
  }
327
332
  }
333
+ async addBrandCenter(requestData, logger, force) {
334
+ const brandingCenterConfiguration = await brandCenter.getBrandCenterConfiguration(logger, this.debug);
335
+ if (brandingCenterConfiguration.IsBrandCenterSiteFeatureEnabled) {
336
+ throw Error('Brand center site is already created in the tenant.');
337
+ }
338
+ const warningMessage = `You agree to activate this site as your official brand center site and turn on the brand center app for use in your organization. Storage locations will be created for uploading files to brand center and managing them. Any uploaded files will be stored in the cloud and managed in a public content delivery network (CDN). The files will be accessible to anyone who is able to extract the URLs that point to them.
339
+ Don't use this feature if your files contain proprietary information, or if you don't have the necessary cloud hosting rights to use them. After creation, that site cannot be deleted.`;
340
+ if (force) {
341
+ await logger.logToStderr(warningMessage);
342
+ }
343
+ else {
344
+ const result = await cli.promptForConfirmation({
345
+ message: `${warningMessage}\n\nDo you want to proceed?`
346
+ });
347
+ if (!result) {
348
+ throw Error('Operation cancelled by the user.');
349
+ }
350
+ }
351
+ const brandCenterFeatureId = '99cd6e8b-189b-4611-ae89-f89105876e43';
352
+ requestData.AdditionalSiteFeatureIds = [brandCenterFeatureId];
353
+ }
328
354
  }
329
355
  _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry = function _SpoSiteAddCommand_initTelemetry() {
330
356
  this.telemetry.push((args) => {
@@ -338,6 +364,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
338
364
  telemetryProps.lcid = args.options.lcid;
339
365
  telemetryProps.owners = typeof args.options.owners !== 'undefined';
340
366
  telemetryProps.withAppCatalog = args.options.withAppCatalog || false;
367
+ telemetryProps.force = args.options.force || false;
341
368
  if (isCommunicationSite) {
342
369
  telemetryProps.shareByEmailEnabled = args.options.shareByEmailEnabled || false;
343
370
  telemetryProps.siteDesign = args.options.siteDesign;
@@ -357,7 +384,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
357
384
  }, _SpoSiteAddCommand_initOptions = function _SpoSiteAddCommand_initOptions() {
358
385
  this.options.unshift({
359
386
  option: '--type [type]',
360
- autocomplete: ['TeamSite', 'CommunicationSite', 'ClassicSite']
387
+ autocomplete: ['TeamSite', 'CommunicationSite', 'ClassicSite', 'BrandCenter']
361
388
  }, {
362
389
  option: '-t, --title <title>'
363
390
  }, {
@@ -399,24 +426,27 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
399
426
  option: '--withAppCatalog'
400
427
  }, {
401
428
  option: '--wait'
429
+ }, {
430
+ option: '--force'
402
431
  });
403
432
  }, _SpoSiteAddCommand_initValidators = function _SpoSiteAddCommand_initValidators() {
404
433
  this.validators.push(async (args) => {
405
434
  const isClassicSite = args.options.type === 'ClassicSite';
406
- const isCommunicationSite = args.options.type === 'CommunicationSite';
435
+ const isCommunicationSite = args.options.type === 'CommunicationSite' || args.options.type === 'BrandCenter';
407
436
  const isTeamSite = isCommunicationSite === false && isClassicSite === false;
408
437
  if (args.options.type) {
409
438
  if (args.options.type !== 'TeamSite' &&
410
439
  args.options.type !== 'CommunicationSite' &&
411
- args.options.type !== 'ClassicSite') {
412
- return `${args.options.type} is not a valid site type. Allowed types are TeamSite, CommunicationSite, and ClassicSite`;
440
+ args.options.type !== 'ClassicSite' &&
441
+ args.options.type !== 'BrandCenter') {
442
+ return `${args.options.type} is not a valid site type. Allowed types are TeamSite, CommunicationSite, ClassicSite, and BrandCenter`;
413
443
  }
414
444
  }
415
445
  if (isTeamSite) {
416
446
  if (!args.options.alias) {
417
447
  return 'Required option alias missing';
418
448
  }
419
- if (args.options.url || args.options.siteDesign || args.options.removeDeletedSite || args.options.wait || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.timeZone || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate) {
449
+ if (args.options.url || args.options.siteDesign || args.options.removeDeletedSite || args.options.wait || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.timeZone || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate || args.options.force) {
420
450
  return "Type TeamSite supports only the parameters title, lcid, alias, owners, classification, isPublic, and description";
421
451
  }
422
452
  }
@@ -447,7 +477,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
447
477
  return 'Specify siteDesign or siteDesignId but not both';
448
478
  }
449
479
  if (args.options.timeZone || args.options.isPublic || args.options.removeDeletedSite || args.options.wait || args.options.alias || args.options.resourceQuota || args.options.resourceQuotaWarningLevel || args.options.storageQuota || args.options.storageQuotaWarningLevel || args.options.webTemplate) {
450
- return "Type CommunicationSite supports only the parameters url, title, lcid, classification, siteDesign, shareByEmailEnabled, siteDesignId, owners, and description";
480
+ return "Type CommunicationSite supports only the parameters url, title, lcid, classification, siteDesign, shareByEmailEnabled, siteDesignId, owners, description, and force";
451
481
  }
452
482
  }
453
483
  else {
@@ -500,7 +530,7 @@ _SpoSiteAddCommand_instances = new WeakSet(), _SpoSiteAddCommand_initTelemetry =
500
530
  if (args.options.storageQuotaWarningLevel > args.options.storageQuota) {
501
531
  return `storageQuotaWarningLevel cannot exceed storageQuota`;
502
532
  }
503
- if (args.options.classification || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.siteDesignId || args.options.alias || args.options.isPublic) {
533
+ if (args.options.classification || args.options.shareByEmailEnabled || args.options.siteDesignId || args.options.siteDesignId || args.options.alias || args.options.isPublic || args.options.force) {
504
534
  return "Type ClassicSite supports only the parameters url, title, lcid, storageQuota, storageQuotaWarningLevel, resourceQuota, resourceQuotaWarningLevel, webTemplate, owners, and description";
505
535
  }
506
536
  }
@@ -34,7 +34,7 @@ class SpoSiteAppPermissionAddCommand extends GraphCommand {
34
34
  displayName: args.options.appDisplayName
35
35
  };
36
36
  }
37
- let endpoint = "";
37
+ let endpoint;
38
38
  if (args.options.appId) {
39
39
  endpoint = `${this.resource}/v1.0/myorganization/servicePrincipals?$select=appId,displayName&$filter=appId eq '${formatting.encodeQueryParameter(args.options.appId)}'`;
40
40
  }
@@ -340,7 +340,7 @@ class SpoSiteSetCommand extends SpoCommand {
340
340
  }
341
341
  if (args.options.noScriptSite !== undefined) {
342
342
  const noScriptSite = args.options.noScriptSite ? 2 : 1;
343
- payload.push(`<SetProperty Id="${propertyId++}" ObjectPathId="5" Name="DenyAddAndCustomizePages"><Parameter Type="Enum">${noScriptSite}</Parameter></SetProperty>`);
343
+ payload.push(`<SetProperty Id="${propertyId}" ObjectPathId="5" Name="DenyAddAndCustomizePages"><Parameter Type="Enum">${noScriptSite}</Parameter></SetProperty>`);
344
344
  }
345
345
  let response;
346
346
  let sitePropertiesResponse;
@@ -26,7 +26,7 @@ class SpoSearchCommand extends SpoCommand {
26
26
  __classPrivateFieldGet(this, _SpoSearchCommand_instances, "m", _SpoSearchCommand_initValidators).call(this);
27
27
  }
28
28
  async commandAction(logger, args) {
29
- let webUrl = '';
29
+ let webUrl;
30
30
  try {
31
31
  if (args.options.webUrl) {
32
32
  webUrl = args.options.webUrl;
@@ -70,7 +70,7 @@ class SpoTenantCommandSetRemoveCommand extends SpoCommand {
70
70
  if (this.verbose) {
71
71
  await logger.logToStderr(`Getting the tenant command set ${args.options.id || args.options.title || args.options.clientSideComponentId}`);
72
72
  }
73
- let filter = '';
73
+ let filter;
74
74
  if (args.options.title) {
75
75
  filter = `Title eq '${args.options.title}'`;
76
76
  }
@@ -0,0 +1,112 @@
1
+ import { z } from 'zod';
2
+ import { globalOptionsZod } from '../../../../Command.js';
3
+ import request from '../../../../request.js';
4
+ import { formatting } from '../../../../utils/formatting.js';
5
+ import { spo } from '../../../../utils/spo.js';
6
+ import { validation } from '../../../../utils/validation.js';
7
+ import SpoCommand from '../../../base/SpoCommand.js';
8
+ import commands from '../../commands.js';
9
+ import { cli } from '../../../../cli/cli.js';
10
+ export const options = z.strictObject({
11
+ ...globalOptionsZod.shape,
12
+ id: z.uuid().optional().alias('i'),
13
+ title: z.string().optional().alias('t'),
14
+ url: z.string().refine(url => validation.isValidSharePointUrl(url) === true, {
15
+ message: 'Specify a valid SharePoint site URL'
16
+ }).optional().alias('u')
17
+ });
18
+ class SpoTenantSiteGetCommand extends SpoCommand {
19
+ get name() {
20
+ return commands.TENANT_SITE_GET;
21
+ }
22
+ get description() {
23
+ return 'Retrieves the tenant site information';
24
+ }
25
+ get schema() {
26
+ return options;
27
+ }
28
+ getRefinedSchema(schema) {
29
+ return schema.refine(o => [o.id, o.title, o.url].filter(v => v !== undefined).length === 1, {
30
+ error: `Specify exactly one of the following options: 'id', 'title', or 'url'.`
31
+ });
32
+ }
33
+ async commandAction(logger, args) {
34
+ if (this.verbose) {
35
+ await logger.logToStderr(`Retrieving tenant site information for site '${args.options.url || args.options.id || args.options.title}'...`);
36
+ }
37
+ try {
38
+ let siteUrl;
39
+ if (args.options.url) {
40
+ siteUrl = args.options.url;
41
+ }
42
+ else if (args.options.id) {
43
+ siteUrl = await this.getSiteUrlById(args.options.id, logger);
44
+ if (this.verbose) {
45
+ await logger.logToStderr(`Retrieved tenant site URL for site '${args.options.id}'...`);
46
+ }
47
+ }
48
+ else {
49
+ siteUrl = await this.getSiteUrlByTitle(args.options.title, logger);
50
+ if (this.verbose) {
51
+ await logger.logToStderr(`Retrieved tenant site URL for site '${args.options.title}'...`);
52
+ }
53
+ }
54
+ const site = await spo.getSiteAdminPropertiesByUrl(siteUrl, false, logger, this.verbose);
55
+ await logger.log(site);
56
+ }
57
+ catch (err) {
58
+ this.handleRejectedODataJsonPromise(err);
59
+ }
60
+ }
61
+ async getSiteUrlById(id, logger) {
62
+ if (this.verbose) {
63
+ await logger.logToStderr(`Retrieving tenant site URL for site '${id}'...`);
64
+ }
65
+ const adminUrl = await spo.getSpoAdminUrl(logger, this.debug);
66
+ const requestOptions = {
67
+ url: `${adminUrl}/_api/SPO.Tenant/sites('${id}')?$select=Url`,
68
+ headers: {
69
+ accept: 'application/json;odata=nometadata'
70
+ },
71
+ responseType: 'json'
72
+ };
73
+ const res = await request.get(requestOptions);
74
+ return res.Url;
75
+ }
76
+ async getSiteUrlByTitle(title, logger) {
77
+ if (this.verbose) {
78
+ await logger.logToStderr(`Retrieving tenant site URL for site '${title}'...`);
79
+ }
80
+ const adminUrl = await spo.getSpoAdminUrl(logger, this.debug);
81
+ const viewXml = `<View><Query><Where><And><IsNull><FieldRef Name="TimeDeleted"/></IsNull><Eq><FieldRef Name="Title"/><Value Type='Text'>${formatting.escapeXml(title)}</Value></Eq></And></Where></Query><ViewFields><FieldRef Name="Title"/><FieldRef Name="SiteUrl"/><FieldRef Name="SiteId"/></ViewFields></View>`;
82
+ const requestOptions = {
83
+ url: `${adminUrl}/_api/web/lists/GetByTitle('DO_NOT_DELETE_SPLIST_TENANTADMIN_AGGREGATED_SITECOLLECTIONS')/RenderListDataAsStream`,
84
+ headers: {
85
+ accept: 'application/json;odata=nometadata'
86
+ },
87
+ responseType: 'json',
88
+ data: {
89
+ parameters: {
90
+ ViewXml: viewXml,
91
+ DatesInUtc: true
92
+ }
93
+ }
94
+ };
95
+ const res = await request.post(requestOptions);
96
+ const rows = res.Row;
97
+ if (rows.length === 0) {
98
+ throw `The specified site '${title}' does not exist.`;
99
+ }
100
+ if (rows.length > 1) {
101
+ const resultAsKeyValuePair = rows.reduce((acc, cur) => {
102
+ acc[cur.SiteUrl] = { url: cur.SiteUrl };
103
+ return acc;
104
+ }, {});
105
+ const selection = await cli.handleMultipleResultsFound(`Multiple sites with title '${title}' found.`, resultAsKeyValuePair);
106
+ return selection.url;
107
+ }
108
+ return rows[0].SiteUrl;
109
+ }
110
+ }
111
+ export default new SpoTenantSiteGetCommand();
112
+ //# sourceMappingURL=tenant-site-get.js.map
@@ -27,12 +27,11 @@ class SpoTermGroupAddCommand extends SpoCommand {
27
27
  __classPrivateFieldGet(this, _SpoTermGroupAddCommand_instances, "m", _SpoTermGroupAddCommand_initValidators).call(this);
28
28
  }
29
29
  async commandAction(logger, args) {
30
- let formDigest = '';
31
30
  let termGroup;
32
31
  try {
33
32
  const webUrl = args.options.webUrl || await spo.getSpoAdminUrl(logger, this.debug);
34
33
  const res = await spo.getRequestDigest(webUrl);
35
- formDigest = res.FormDigestValue;
34
+ const formDigest = res.FormDigestValue;
36
35
  if (this.verbose) {
37
36
  await logger.logToStderr(`Getting taxonomy term store...`);
38
37
  }
@@ -28,12 +28,11 @@ class SpoTermSetAddCommand extends SpoCommand {
28
28
  __classPrivateFieldGet(this, _SpoTermSetAddCommand_instances, "m", _SpoTermSetAddCommand_initOptionSets).call(this);
29
29
  }
30
30
  async commandAction(logger, args) {
31
- let formDigest = '';
32
31
  let termSet;
33
32
  try {
34
33
  const spoWebUrl = args.options.webUrl ? args.options.webUrl : await spo.getSpoAdminUrl(logger, this.debug);
35
34
  const res = await spo.getRequestDigest(spoWebUrl);
36
- formDigest = res.FormDigestValue;
35
+ const formDigest = res.FormDigestValue;
37
36
  if (this.verbose) {
38
37
  await logger.logToStderr(`Adding taxonomy term set...`);
39
38
  }
@@ -93,7 +93,7 @@ class SpoThemeApplyCommand extends SpoCommand {
93
93
  }
94
94
  }
95
95
  getSharePointTheme(themeName) {
96
- let palette = "";
96
+ let palette;
97
97
  switch (themeName) {
98
98
  case SharePointThemes.Blue:
99
99
  palette = "\"themePrimary\":{\"R\":0,\"G\":120,\"B\":212,\"A\":255},\"themeLighterAlt\":{\"R\":239,\"G\":246,\"B\":252,\"A\":255},\"themeLighter\":{\"R\":222,\"G\":236,\"B\":249,\"A\":255},\"themeLight\":{\"R\":199,\"G\":224,\"B\":244,\"A\":255},\"themeTertiary\":{\"R\":113,\"G\":175,\"B\":229,\"A\":255},\"themeSecondary\":{\"R\":43,\"G\":136,\"B\":216,\"A\":255},\"themeDarkAlt\":{\"R\":16,\"G\":110,\"B\":190,\"A\":255},\"themeDark\":{\"R\":0,\"G\":90,\"B\":158,\"A\":255},\"themeDarker\":{\"R\":0,\"G\":69,\"B\":120,\"A\":255},\"accent\":{\"R\":135,\"G\":100,\"B\":184,\"A\":255},\"neutralLighterAlt\":{\"R\":248,\"G\":248,\"B\":248,\"A\":255},\"neutralLighter\":{\"R\":244,\"G\":244,\"B\":244,\"A\":255},\"neutralLight\":{\"R\":234,\"G\":234,\"B\":234,\"A\":255},\"neutralQuaternaryAlt\":{\"R\":218,\"G\":218,\"B\":218,\"A\":255},\"neutralQuaternary\":{\"R\":208,\"G\":208,\"B\":208,\"A\":255},\"neutralTertiaryAlt\":{\"R\":200,\"G\":200,\"B\":200,\"A\":255},\"neutralTertiary\":{\"R\":166,\"G\":166,\"B\":166,\"A\":255},\"neutralSecondary\":{\"R\":102,\"G\":102,\"B\":102,\"A\":255},\"neutralPrimaryAlt\":{\"R\":60,\"G\":60,\"B\":60,\"A\":255},\"neutralPrimary\":{\"R\":51,\"G\":51,\"B\":51,\"A\":255},\"neutralDark\":{\"R\":33,\"G\":33,\"B\":33,\"A\":255},\"black\":{\"R\":0,\"G\":0,\"B\":0,\"A\":255},\"white\":{\"R\":255,\"G\":255,\"B\":255,\"A\":255},\"primaryBackground\":{\"R\":255,\"G\":255,\"B\":255,\"A\":255},\"primaryText\":{\"R\":51,\"G\":51,\"B\":51,\"A\":255}";
@@ -28,10 +28,8 @@ class SpoUserListCommand extends SpoCommand {
28
28
  if (this.verbose) {
29
29
  await logger.logToStderr(`Retrieving users from web ${args.options.webUrl}...`);
30
30
  }
31
- let requestUrl = '';
32
- requestUrl = `${args.options.webUrl}/_api/web/siteusers`;
33
31
  const requestOptions = {
34
- url: requestUrl,
32
+ url: `${args.options.webUrl}/_api/web/siteusers`,
35
33
  method: 'GET',
36
34
  headers: {
37
35
  'accept': 'application/json;odata=nometadata'
@@ -30,8 +30,6 @@ class SpoWebAddCommand extends SpoCommand {
30
30
  return ['url'];
31
31
  }
32
32
  async commandAction(logger, args) {
33
- let siteInfo = null;
34
- let subsiteFullUrl = '';
35
33
  try {
36
34
  const res = await spo.getRequestDigest(args.options.parentWebUrl);
37
35
  const requestOptionsPost = {
@@ -56,12 +54,12 @@ class SpoWebAddCommand extends SpoCommand {
56
54
  if (this.verbose) {
57
55
  await logger.logToStderr(`Creating subsite ${args.options.parentWebUrl}/${args.options.webUrl}...`);
58
56
  }
59
- siteInfo = await request.post(requestOptionsPost);
57
+ const siteInfo = await request.post(requestOptionsPost);
60
58
  if (args.options.inheritNavigation) {
61
59
  if (this.verbose) {
62
60
  await logger.logToStderr("Setting inheriting navigation from the parent site...");
63
61
  }
64
- subsiteFullUrl = `${args.options.parentWebUrl}/${formatting.encodeQueryParameter(args.options.url)}`;
62
+ const subsiteFullUrl = `${args.options.parentWebUrl}/${formatting.encodeQueryParameter(args.options.url)}`;
65
63
  const requestOptionsPer = {
66
64
  url: `${subsiteFullUrl}/_api/web/effectivebasepermissions`,
67
65
  headers: {
@@ -24,11 +24,10 @@ class SpoWebReindexCommand extends SpoCommand {
24
24
  __classPrivateFieldGet(this, _SpoWebReindexCommand_instances, "m", _SpoWebReindexCommand_initValidators).call(this);
25
25
  }
26
26
  async commandAction(logger, args) {
27
- let requestDigest = '';
28
27
  let webIdentityResp;
29
28
  try {
30
29
  const res = await spo.getRequestDigest(args.options.url);
31
- requestDigest = res.FormDigestValue;
30
+ const requestDigest = res.FormDigestValue;
32
31
  if (this.debug) {
33
32
  await logger.logToStderr(`Retrieved request digest. Retrieving web identity...`);
34
33
  }
@@ -1,5 +1,6 @@
1
1
  const prefix = 'spo';
2
2
  export default {
3
+ AGENT_ADD: `${prefix} agent add`,
3
4
  APP_ADD: `${prefix} app add`,
4
5
  APP_DEPLOY: `${prefix} app deploy`,
5
6
  APP_GET: `${prefix} app get`,
@@ -337,6 +338,7 @@ export default {
337
338
  TENANT_RECYCLEBINITEM_RESTORE: `${prefix} tenant recyclebinitem restore`,
338
339
  TENANT_SETTINGS_LIST: `${prefix} tenant settings list`,
339
340
  TENANT_SETTINGS_SET: `${prefix} tenant settings set`,
341
+ TENANT_SITE_GET: `${prefix} tenant site get`,
340
342
  TERM_ADD: `${prefix} term add`,
341
343
  TERM_GET: `${prefix} term get`,
342
344
  TERM_LIST: `${prefix} term list`,
@@ -110,7 +110,7 @@ class SppAutofillColumnSetCommand extends SpoCommand {
110
110
  return request.get(requestOptions);
111
111
  }
112
112
  getColumn(siteUrl, options, listId) {
113
- let fieldRestUrl = '';
113
+ let fieldRestUrl;
114
114
  if (options.columnId) {
115
115
  fieldRestUrl = `/getbyid('${formatting.encodeQueryParameter(options.columnId)}')`;
116
116
  }
@@ -0,0 +1,83 @@
1
+ import { z } from 'zod';
2
+ import { cli } from '../../../../cli/cli.js';
3
+ import { globalOptionsZod } from '../../../../Command.js';
4
+ import GraphCommand from '../../../base/GraphCommand.js';
5
+ import commands from '../../commands.js';
6
+ import { vivaEngage } from '../../../../utils/vivaEngage.js';
7
+ import { entraUser } from '../../../../utils/entraUser.js';
8
+ import request from '../../../../request.js';
9
+ import { validation } from '../../../../utils/validation.js';
10
+ export const options = z.strictObject({
11
+ ...globalOptionsZod.shape,
12
+ roleId: z.uuid().optional(),
13
+ roleName: z.string().optional(),
14
+ userId: z.uuid().optional(),
15
+ userName: z.string().refine(upn => validation.isValidUserPrincipalName(upn), {
16
+ error: e => `'${e.input}' is not a valid UPN.`
17
+ }).optional(),
18
+ force: z.boolean().optional().alias('f')
19
+ });
20
+ class VivaEngageRoleMemberRemoveCommand extends GraphCommand {
21
+ get name() {
22
+ return commands.ENGAGE_ROLE_MEMBER_REMOVE;
23
+ }
24
+ get description() {
25
+ return 'Removes a user from a Viva Engage role';
26
+ }
27
+ get schema() {
28
+ return options;
29
+ }
30
+ getRefinedSchema(schema) {
31
+ return schema
32
+ .refine(options => [options.roleId, options.roleName].filter(x => x !== undefined).length === 1, {
33
+ error: 'Specify either roleId, or roleName, but not both.'
34
+ })
35
+ .refine(options => [options.userId, options.userName].filter(x => x !== undefined).length === 1, {
36
+ error: 'Specify either userId, or userName, but not both.'
37
+ });
38
+ }
39
+ async commandAction(logger, args) {
40
+ const removeMember = async () => {
41
+ try {
42
+ let roleId = args.options.roleId;
43
+ let userId = args.options.userId;
44
+ if (args.options.roleName) {
45
+ if (this.verbose) {
46
+ await logger.logToStderr(`Retrieving Viva Engage role ID for role name '${args.options.roleName}'...`);
47
+ }
48
+ roleId = await vivaEngage.getRoleIdByName(args.options.roleName);
49
+ }
50
+ if (args.options.userName) {
51
+ if (this.verbose) {
52
+ await logger.logToStderr(`Retrieving Viva Engage user ID for user name '${args.options.userName}'...`);
53
+ }
54
+ userId = await entraUser.getUserIdByUpn(args.options.userName);
55
+ }
56
+ if (this.verbose) {
57
+ await logger.logToStderr(`Removing user ${userId} from a Viva Engage role ${roleId}...`);
58
+ }
59
+ const requestOptions = {
60
+ url: `${this.resource}/v1.0/employeeExperience/roles/${roleId}/members/${userId}`,
61
+ headers: {
62
+ accept: 'application/json;odata.metadata=none'
63
+ }
64
+ };
65
+ await request.delete(requestOptions);
66
+ }
67
+ catch (err) {
68
+ this.handleRejectedODataJsonPromise(err);
69
+ }
70
+ };
71
+ if (args.options.force) {
72
+ await removeMember();
73
+ }
74
+ else {
75
+ const result = await cli.promptForConfirmation({ message: `Are you sure you want to remove user '${args.options.userId || args.options.userName}' from role '${args.options.roleId || args.options.roleName}'?` });
76
+ if (result) {
77
+ await removeMember();
78
+ }
79
+ }
80
+ }
81
+ }
82
+ export default new VivaEngageRoleMemberRemoveCommand();
83
+ //# sourceMappingURL=engage-role-member-remove.js.map
@@ -85,7 +85,7 @@ class VivaEngageSearchCommand extends VivaEngageCommand {
85
85
  resultGroups.length === 20 ||
86
86
  resultTopics.length === 20;
87
87
  if (continueProcessing) {
88
- await this.getAllItems(logger, args, ++page);
88
+ await this.getAllItems(logger, args, page + 1);
89
89
  }
90
90
  }
91
91
  async commandAction(logger, args) {
@@ -26,6 +26,7 @@ export default {
26
26
  ENGAGE_REPORT_GROUPSACTIVITYGROUPCOUNTS: `${prefix} engage report groupsactivitygroupcounts`,
27
27
  ENGAGE_ROLE_LIST: `${prefix} engage role list`,
28
28
  ENGAGE_ROLE_MEMBER_LIST: `${prefix} engage role member list`,
29
+ ENGAGE_ROLE_MEMBER_REMOVE: `${prefix} engage role member remove`,
29
30
  ENGAGE_SEARCH: `${prefix} engage search`,
30
31
  ENGAGE_USER_GET: `${prefix} engage user get`,
31
32
  ENGAGE_USER_LIST: `${prefix} engage user list`
@@ -87,6 +87,27 @@ export const accessToken = {
87
87
  const payload = JSON.parse(payloadString);
88
88
  return { header, payload };
89
89
  },
90
+ getScopesFromAccessToken(accessToken) {
91
+ let scopes = [];
92
+ if (!accessToken || accessToken.length === 0) {
93
+ return scopes;
94
+ }
95
+ const chunks = accessToken.split('.');
96
+ if (chunks.length !== 3) {
97
+ return scopes;
98
+ }
99
+ const tokenString = Buffer.from(chunks[1], 'base64').toString();
100
+ try {
101
+ const token = JSON.parse(tokenString);
102
+ if (token.scp?.length > 0) {
103
+ scopes = token.scp.split(' ');
104
+ }
105
+ }
106
+ catch {
107
+ // Do nothing
108
+ }
109
+ return scopes;
110
+ },
90
111
  /**
91
112
  * Asserts the presence of a delegated or application-only access token.
92
113
  * @throws {CommandError} Will throw an error if the access token is not available.
@@ -0,0 +1,29 @@
1
+ import request from '../request.js';
2
+ import { spo } from './spo.js';
3
+ export const brandCenter = {
4
+ /**
5
+ * Gets the brand center configuration for the specified site
6
+ * @param logger Logger instance for verbose output
7
+ * @param debug Debug flag for detailed logging
8
+ * @returns Promise<BrandCenterConfiguration> Brand center configuration object
9
+ */
10
+ async getBrandCenterConfiguration(logger, debug = false) {
11
+ if (debug) {
12
+ await logger.logToStderr(`Retrieving brand center configuration...`);
13
+ }
14
+ const spoAdminUrl = await spo.getSpoAdminUrl(logger, debug);
15
+ const brandConfigRequestOptions = {
16
+ url: `${spoAdminUrl}/_api/SPO.Tenant/GetBrandCenterConfiguration`,
17
+ headers: {
18
+ 'accept': 'application/json;odata=nometadata'
19
+ },
20
+ responseType: 'json'
21
+ };
22
+ const brandConfig = await request.get(brandConfigRequestOptions);
23
+ if (debug) {
24
+ await logger.logToStderr(`Successfully retrieved brand center configuration`);
25
+ }
26
+ return brandConfig;
27
+ }
28
+ };
29
+ //# sourceMappingURL=brandCenter.js.map
@@ -2,7 +2,6 @@ import request from "../request.js";
2
2
  /* eslint-enable no-redeclare */
3
3
  // eslint-disable-next-line no-redeclare
4
4
  async function getAllItems(param1, metadata) {
5
- let items = [];
6
5
  const requestOptions = typeof param1 !== 'string' ? param1 : {
7
6
  url: param1,
8
7
  headers: {
@@ -12,7 +11,7 @@ async function getAllItems(param1, metadata) {
12
11
  responseType: 'json'
13
12
  };
14
13
  const res = await request.get(requestOptions);
15
- items = res.value;
14
+ let items = res.value;
16
15
  const nextLink = res['@odata.nextLink'] ?? res.nextLink;
17
16
  if (nextLink) {
18
17
  const nextPageItems = await odata.getAllItems({ ...requestOptions, url: nextLink });
@@ -5,7 +5,7 @@ import { odata } from "./odata.js";
5
5
  const powerPlatformResource = 'https://api.bap.microsoft.com';
6
6
  export const powerPlatform = {
7
7
  async getDynamicsInstanceApiUrl(environment, asAdmin) {
8
- let url = '';
8
+ let url;
9
9
  if (asAdmin) {
10
10
  url = `${powerPlatformResource}/providers/Microsoft.BusinessAppPlatform/scopes/admin/environments/${formatting.encodeQueryParameter(environment)}`;
11
11
  }
package/dist/utils/spo.js CHANGED
@@ -718,7 +718,7 @@ export const spo = {
718
718
  if (verbose) {
719
719
  await logger.logToStderr(`Creating new site...`);
720
720
  }
721
- let requestOptions = {};
721
+ let requestOptions;
722
722
  if (isTeamSite) {
723
723
  requestOptions = {
724
724
  url: `${spoUrl}/_api/GroupSiteManager/CreateGroupEx`,
@@ -1038,7 +1038,7 @@ export const spo = {
1038
1038
  }
1039
1039
  if (sharingCapability) {
1040
1040
  const sharingCapabilityOption = SharingCapabilities[sharingCapability];
1041
- payload.push(`<SetProperty Id="${propertyId++}" ObjectPathId="5" Name="SharingCapability"><Parameter Type="Enum">${sharingCapabilityOption}</Parameter></SetProperty>`);
1041
+ payload.push(`<SetProperty Id="${propertyId}" ObjectPathId="5" Name="SharingCapability"><Parameter Type="Enum">${sharingCapabilityOption}</Parameter></SetProperty>`);
1042
1042
  }
1043
1043
  const pos = tenantId.indexOf('|') + 1;
1044
1044
  const requestOptionsUpdateProperties = {
@@ -85,23 +85,13 @@ export const urlUtil = {
85
85
  */
86
86
  getWebRelativePath(webUrl, folderUrl) {
87
87
  let webRelativePath = this.getUrlRelativePath(webUrl);
88
- let folderWebRelativePath = '';
88
+ let folderWebRelativePath;
89
89
  // will be used to remove relative path from the folderRelativePath
90
90
  // in case the web relative url is included
91
91
  let relativePathToRemove = webRelativePath;
92
- // add '/' at 0
93
- if (webRelativePath[0] !== '/') {
94
- webRelativePath = `/${webRelativePath}`;
95
- }
96
- else {
92
+ if (webRelativePath[0] === '/') {
97
93
  relativePathToRemove = webRelativePath.substring(1);
98
94
  }
99
- // remove last '/' of webRelativePath
100
- const webPathLastCharPos = webRelativePath.length - 1;
101
- if (webRelativePath.length > 1 &&
102
- webRelativePath[webPathLastCharPos] === '/') {
103
- webRelativePath = webRelativePath.substring(0, webPathLastCharPos);
104
- }
105
95
  // remove the web relative path if it is contained in the folder relative path
106
96
  const relativePathToRemoveIdx = folderUrl.toLowerCase().indexOf(relativePathToRemove.toLowerCase());
107
97
  if (relativePathToRemoveIdx > -1) {
@@ -1,4 +1,4 @@
1
- import Global from '/docs/cmd/_global.mdx';
1
+ import Global from '../_global.mdx';
2
2
 
3
3
  # adaptivecard send
4
4