@pnp/cli-microsoft365 6.7.0-beta.f5f5666 → 6.8.0-beta.00c3a00

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 (285) hide show
  1. package/.eslintrc.js +2 -0
  2. package/.mocharc.json +1 -0
  3. package/README.md +15 -10
  4. package/dist/Command.js +62 -7
  5. package/dist/chili/chili.js +298 -0
  6. package/dist/chili/index.js +20 -0
  7. package/dist/cli/Cli.js +2 -2
  8. package/dist/m365/aad/commands/user/user-add.js +30 -21
  9. package/dist/m365/app/commands/permission/permission-add.js +279 -0
  10. package/dist/m365/app/commands.js +1 -0
  11. package/dist/m365/commands/commands.js +2 -0
  12. package/dist/m365/commands/docs.js +42 -0
  13. package/dist/m365/commands/login.js +1 -1
  14. package/dist/m365/commands/setup.js +180 -0
  15. package/dist/m365/commands/setupPresets.js +25 -0
  16. package/dist/m365/flow/commands/run/run-get.js +31 -1
  17. package/dist/m365/pa/commands/app/app-consent-set.js +101 -0
  18. package/dist/m365/pa/commands.js +1 -0
  19. package/dist/m365/planner/commands/roster/roster-plan-list.js +102 -0
  20. package/dist/m365/planner/commands.js +1 -0
  21. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
  22. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
  23. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
  24. package/dist/m365/purview/commands.js +3 -0
  25. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +2 -0
  26. package/dist/m365/spfx/commands/spfx-doctor.js +14 -30
  27. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +146 -0
  28. package/dist/m365/spo/commands/file/file-checkin.js +8 -3
  29. package/dist/m365/spo/commands/file/file-checkout.js +8 -3
  30. package/dist/m365/spo/commands/file/file-copy.js +4 -4
  31. package/dist/m365/spo/commands/file/file-get.js +3 -1
  32. package/dist/m365/spo/commands/file/file-list.js +121 -34
  33. package/dist/m365/spo/commands/file/file-move.js +6 -7
  34. package/dist/m365/spo/commands/file/file-remove.js +6 -12
  35. package/dist/m365/spo/commands/file/file-rename.js +3 -3
  36. package/dist/m365/spo/commands/file/file-roleassignment-add.js +2 -1
  37. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +3 -3
  38. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +2 -1
  39. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +2 -1
  40. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +4 -2
  41. package/dist/m365/spo/commands/file/file-version-clear.js +3 -1
  42. package/dist/m365/spo/commands/file/file-version-get.js +3 -1
  43. package/dist/m365/spo/commands/file/file-version-remove.js +3 -1
  44. package/dist/m365/spo/commands/file/file-version-restore.js +3 -1
  45. package/dist/m365/spo/commands/folder/folder-copy.js +4 -4
  46. package/dist/m365/spo/commands/folder/folder-get.js +5 -2
  47. package/dist/m365/spo/commands/folder/folder-list.js +73 -16
  48. package/dist/m365/spo/commands/folder/folder-move.js +3 -2
  49. package/dist/m365/spo/commands/folder/folder-rename.js +5 -2
  50. package/dist/m365/spo/commands/list/list-get.js +30 -3
  51. package/dist/m365/spo/commands/list/list-list.js +39 -2
  52. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +308 -0
  53. package/dist/m365/spo/commands/page/page-section-add.js +2 -3
  54. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +46 -1
  55. package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +119 -0
  56. package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +106 -0
  57. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +30 -39
  58. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +47 -0
  59. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +151 -0
  60. package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +152 -0
  61. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +203 -0
  62. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +4 -0
  63. package/dist/m365/spo/commands/term/term-add.js +13 -4
  64. package/dist/m365/spo/commands/term/term-get.js +14 -5
  65. package/dist/m365/spo/commands/term/term-group-get.js +12 -3
  66. package/dist/m365/spo/commands/term/term-group-list.js +39 -4
  67. package/dist/m365/spo/commands/term/term-list.js +18 -9
  68. package/dist/m365/spo/commands/term/term-set-add.js +13 -4
  69. package/dist/m365/spo/commands/term/term-set-get.js +12 -3
  70. package/dist/m365/spo/commands/term/term-set-list.js +12 -3
  71. package/dist/m365/spo/commands.js +9 -0
  72. package/dist/m365/teams/commands/chat/chat-member-remove.js +137 -0
  73. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +124 -0
  74. package/dist/m365/teams/commands.js +2 -0
  75. package/dist/utils/formatting.js +35 -11
  76. package/dist/utils/pid.js +5 -0
  77. package/dist/utils/spo.js +1 -1
  78. package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
  79. package/docs/docs/cmd/aad/user/user-add.md +4 -0
  80. package/docs/docs/cmd/aad/user/user-set.md +2 -2
  81. package/docs/docs/cmd/app/permission/permission-add.md +53 -0
  82. package/docs/docs/cmd/cli/cli-consent.md +6 -0
  83. package/docs/docs/cmd/cli/cli-doctor.md +17 -0
  84. package/docs/docs/cmd/cli/cli-issue.md +6 -0
  85. package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
  86. package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
  87. package/docs/docs/cmd/cli/config/config-get.md +6 -0
  88. package/docs/docs/cmd/docs.md +51 -0
  89. package/docs/docs/cmd/flow/environment/environment-list.md +18 -0
  90. package/docs/docs/cmd/flow/flow-get.md +20 -0
  91. package/docs/docs/cmd/flow/flow-list.md +17 -0
  92. package/docs/docs/cmd/flow/run/run-get.md +110 -9
  93. package/docs/docs/cmd/graph/changelog/changelog-list.md +52 -0
  94. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +61 -0
  95. package/docs/docs/cmd/graph/schemaextension/schemaextension-get.md +61 -0
  96. package/docs/docs/cmd/graph/schemaextension/schemaextension-list.md +61 -0
  97. package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.md +4 -0
  98. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -0
  99. package/docs/docs/cmd/graph/subscription/subscription-add.md +73 -0
  100. package/docs/docs/cmd/login.md +1 -1
  101. package/docs/docs/cmd/onedrive/onedrive-list.md +225 -0
  102. package/docs/docs/cmd/onedrive/report/report-activityfilecounts.md +39 -0
  103. package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +39 -0
  104. package/docs/docs/cmd/onedrive/report/report-activityuserdetail.md +43 -0
  105. package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.md +38 -0
  106. package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.md +43 -0
  107. package/docs/docs/cmd/onedrive/report/report-usagefilecounts.md +38 -0
  108. package/docs/docs/cmd/onedrive/report/report-usagestorage.md +37 -0
  109. package/docs/docs/cmd/onenote/notebook/notebook-list.md +79 -0
  110. package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
  111. package/docs/docs/cmd/planner/plan/plan-get.md +1 -1
  112. package/docs/docs/cmd/planner/plan/plan-list.md +1 -1
  113. package/docs/docs/cmd/planner/roster/roster-add.md +2 -1
  114. package/docs/docs/cmd/planner/roster/roster-get.md +1 -1
  115. package/docs/docs/cmd/planner/roster/roster-plan-list.md +109 -0
  116. package/docs/docs/cmd/planner/roster/roster-remove.md +2 -1
  117. package/docs/docs/cmd/planner/task/task-add.md +3 -1
  118. package/docs/docs/cmd/planner/task/task-get.md +0 -6
  119. package/docs/docs/cmd/planner/task/task-set.md +7 -5
  120. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +6 -7
  121. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +6 -7
  122. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +4 -4
  123. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +4 -4
  124. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +10 -10
  125. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +11 -11
  126. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +10 -10
  127. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +10 -10
  128. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +10 -10
  129. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -12
  130. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +8 -9
  131. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +8 -9
  132. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +8 -8
  133. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +8 -8
  134. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
  135. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
  136. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
  137. package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
  138. package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
  139. package/docs/docs/cmd/setup.md +86 -0
  140. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +1 -1
  141. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.md +77 -0
  142. package/docs/docs/cmd/spo/commandset/commandset-set.md +1 -1
  143. package/docs/docs/cmd/spo/contenttype/contenttype-set.md +2 -2
  144. package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
  145. package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
  146. package/docs/docs/cmd/spo/feature/feature-enable.md +2 -2
  147. package/docs/docs/cmd/spo/file/file-add.md +1 -1
  148. package/docs/docs/cmd/spo/file/file-checkin.md +1 -1
  149. package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
  150. package/docs/docs/cmd/spo/file/file-copy.md +1 -1
  151. package/docs/docs/cmd/spo/file/file-get.md +1 -1
  152. package/docs/docs/cmd/spo/file/file-list.md +93 -5
  153. package/docs/docs/cmd/spo/file/file-move.md +3 -3
  154. package/docs/docs/cmd/spo/file/file-remove.md +12 -0
  155. package/docs/docs/cmd/spo/file/file-rename.md +1 -1
  156. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.md +3 -3
  157. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.md +2 -2
  158. package/docs/docs/cmd/spo/file/file-roleassignment-add.md +1 -1
  159. package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +1 -1
  160. package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +1 -1
  161. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.md +1 -1
  162. package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +1 -1
  163. package/docs/docs/cmd/spo/file/file-sharinglink-add.md +1 -1
  164. package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +1 -1
  165. package/docs/docs/cmd/spo/file/file-sharinglink-get.md +1 -1
  166. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
  167. package/docs/docs/cmd/spo/file/file-sharinglink-remove.md +1 -1
  168. package/docs/docs/cmd/spo/file/file-sharinglink-set.md +1 -1
  169. package/docs/docs/cmd/spo/file/file-version-clear.md +2 -2
  170. package/docs/docs/cmd/spo/file/file-version-get.md +1 -1
  171. package/docs/docs/cmd/spo/file/file-version-list.md +1 -1
  172. package/docs/docs/cmd/spo/file/file-version-remove.md +1 -1
  173. package/docs/docs/cmd/spo/file/file-version-restore.md +1 -1
  174. package/docs/docs/cmd/spo/folder/folder-add.md +9 -3
  175. package/docs/docs/cmd/spo/folder/folder-copy.md +2 -2
  176. package/docs/docs/cmd/spo/folder/folder-get.md +7 -7
  177. package/docs/docs/cmd/spo/folder/folder-list.md +45 -10
  178. package/docs/docs/cmd/spo/folder/folder-move.md +1 -1
  179. package/docs/docs/cmd/spo/folder/folder-remove.md +7 -7
  180. package/docs/docs/cmd/spo/folder/folder-rename.md +11 -5
  181. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.md +3 -3
  182. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.md +1 -1
  183. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +1 -1
  184. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +4 -4
  185. package/docs/docs/cmd/spo/list/list-get.md +10 -0
  186. package/docs/docs/cmd/spo/list/list-list.md +28 -0
  187. package/docs/docs/cmd/spo/listitem/listitem-batch-set.md +67 -0
  188. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
  189. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
  190. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
  191. package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
  192. package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
  193. package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
  194. package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
  195. package/docs/docs/cmd/spo/page/page-copy.md +35 -0
  196. package/docs/docs/cmd/spo/page/page-get.md +39 -0
  197. package/docs/docs/cmd/spo/page/page-list.md +53 -0
  198. package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
  199. package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
  200. package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
  201. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
  202. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
  203. package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
  204. package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
  205. package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
  206. package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
  207. package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
  208. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
  209. package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
  210. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
  211. package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
  212. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
  213. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
  214. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
  215. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
  216. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
  217. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
  218. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
  219. package/docs/docs/cmd/spo/site/site-recyclebinitem-move.md +43 -0
  220. package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.md +45 -0
  221. package/docs/docs/cmd/spo/spo-get.md +12 -0
  222. package/docs/docs/cmd/spo/spo-search.md +16 -3
  223. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +1 -1
  224. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.md +103 -0
  225. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.md +49 -0
  226. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.md +49 -0
  227. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.md +57 -0
  228. package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +57 -54
  229. package/docs/docs/cmd/spo/term/term-add.md +107 -6
  230. package/docs/docs/cmd/spo/term/term-get.md +111 -10
  231. package/docs/docs/cmd/spo/term/term-group-get.md +71 -5
  232. package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
  233. package/docs/docs/cmd/spo/term/term-list.md +80 -8
  234. package/docs/docs/cmd/spo/term/term-set-add.md +95 -11
  235. package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
  236. package/docs/docs/cmd/spo/term/term-set-list.md +85 -5
  237. package/docs/docs/cmd/spo/user/user-ensure.md +1 -2
  238. package/docs/docs/cmd/spo/user/user-get.md +24 -0
  239. package/docs/docs/cmd/spo/user/user-list.md +27 -3
  240. package/docs/docs/cmd/spo/userprofile/userprofile-get.md +21 -0
  241. package/docs/docs/cmd/spo/web/web-add.md +24 -0
  242. package/docs/docs/cmd/spo/web/web-clientsidewebpart-list.md +16 -0
  243. package/docs/docs/cmd/spo/web/web-get.md +124 -0
  244. package/docs/docs/cmd/spo/web/web-installedlanguage-list.md +16 -0
  245. package/docs/docs/cmd/spo/web/web-list.md +16 -0
  246. package/docs/docs/cmd/spo/web/web-retentionlabel-list.md +29 -2
  247. package/docs/docs/cmd/teams/app/app-list.md +17 -0
  248. package/docs/docs/cmd/teams/app/app-publish.md +18 -1
  249. package/docs/docs/cmd/teams/channel/channel-add.md +20 -0
  250. package/docs/docs/cmd/teams/channel/channel-get.md +21 -0
  251. package/docs/docs/cmd/teams/channel/channel-list.md +21 -0
  252. package/docs/docs/cmd/teams/channel/channel-member-list.md +20 -0
  253. package/docs/docs/cmd/teams/channel/channel-member-set.md +21 -0
  254. package/docs/docs/cmd/teams/chat/chat-get.md +22 -0
  255. package/docs/docs/cmd/teams/chat/chat-list.md +22 -0
  256. package/docs/docs/cmd/teams/chat/chat-member-list.md +20 -0
  257. package/docs/docs/cmd/teams/chat/chat-member-remove.md +52 -0
  258. package/docs/docs/cmd/teams/chat/chat-message-list.md +23 -0
  259. package/docs/docs/cmd/teams/funsettings/funsettings-list.md +15 -0
  260. package/docs/docs/cmd/teams/guestsettings/guestsettings-list.md +13 -0
  261. package/docs/docs/cmd/teams/meeting/meeting-transcript-list.md +96 -0
  262. package/docs/docs/cmd/teams/membersettings/membersettings-list.md +17 -0
  263. package/docs/docs/cmd/teams/tab/tab-remove.md +1 -1
  264. package/docs/docs/cmd/version.md +1 -1
  265. package/docs/docs/cmd/yammer/group/group-list.md +42 -0
  266. package/docs/docs/cmd/yammer/message/message-add.md +32 -0
  267. package/docs/docs/cmd/yammer/message/message-get.md +32 -0
  268. package/docs/docs/cmd/yammer/message/message-list.md +34 -0
  269. package/docs/docs/cmd/yammer/network/network-list.md +70 -0
  270. package/docs/docs/cmd/yammer/report/report-activitycounts.md +7 -0
  271. package/docs/docs/cmd/yammer/report/report-activityusercounts.md +7 -0
  272. package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +7 -0
  273. package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +7 -0
  274. package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +7 -0
  275. package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +7 -0
  276. package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +7 -0
  277. package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +7 -0
  278. package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +7 -0
  279. package/docs/docs/cmd/yammer/user/user-get.md +55 -0
  280. package/docs/docs/cmd/yammer/user/user-list.md +55 -0
  281. package/docs/docs/cmd/yammer/yammer-search.md +15 -3
  282. package/npm-shrinkwrap.json +269 -336
  283. package/package.json +15 -12
  284. package/dist/m365/spo/commands/file/FilePropertiesCollection.js +0 -3
  285. package/dist/m365/spo/commands/folder/FileFolderCollection.js +0 -3
@@ -10,35 +10,119 @@ m365 spo term set get [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to get a term set from the tenant term store as well as the sitecollection specific term store. Defaults to the tenant admin site.
15
+
13
16
  `-i, --id [id]`
14
- : ID of the term set to retrieve. Specify `name` or `id` but not both
17
+ : ID of the term set to retrieve. Specify `name` or `id` but not both.
15
18
 
16
19
  `-n, --name [name]`
17
- : Name of the term set to retrieve. Specify `name` or `id` but not both
20
+ : Name of the term set to retrieve. Specify `name` or `id` but not both.
18
21
 
19
22
  `--termGroupId [termGroupId]`
20
- : ID of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both
23
+ : ID of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both.
21
24
 
22
25
  `--termGroupName [termGroupName]`
23
- : Name of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both
26
+ : Name of the term group to which the term set belongs. Specify `termGroupId` or `termGroupName` but not both.
24
27
 
25
28
  --8<-- "docs/cmd/_global.md"
26
29
 
27
30
  ## Remarks
28
31
 
29
32
  !!! important
30
- To use this command you have to have permissions to access the tenant admin site.
33
+ To use this command without the --webUrl option you have to have permissions to access the tenant admin site.
34
+
35
+ When using the `--webUrl` option you can connect to the term store with limited permissions, and do not need the SharePoint Administrator role. You need to be a site visitor or more. It allows you to get a term set from the tenant term store as well as a term set from the sitecollection term store.
31
36
 
32
37
  ## Examples
33
38
 
34
- Get information about a taxonomy term set using its ID
39
+ Get information about a taxonomy term set using its ID.
35
40
 
36
41
  ```sh
37
42
  m365 spo term set get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termGroupName PnPTermSets
38
43
  ```
39
44
 
40
- Get information about a taxonomy term set using its name
45
+ Get information about a taxonomy term set using its name.
41
46
 
42
47
  ```sh
43
- m365 spo term set get --name PnPTermSets --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb
48
+ m365 spo term set get --name PnP-Organizations --termGroupId 0a099ee9-e231-4ae9-a5b6-d7f94a0d241d
44
49
  ```
50
+
51
+ Get information about a taxonomy term set using its ID from the specified sitecollection.
52
+
53
+ ```sh
54
+ m365 spo term set get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termGroupName PnPTermSets --webUrl https://contoso.sharepoint.com/sites/project-x
55
+ ```
56
+
57
+ ## Response
58
+
59
+ === "JSON"
60
+
61
+ ```json
62
+ {
63
+ "CreatedDate": "2019-09-03T06:41:32.110Z",
64
+ "Id": "0e8f395e-ff58-4d45-9ff7-e331ab728beb",
65
+ "LastModifiedDate": "2019-09-03T06:41:32.260Z",
66
+ "Name": "PnP-Organizations",
67
+ "CustomProperties": {
68
+ "SearchCenterNavVer": "15"
69
+ },
70
+ "CustomSortOrder": null,
71
+ "IsAvailableForTagging": true,
72
+ "Owner": "",
73
+ "Contact": "",
74
+ "Description": "",
75
+ "IsOpenForTermCreation": true,
76
+ "Names": {
77
+ "1033": "PnP-Organizations"
78
+ },
79
+ "Stakeholders": []
80
+ }
81
+ ```
82
+
83
+ === "Text"
84
+
85
+ ```text
86
+ Contact :
87
+ CreatedDate : 2019-09-03T06:41:32.110Z
88
+ CustomProperties : {"SearchCenterNavVer":"15"}
89
+ CustomSortOrder : null
90
+ Description :
91
+ Id : 0e8f395e-ff58-4d45-9ff7-e331ab728beb
92
+ IsAvailableForTagging: true
93
+ IsOpenForTermCreation: true
94
+ LastModifiedDate : 2019-09-03T06:41:32.260Z
95
+ Name : PnP-Organizations
96
+ Names : {"1033":"PnP-Organizations"}
97
+ Owner :
98
+ Stakeholders : []
99
+ ```
100
+
101
+ === "CSV"
102
+
103
+ ```csv
104
+ CreatedDate,Id,LastModifiedDate,Name,IsAvailableForTagging,Owner,Contact,Description,IsOpenForTermCreation
105
+ 2019-09-03T06:41:32.110Z,0e8f395e-ff58-4d45-9ff7-e331ab728beb,2019-09-03T06:41:32.260Z,PnP-Organizations,1,,,,1
106
+ ```
107
+
108
+ === "Markdown"
109
+
110
+ ```md
111
+ # spo term set get --name "PnP-Organizations" --termGroupName "PnPTermSets"
112
+
113
+ Date: 5/9/2023
114
+
115
+ ## PnP-Organizations (0e8f395e-ff58-4d45-9ff7-e331ab728beb)
116
+
117
+ Property | Value
118
+ ---------|-------
119
+ CreatedDate | 2019-09-03T06:41:32.110Z
120
+ Id | 0e8f395e-ff58-4d45-9ff7-e331ab728beb
121
+ LastModifiedDate | 2019-09-03T06:41:32.260Z
122
+ Name | PnP-Organizations
123
+ IsAvailableForTagging | true
124
+ Owner |
125
+ Contact |
126
+ Description |
127
+ IsOpenForTermCreation | true
128
+ ```
@@ -10,29 +10,109 @@ m365 spo term set list [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to list term sets from the tenant term store as well as the sitecollection specific term store. Defaults to the tenant admin site.
15
+
13
16
  `--termGroupId [termGroupId]`
14
- : ID of the term group from which to retrieve term sets. Specify `termGroupName` or `termGroupId` but not both
17
+ : ID of the term group from which to retrieve term sets. Specify `termGroupName` or `termGroupId` but not both.
15
18
 
16
19
  `--termGroupName [termGroupName]`
17
- : Name of the term group from which to retrieve term sets. Specify `termGroupName` or `termGroupId` but not both
20
+ : Name of the term group from which to retrieve term sets. Specify `termGroupName` or `termGroupId` but not both.
18
21
 
19
22
  --8<-- "docs/cmd/_global.md"
20
23
 
21
24
  ## Remarks
22
25
 
23
26
  !!! important
24
- To use this command you have to have permissions to access the tenant admin site.
27
+ To use this command without the --webUrl option you have to have permissions to access the tenant admin site.
28
+
29
+ When using the `--webUrl` option you can connect to the term store with limited permissions, and do not need the SharePoint Administrator role. You need to be a site visitor or more. It allows you to list term sets from the tenant term store as well as term sets from the sitecollection term store.
25
30
 
26
31
  ## Examples
27
32
 
28
- List taxonomy term sets from the term group with the given name
33
+ List taxonomy term sets from the term group with the given name.
29
34
 
30
35
  ```sh
31
36
  m365 spo term set list --termGroupName PnPTermSets
32
37
  ```
33
38
 
34
- List taxonomy term sets from the term group with the given ID
39
+ List taxonomy term sets from the term group with the given ID.
35
40
 
36
41
  ```sh
37
42
  m365 spo term set list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb
38
43
  ```
44
+
45
+ List taxonomy term sets from the specified sitecollection, from the term group with the given name.
46
+
47
+ ```sh
48
+ m365 spo term set list --termGroupName PnPTermSets --webUrl https://contoso.sharepoint.com/sites/project-x
49
+ ```
50
+
51
+ ## Response
52
+
53
+ === "JSON"
54
+
55
+ ```json
56
+ [
57
+ {
58
+ "_ObjectType_": "SP.Taxonomy.TermSet",
59
+ "_ObjectIdentity_": "676eb2a0-80e7-2000-3976-610eb3f5a91e|fec14c62-7c3b-481b-851b-c80d7802b224:se:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g/qydiOUnAdTKTXucEL/+pv",
60
+ "CreatedDate": "2019-09-03T06:41:32.110Z",
61
+ "Id": "8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f",
62
+ "LastModifiedDate": "2019-09-03T06:41:32.260Z",
63
+ "Name": "Department",
64
+ "CustomProperties": {
65
+ "SearchCenterNavVer": "15"
66
+ },
67
+ "CustomSortOrder": null,
68
+ "IsAvailableForTagging": true,
69
+ "Owner": "",
70
+ "Contact": "",
71
+ "Description": "",
72
+ "IsOpenForTermCreation": true,
73
+ "Names": {
74
+ "1033": "Department"
75
+ },
76
+ "Stakeholders": []
77
+ }
78
+ ]
79
+ ```
80
+
81
+ === "Text"
82
+
83
+ ```text
84
+ Id Name
85
+ ------------------------------------ ----------
86
+ 8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f Department
87
+ ```
88
+
89
+ === "CSV"
90
+
91
+ ```csv
92
+ _ObjectType_,_ObjectIdentity_,CreatedDate,Id,LastModifiedDate,Name,IsAvailableForTagging,Owner,Contact,Description,IsOpenForTermCreation
93
+ SP.Taxonomy.TermSet,7c6eb2a0-20fe-2000-47f1-69774ac909f5|fec14c62-7c3b-481b-851b-c80d7802b224:se:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g/qydiOUnAdTKTXucEL/+pv,2019-09-03T06:41:32.110Z,8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f,2019-09-03T06:41:32.260Z,Department,1,,,,1
94
+ ```
95
+
96
+ === "Markdown"
97
+
98
+ ```md
99
+ # spo term set list --termGroupName "PnPTermSets"
100
+
101
+ Date: 5/13/2023
102
+
103
+ ## Department (8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f)
104
+
105
+ Property | Value
106
+ ---------|-------
107
+ \_ObjectType\_ | SP.Taxonomy.TermSet
108
+ \_ObjectIdentity\_ | 826eb2a0-405f-2000-41be-bfe56d4cdc73\|fec14c62-7c3b-481b-851b-c80d7802b224:se:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g/qydiOUnAdTKTXucEL/+pv
109
+ CreatedDate | 2019-09-03T06:41:32.110Z
110
+ Id | 8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f
111
+ LastModifiedDate | 2019-09-03T06:41:32.260Z
112
+ Name | Department
113
+ IsAvailableForTagging | true
114
+ Owner |
115
+ Contact |
116
+ Description |
117
+ IsOpenForTermCreation | true
118
+ ```
@@ -86,7 +86,7 @@ m365 spo user ensure --webUrl https://contoso.sharepoint.com/sites/project --use
86
86
  === "Markdown"
87
87
 
88
88
  ```md
89
- # spo user ensure --webUrl "https://mathijsdev2.sharepoint.com" --userName "john@contoso.com"
89
+ # spo user ensure --webUrl "https://contoso.sharepoint.com" --userName "john@contoso.com"
90
90
 
91
91
  Date: 18/02/2023
92
92
 
@@ -104,6 +104,5 @@ m365 spo user ensure --webUrl https://contoso.sharepoint.com/sites/project --use
104
104
  IsEmailAuthenticationGuestUser | false
105
105
  IsShareByEmailGuestUser | false
106
106
  IsSiteAdmin | false
107
- UserId | {"NameId":"100320009d80e5de","NameIdIssuer":"urn:federation:microsoftonline"}
108
107
  UserPrincipalName | john@contoso.com
109
108
  ```
@@ -91,3 +91,27 @@ m365 spo user get --webUrl https://contoso.sharepoint.com/sites/project-x --logi
91
91
  Id,IsHiddenInUI,LoginName,Title,PrincipalType,Email,Expiration,IsEmailAuthenticationGuestUser,IsShareByEmailGuestUser,IsSiteAdmin,UserId,UserPrincipalName
92
92
  10,,i:0#.f|membership|johndoe@contoso.onmicrosoft.com,John Doe,1,johndoe@contoso.onmicrosoft.com,,,,,"{""NameId"":""100320022ec308a7"",""NameIdIssuer"":""urn:federation:microsoftonline""}",johndoe@contoso.onmicrosoft.com
93
93
  ```
94
+
95
+ === "Markdown"
96
+
97
+ ```md
98
+ # spo user get --webUrl "https://contoso.sharepoint.com" --loginName "i:0#.f|membership|john.doe@contoso.onmicrosoft.com"
99
+
100
+ Date: 4/10/2023
101
+
102
+ ## John Doe (9)
103
+
104
+ Property | Value
105
+ ---------|-------
106
+ Id | 10
107
+ IsHiddenInUI | false
108
+ LoginName | i:0#.f\|membership\|john.doe@contoso.onmicrosoft.com
109
+ Title | Reshmee Auckloo
110
+ PrincipalType | 1
111
+ Email | john.doe@contoso.onmicrosoft.com
112
+ Expiration |
113
+ IsEmailAuthenticationGuestUser | false
114
+ IsShareByEmailGuestUser | false
115
+ IsSiteAdmin | false
116
+ UserPrincipalName | john.doe@contoso.onmicrosoft.com
117
+ ```
@@ -52,9 +52,9 @@ m365 spo user list --webUrl https://contoso.sharepoint.com/sites/project-x
52
52
  === "Text"
53
53
 
54
54
  ```text
55
- Id Title LoginName
56
- ---------- ------------------------------ --------------------------------------------------------------------------
57
- 10 John Doe i:0#.f|membership|johndoe@contoso.onmicrosoft.com
55
+ Id Title LoginName
56
+ --- -------- -------------------------------------------------
57
+ 10 John Doe i:0#.f|membership|johndoe@contoso.onmicrosoft.com
58
58
  ```
59
59
 
60
60
  === "CSV"
@@ -63,3 +63,27 @@ m365 spo user list --webUrl https://contoso.sharepoint.com/sites/project-x
63
63
  Id,Title,LoginName
64
64
  10,John Doe,i:0#.f|membership|johndoe@contoso.onmicrosoft.com
65
65
  ```
66
+
67
+ === "Markdown"
68
+
69
+ ```md
70
+ # spo user list --webUrl "https://contoso.sharepoint.com/sites/project-x"
71
+
72
+ Date: 4/10/2023
73
+
74
+ ## John Doe (10)
75
+
76
+ Property | Value
77
+ ---------|-------
78
+ Id | 7
79
+ IsHiddenInUI | false
80
+ LoginName | c:0o.c\|membership\|johndoe@contoso.onmicrosoft.com
81
+ Title | John Doe
82
+ PrincipalType | 1
83
+ Email | johndoe@contoso.onmicrosoft.com
84
+ Expiration |
85
+ IsEmailAuthenticationGuestUser | false
86
+ IsShareByEmailGuestUser | false
87
+ IsSiteAdmin | false
88
+ UserPrincipalName | johndoe@contoso.onmicrosoft.com
89
+ ```
@@ -611,4 +611,25 @@ m365 spo userprofile get --userName 'john.doe@mytenant.onmicrosoft.com'
611
611
  i:0#.f|membership|johndoe@contoso.onmicrosoft.com,[],John Doe,johndoe@contoso.onmicrosoft.com,[],"[""i:0#.f|membership|johndoe@contoso.onmicrosoft.com""]",,,[],https://contoso-my.sharepoint.com:443/,https://contoso-my.sharepoint.com/personal/john_contoso_onmicrosoft_com/,,,"[{""Key"":""UserProfile_GUID"",""Value"":""0b4f6da0-97db-456e-993d-80e035057600"",""ValueType"":""Edm.String""},{""Key"":""SID"",""Value"":""i:0h.f|membership|100320022ec308a7@live.com"",""ValueType"":""Edm.String""},{""Key"":""ADGuid"",""Value"":""System.Byte[]"",""ValueType"":""Edm.String""},{""Key"":""AccountName"",""Value"":""i:0#.f|membership|johndoe@contoso.onmicrosoft.com"",""ValueType"":""Edm.String""},{""Key"":""FirstName"",""Value"":""John"",""ValueType"":""Edm.String""},{""Key"":""SPS-PhoneticFirstName"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""LastName"",""Value"":""Doe"",""ValueType"":""Edm.String""},{""Key"":""SPS-PhoneticLastName"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""PreferredName"",""Value"":""John Doe"",""ValueType"":""Edm.String""},{""Key"":""SPS-PhoneticDisplayName"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""WorkPhone"",""Value"":""494594133"",""ValueType"":""Edm.String""},{""Key"":""Department"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""Title"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Department"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""Manager"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""AboutMe"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""PersonalSpace"",""Value"":""/personal/john_contoso_onmicrosoft_com/"",""ValueType"":""Edm.String""},{""Key"":""PictureURL"",""Value"":""https://contoso-my.sharepoint.com:443/User%20Photos/Profile%20Pictures/78ccf530-bbf0-47e4-aae6-da5f8c6fb142_MThumb.jpg"",""ValueType"":""Edm.String""},{""Key"":""UserName"",""Value"":""johndoe@contoso.onmicrosoft.com"",""ValueType"":""Edm.String""},{""Key"":""QuickLinks"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""WebSite"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""PublicSiteRedirect"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-JobTitle"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-DataSource"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-MemberOf"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Dotted-line"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Peers"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Responsibility"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-SipAddress"",""Value"":""johndoe@contoso.onmicrosoft.com"",""ValueType"":""Edm.String""},{""Key"":""SPS-MySiteUpgrade"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-DontSuggestList"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-ProxyAddresses"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-HireDate"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-DisplayOrder"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-ClaimID"",""Value"":""johndoe@contoso.onmicrosoft.com"",""ValueType"":""Edm.String""},{""Key"":""SPS-ClaimProviderID"",""Value"":""membership"",""ValueType"":""Edm.String""},{""Key"":""SPS-LastColleagueAdded"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-OWAUrl"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-ResourceSID"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-ResourceAccountName"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-MasterAccountName"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-UserPrincipalName"",""Value"":""johndoe@contoso.onmicrosoft.com"",""ValueType"":""Edm.String""},{""Key"":""SPS-O15FirstRunExperience"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-PersonalSiteInstantiationState"",""Value"":""2"",""ValueType"":""Edm.String""},{""Key"":""SPS-DistinguishedName"",""Value"":""CN=78ccf530-bbf0-47e4-aae6-da5f8c6fb142,OU=0cac6cda-2e04-4a3d-9c16-9c91470d7022,OU=Tenants,OU=MSOnline,DC=SPODS188311,DC=msft,DC=net"",""ValueType"":""Edm.String""},{""Key"":""SPS-SourceObjectDN"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-LastKeywordAdded"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-ClaimProviderType"",""Value"":""Forms"",""ValueType"":""Edm.String""},{""Key"":""SPS-SavedAccountName"",""Value"":""i:0#.f|membership|johndoe@contoso.onmicrosoft.com"",""ValueType"":""Edm.String""},{""Key"":""SPS-SavedSID"",""Value"":""System.Byte[]"",""ValueType"":""Edm.String""},{""Key"":""SPS-ObjectExists"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-PersonalSiteCapabilities"",""Value"":""36"",""ValueType"":""Edm.String""},{""Key"":""SPS-PersonalSiteFirstCreationTime"",""Value"":""9/12/2022 6:19:29 PM"",""ValueType"":""Edm.String""},{""Key"":""SPS-PersonalSiteLastCreationTime"",""Value"":""9/12/2022 6:19:29 PM"",""ValueType"":""Edm.String""},{""Key"":""SPS-PersonalSiteNumberOfRetries"",""Value"":""1"",""ValueType"":""Edm.String""},{""Key"":""SPS-PersonalSiteFirstCreationError"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-FeedIdentifier"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""WorkEmail"",""Value"":""johndoe@contoso.onmicrosoft.com"",""ValueType"":""Edm.String""},{""Key"":""CellPhone"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""Fax"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""HomePhone"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""Office"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Location"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""Assistant"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-PastProjects"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Skills"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-School"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Birthday"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-StatusNotes"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Interests"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-HashTags"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-EmailOptin"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-PrivacyPeople"",""Value"":""True"",""ValueType"":""Edm.String""},{""Key"":""SPS-PrivacyActivity"",""Value"":""4095"",""ValueType"":""Edm.String""},{""Key"":""SPS-PictureTimestamp"",""Value"":""63799442436"",""ValueType"":""Edm.String""},{""Key"":""SPS-PicturePlaceholderState"",""Value"":""1"",""ValueType"":""Edm.String""},{""Key"":""SPS-PictureExchangeSyncState"",""Value"":""1"",""ValueType"":""Edm.String""},{""Key"":""SPS-MUILanguages"",""Value"":""en-US"",""ValueType"":""Edm.String""},{""Key"":""SPS-ContentLanguages"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-TimeZone"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-RegionalSettings-FollowWeb"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Locale"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-CalendarType"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-AltCalendarType"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-AdjustHijriDays"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-ShowWeeks"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-WorkDays"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-WorkDayStartHour"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-WorkDayEndHour"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-Time24"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-FirstDayOfWeek"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-FirstWeekOfYear"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-RegionalSettings-Initialized"",""Value"":""True"",""ValueType"":""Edm.String""},{""Key"":""OfficeGraphEnabled"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-UserType"",""Value"":""0"",""ValueType"":""Edm.String""},{""Key"":""SPS-HideFromAddressLists"",""Value"":""False"",""ValueType"":""Edm.String""},{""Key"":""SPS-RecipientTypeDetails"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""DelveFlags"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""PulseMRUPeople"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""msOnline-ObjectId"",""Value"":""78ccf530-bbf0-47e4-aae6-da5f8c6fb142"",""ValueType"":""Edm.String""},{""Key"":""SPS-PointPublishingUrl"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-TenantInstanceId"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-SharePointHomeExperienceState"",""Value"":""17301504"",""ValueType"":""Edm.String""},{""Key"":""SPS-RefreshToken"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""SPS-MultiGeoFlags"",""Value"":"""",""ValueType"":""Edm.String""},{""Key"":""PreferredDataLocation"",""Value"":"""",""ValueType"":""Edm.String""}]",https://contoso-my.sharepoint.com:443/Person.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7Cjohn%40contoso%2Eonmicrosoft%2Ecom
612
612
  ```
613
613
 
614
+ === "Markdown"
614
615
 
616
+ ```md
617
+ # spo userprofile get --userName "johndoe@mytenant.onmicrosoft.com"
618
+
619
+ Date: 4/10/2023
620
+
621
+ ## John Doe
622
+
623
+ Property | Value
624
+ ---------|-------
625
+ AccountName | i:0#.f\|membership\|johndoe@mytenant.onmicrosoft.com
626
+ DisplayName | John Doe
627
+ Email | johndoe@mytenant.onmicrosoft.com
628
+ IsFollowed | false
629
+ LatestPost | null
630
+ PersonalSiteHostUrl | https://johndoe-my.sharepoint.com:443/
631
+ PersonalUrl | https://johndoe-my.sharepoint.com/personal/johndoe\_johndoe\_onmicrosoft\_com/
632
+ PictureUrl | null
633
+ Title | null
634
+ UserUrl | https://johndoe-my.sharepoint.com:443/Person.aspx?accountname=i%3A0%23%2Ef%7Cmembership%7Cjohndoe%40johndoe%2Eonmicrosoft%2Ecom
635
+ ```
@@ -98,3 +98,27 @@ m365 spo web add --title Subsite --url subsite --webTemplate STS#0 --parentWebUr
98
98
  Configuration,Created,Description,Id,Language,LastItemModifiedDate,LastItemUserModifiedDate,ServerRelativeUrl,Title,WebTemplate,WebTemplateId
99
99
  0,2022-11-05T14:09:11,Subsite,0cbf2896-bac2-4244-b871-68b413ee7b2f,1033,2022-11-05T14:09:22Z,2022-11-05T14:09:22Z,/subsite,Subsite,STS,0
100
100
  ```
101
+
102
+ === "Markdown"
103
+
104
+ ```md
105
+ # spo web add --title "Subsite" --url "subsite" --webTemplate "STS#0" --parentWebUrl "https://contoso.sharepoint.com" --inheritNavigation "true"
106
+
107
+ Date: 4/10/2023
108
+
109
+ ## Subsite (261ab6d3-0064-47d8-9189-82e5745d7a7f)
110
+
111
+ Property | Value
112
+ ---------|-------
113
+ Configuration | 0
114
+ Created | 2023-04-10T06:38:24
115
+ Description |
116
+ Id | 261ab6d3-0064-47d8-9189-82e5745d7a7f
117
+ Language | 1033
118
+ LastItemModifiedDate | 2023-04-10T06:38:32Z
119
+ LastItemUserModifiedDate | 2023-04-10T06:38:32Z
120
+ ServerRelativeUrl | /subsite
121
+ Title | Subsite
122
+ WebTemplate | STS
123
+ WebTemplateId | 0
124
+ ```
@@ -51,3 +51,19 @@ m365 spo web clientsidewebpart list --webUrl https://contoso.sharepoint.com
51
51
  Id,Name,Title
52
52
  9cc0f495-db64-4d74-b06b-a3de16231fe1,9cc0f495-db64-4d74-b06b-a3de16231fe1,Dashboard for Viva Connections
53
53
  ```
54
+
55
+ === "Markdown"
56
+
57
+ ```md
58
+ # spo web clientsidewebpart list --webUrl "https://contoso.sharepoint.com"
59
+
60
+ Date: 4/10/2023
61
+
62
+ ## Dashboard for Viva Connections (9cc0f495-db64-4d74-b06b-a3de16231fe1)
63
+
64
+ Property | Value
65
+ ---------|-------
66
+ Id | 9cc0f495-db64-4d74-b06b-a3de16231fe1
67
+ Name | 9cc0f495-db64-4d74-b06b-a3de16231fe1
68
+ Title | Dashboard for Viva Connections
69
+ ```
@@ -168,6 +168,68 @@ m365 spo web get --url https://contoso.sharepoint.com/subsite --withPermissions
168
168
  1,,00000000-0000-0000-0000-000000000000,,0,2022-09-12T18:18:07.253,"{""StringValue"":""1;2;d8b65bb3-6ca1-4df2-a4be-0efe08af2580;638032554734300000;715586625""}",/_catalogs/masterpage/seattle.master,,00000000-0000-0000-0000-000000000000,,,0,1,0,0,0,,,d8b65bb3-6ca1-4df2-a4be-0efe08af2580,,,,,1,,1033,2022-11-05T14:06:21Z,2022-10-31T07:29:33Z,0,/_catalogs/masterpage/seattle.master,1,,,,,"{""DecodedUrl"":""https://contoso.sharepoint.com""}",1,1,0,/,,1,0,Communication site,,15,,https://contoso.sharepoint.com,SITEPAGEPUBLISHING,SitePages/Home.aspx
169
169
  ```
170
170
 
171
+ === "Markdown"
172
+
173
+ ```md
174
+ # spo web get --url "https://contoso.sharepoint.com/subsite"
175
+
176
+ Date: 4/10/2023
177
+
178
+ ## Subsite (c59dae7c-48bd-4241-96b7-b81d4bbc25cb)
179
+
180
+ Property | Value
181
+ ---------|-------
182
+ AllowRssFeeds | true
183
+ AlternateCssUrl |
184
+ AppInstanceId | 00000000-0000-0000-0000-000000000000
185
+ ClassicWelcomePage | null
186
+ Configuration | 0
187
+ Created | 2021-09-22T01:54:52.18
188
+ CustomMasterUrl | /subsite/\_catalogs/masterpage/seattle.master
189
+ Description |
190
+ DesignPackageId | 00000000-0000-0000-0000-000000000000
191
+ DocumentLibraryCalloutOfficeWebAppPreviewersDisabled | false
192
+ EnableMinimalDownload | false
193
+ FooterEmphasis | 0
194
+ FooterEnabled | false
195
+ FooterLayout | 0
196
+ HeaderEmphasis | 0
197
+ HeaderLayout | 2
198
+ HideTitleInHeader | false
199
+ HorizontalQuickLaunch | false
200
+ Id | c59dae7c-48bd-4241-96b7-b81d4bbc25cb
201
+ IsEduClass | false
202
+ IsEduClassProvisionChecked | false
203
+ IsEduClassProvisionPending | false
204
+ IsHomepageModernized | false
205
+ IsMultilingual | true
206
+ IsRevertHomepageLinkHidden | false
207
+ Language | 1033
208
+ LastItemModifiedDate | 2023-04-10T06:07:56Z
209
+ LastItemUserModifiedDate | 2023-03-05T08:33:24Z
210
+ LogoAlignment | 0
211
+ MasterUrl | /subsite/\_catalogs/masterpage/seattle.master
212
+ MegaMenuEnabled | false
213
+ NavAudienceTargetingEnabled | false
214
+ NoCrawl | false
215
+ ObjectCacheEnabled | false
216
+ OverwriteTranslationsOnChange | false
217
+ QuickLaunchEnabled | true
218
+ RecycleBinEnabled | true
219
+ SearchScope | 0
220
+ ServerRelativeUrl | /subsite
221
+ SiteLogoUrl | /subsite/\_api/GroupService/GetGroupImage?id='58c0c654-ce7d-444b-9f5f-bc246400f176'&hash=637696347741828775
222
+ SyndicationEnabled | true
223
+ TenantAdminMembersCanShare | 0
224
+ Title | Subsite
225
+ TreeViewEnabled | false
226
+ UIVersion | 15
227
+ UIVersionConfigurationEnabled | false
228
+ Url | https://contoso.sharepoint.com/subsite
229
+ WebTemplate | GROUP
230
+ WelcomePage | SitePages/Home.aspx
231
+ ```
232
+
171
233
  ### `withGroups`, `withPermissions` response
172
234
 
173
235
  When we make use of the option `withGroups` or `withPermissions` the response will differ.
@@ -414,3 +476,65 @@ When we make use of the option `withGroups` or `withPermissions` the response wi
414
476
  AssociatedMemberGroup,AssociatedOwnerGroup,AssociatedVisitorGroup,AllowRssFeeds,AlternateCssUrl,AppInstanceId,ClassicWelcomePage,Configuration,Created,CurrentChangeToken,CustomMasterUrl,Description,DesignPackageId,DocumentLibraryCalloutOfficeWebAppPreviewersDisabled,EnableMinimalDownload,FooterEmphasis,FooterEnabled,FooterLayout,HeaderEmphasis,HeaderLayout,HideTitleInHeader,HorizontalQuickLaunch,Id,IsEduClass,IsEduClassProvisionChecked,IsEduClassProvisionPending,IsHomepageModernized,IsMultilingual,IsRevertHomepageLinkHidden,Language,LastItemModifiedDate,LastItemUserModifiedDate,LogoAlignment,MasterUrl,MegaMenuEnabled,NavAudienceTargetingEnabled,NoCrawl,ObjectCacheEnabled,OverwriteTranslationsOnChange,ResourcePath,QuickLaunchEnabled,RecycleBinEnabled,SearchScope,ServerRelativeUrl,SiteLogoUrl,SyndicationEnabled,TenantAdminMembersCanShare,Title,TreeViewEnabled,UIVersion,UIVersionConfigurationEnabled,Url,WebTemplate,WelcomePage,RoleAssignments
415
477
  "{""Id"":5,""IsHiddenInUI"":false,""LoginName"":""Communication site Members"",""Title"":""Communication site Members"",""PrincipalType"":8,""AllowMembersEditMembership"":true,""AllowRequestToJoinLeave"":false,""AutoAcceptRequestToJoinLeave"":false,""Description"":null,""OnlyAllowMembersViewMembership"":false,""OwnerTitle"":""Communication site Owners"",""RequestToJoinLeaveEmailSetting"":""""}","{""Id"":3,""IsHiddenInUI"":false,""LoginName"":""Communication site Owners"",""Title"":""Communication site Owners"",""PrincipalType"":8,""AllowMembersEditMembership"":false,""AllowRequestToJoinLeave"":false,""AutoAcceptRequestToJoinLeave"":false,""Description"":null,""OnlyAllowMembersViewMembership"":false,""OwnerTitle"":""Communication site Owners"",""RequestToJoinLeaveEmailSetting"":""""}","{""Id"":4,""IsHiddenInUI"":false,""LoginName"":""Communication site Visitors"",""Title"":""Communication site Visitors"",""PrincipalType"":8,""AllowMembersEditMembership"":false,""AllowRequestToJoinLeave"":false,""AutoAcceptRequestToJoinLeave"":false,""Description"":null,""OnlyAllowMembersViewMembership"":false,""OwnerTitle"":""Communication site Owners"",""RequestToJoinLeaveEmailSetting"":""""}",1,,00000000-0000-0000-0000-000000000000,,0,2022-09-12T18:18:07.253,"{""StringValue"":""1;2;d8b65bb3-6ca1-4df2-a4be-0efe08af2580;638032554734300000;715586625""}",/_catalogs/masterpage/seattle.master,,00000000-0000-0000-0000-000000000000,,,0,1,0,0,0,,,d8b65bb3-6ca1-4df2-a4be-0efe08af2580,,,,,1,,1033,2022-11-05T14:06:21Z,2022-10-31T07:29:33Z,0,/_catalogs/masterpage/seattle.master,1,,,,,"{""DecodedUrl"":""https://contoso.sharepoint.com""}",1,1,0,/,,1,0,Communication site,,15,,https://contoso.sharepoint.com,SITEPAGEPUBLISHING,SitePages/Home.aspx,"[{""Member"":{""Id"":3,""IsHiddenInUI"":false,""LoginName"":""Communication site Owners"",""Title"":""Communication site Owners"",""PrincipalType"":8,""AllowMembersEditMembership"":false,""AllowRequestToJoinLeave"":false,""AutoAcceptRequestToJoinLeave"":false,""Description"":null,""OnlyAllowMembersViewMembership"":false,""OwnerTitle"":""Communication site Owners"",""RequestToJoinLeaveEmailSetting"":""""},""RoleDefinitionBindings"":[{""BasePermissions"":{""High"":""2147483647"",""Low"":""4294967295""},""Description"":""Has full control."",""Hidden"":false,""Id"":1073741829,""Name"":""Full Control"",""Order"":1,""RoleTypeKind"":5,""BasePermissionsValue"":[""ViewListItems"",""AddListItems"",""EditListItems"",""DeleteListItems"",""ApproveItems"",""OpenItems"",""ViewVersions"",""DeleteVersions"",""CancelCheckout"",""ManagePersonalViews"",""ManageLists"",""ViewFormPages"",""AnonymousSearchAccessList"",""Open"",""ViewPages"",""AddAndCustomizePages"",""ApplyThemeAndBorder"",""ApplyStyleSheets"",""ViewUsageData"",""CreateSSCSite"",""ManageSubwebs"",""CreateGroups"",""ManagePermissions"",""BrowseDirectories"",""BrowseUserInfo"",""AddDelPrivateWebParts"",""UpdatePersonalWebParts"",""ManageWeb"",""AnonymousSearchAccessWebLists"",""UseClientIntegration"",""UseRemoteAPIs"",""ManageAlerts"",""CreateAlerts"",""EditMyUserInfo"",""EnumeratePermissions""],""RoleTypeKindValue"":""Administrator""}],""PrincipalId"":3}]"
416
478
  ```
479
+
480
+ === "Markdown"
481
+
482
+ ```md
483
+ # spo web get --url "https://contoso.sharepoint.com/subsite" --withGroups "true"
484
+
485
+ Date: 4/10/2023
486
+
487
+ ## Subsite (c59dae7c-48bd-4241-96b7-b81d4bbc25cb)
488
+
489
+ Property | Value
490
+ ---------|-------
491
+ AllowRssFeeds | true
492
+ AlternateCssUrl |
493
+ AppInstanceId | 00000000-0000-0000-0000-000000000000
494
+ ClassicWelcomePage | null
495
+ Configuration | 0
496
+ Created | 2021-09-22T01:54:52.18
497
+ CustomMasterUrl | /subsite/\_catalogs/masterpage/seattle.master
498
+ Description |
499
+ DesignPackageId | 00000000-0000-0000-0000-000000000000
500
+ DocumentLibraryCalloutOfficeWebAppPreviewersDisabled | false
501
+ EnableMinimalDownload | false
502
+ FooterEmphasis | 0
503
+ FooterEnabled | false
504
+ FooterLayout | 0
505
+ HeaderEmphasis | 0
506
+ HeaderLayout | 2
507
+ HideTitleInHeader | false
508
+ HorizontalQuickLaunch | false
509
+ Id | c59dae7c-48bd-4241-96b7-b81d4bbc25cb
510
+ IsEduClass | false
511
+ IsEduClassProvisionChecked | false
512
+ IsEduClassProvisionPending | false
513
+ IsHomepageModernized | false
514
+ IsMultilingual | true
515
+ IsRevertHomepageLinkHidden | false
516
+ Language | 1033
517
+ LastItemModifiedDate | 2023-04-10T06:07:56Z
518
+ LastItemUserModifiedDate | 2023-03-05T08:33:24Z
519
+ LogoAlignment | 0
520
+ MasterUrl | /subsite/\_catalogs/masterpage/seattle.master
521
+ MegaMenuEnabled | false
522
+ NavAudienceTargetingEnabled | false
523
+ NoCrawl | false
524
+ ObjectCacheEnabled | false
525
+ OverwriteTranslationsOnChange | false
526
+ QuickLaunchEnabled | true
527
+ RecycleBinEnabled | true
528
+ SearchScope | 0
529
+ ServerRelativeUrl | /subsite
530
+ SiteLogoUrl | /subsite/\_api/GroupService/GetGroupImage?id='58c0c654-ce7d-444b-9f5f-bc246400f176'&hash=637696347741828775
531
+ SyndicationEnabled | true
532
+ TenantAdminMembersCanShare | 0
533
+ Title | Subsite
534
+ TreeViewEnabled | false
535
+ UIVersion | 15
536
+ UIVersionConfigurationEnabled | false
537
+ Url | https://contoso.sharepoint.com/subsite
538
+ WebTemplate | GROUP
539
+ WelcomePage | SitePages/Home.aspx
540
+ ```
@@ -51,3 +51,19 @@ m365 spo web installedlanguage list --webUrl https://contoso.sharepoint.com
51
51
  DisplayName,LanguageTag,Lcid
52
52
  English,en-US,1033
53
53
  ```
54
+
55
+ === "Markdown"
56
+
57
+ ```md
58
+ # spo web installedlanguage list --webUrl "https://contoso.sharepoint.com"
59
+
60
+ Date: 4/10/2023
61
+
62
+ ## English
63
+
64
+ Property | Value
65
+ ---------|-------
66
+ DisplayName | English
67
+ LanguageTag | en-US
68
+ Lcid | 1033
69
+ ```
@@ -103,3 +103,19 @@ m365 spo web list --url https://contoso.sharepoint.com
103
103
  Title,Url,Id
104
104
  Subsite,https://contoso.sharepoint.com/subsite,b60137df-c3dc-4984-9def-8edcf7c98ab9
105
105
  ```
106
+
107
+ === "Markdown"
108
+
109
+ ```md
110
+ # spo web list --url "https://contoso.sharepoint.com"
111
+
112
+ Date: 4/10/2023
113
+
114
+ ## Subsite (b60137df-c3dc-4984-9def-8edcf7c98ab9)
115
+
116
+ Property | Value
117
+ ---------|-------
118
+ Id | b60137df-c3dc-4984-9def-8edcf7c98ab9
119
+ Title | Subsite
120
+ Url | https://contoso.sharepoint.com/subsite
121
+ ```