@pnp/cli-microsoft365 6.8.0-beta.e41be56 → 6.8.0

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 (290) hide show
  1. package/.eslintrc.js +2 -0
  2. package/.mocharc.json +1 -0
  3. package/README.md +6 -1
  4. package/dist/Command.js +6 -0
  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/pa/commands/app/app-consent-set.js +101 -0
  17. package/dist/m365/pa/commands.js +1 -0
  18. package/dist/m365/planner/commands/roster/roster-plan-list.js +102 -0
  19. package/dist/m365/planner/commands.js +1 -0
  20. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +97 -0
  21. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +85 -0
  22. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +89 -0
  23. package/dist/m365/purview/commands.js +3 -0
  24. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.2.js +25 -0
  25. package/dist/m365/spfx/commands/project/project-doctor/rules/FN001035_DEP_fluentui_react.js +18 -0
  26. package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +11 -4
  27. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  28. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001035_DEP_fluentui_react.js +18 -0
  29. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +2 -0
  30. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.2.js +61 -0
  31. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  32. package/dist/m365/spfx/commands/spfx-doctor.js +29 -30
  33. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +146 -0
  34. package/dist/m365/spo/commands/file/file-checkin.js +8 -3
  35. package/dist/m365/spo/commands/file/file-checkout.js +8 -3
  36. package/dist/m365/spo/commands/file/file-copy.js +4 -4
  37. package/dist/m365/spo/commands/file/file-get.js +3 -1
  38. package/dist/m365/spo/commands/file/file-list.js +17 -6
  39. package/dist/m365/spo/commands/file/file-move.js +6 -7
  40. package/dist/m365/spo/commands/file/file-remove.js +6 -12
  41. package/dist/m365/spo/commands/file/file-rename.js +3 -3
  42. package/dist/m365/spo/commands/file/file-roleassignment-add.js +2 -1
  43. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +3 -3
  44. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +2 -1
  45. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +2 -1
  46. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +4 -2
  47. package/dist/m365/spo/commands/file/file-version-clear.js +3 -1
  48. package/dist/m365/spo/commands/file/file-version-get.js +3 -1
  49. package/dist/m365/spo/commands/file/file-version-remove.js +3 -1
  50. package/dist/m365/spo/commands/file/file-version-restore.js +3 -1
  51. package/dist/m365/spo/commands/folder/folder-copy.js +4 -4
  52. package/dist/m365/spo/commands/folder/folder-get.js +5 -2
  53. package/dist/m365/spo/commands/folder/folder-move.js +3 -2
  54. package/dist/m365/spo/commands/folder/folder-rename.js +5 -2
  55. package/dist/m365/spo/commands/list/list-get.js +30 -3
  56. package/dist/m365/spo/commands/list/list-list.js +39 -2
  57. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +308 -0
  58. package/dist/m365/spo/commands/page/page-section-add.js +2 -3
  59. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-permissionrequest-list.js +46 -1
  60. package/dist/m365/spo/commands/site/site-recyclebinitem-move.js +119 -0
  61. package/dist/m365/spo/commands/site/site-recyclebinitem-remove.js +106 -0
  62. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +30 -39
  63. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +47 -0
  64. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +151 -0
  65. package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +152 -0
  66. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +203 -0
  67. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +4 -0
  68. package/dist/m365/spo/commands/term/term-add.js +13 -4
  69. package/dist/m365/spo/commands/term/term-get.js +14 -5
  70. package/dist/m365/spo/commands/term/term-group-get.js +12 -3
  71. package/dist/m365/spo/commands/term/term-group-list.js +39 -4
  72. package/dist/m365/spo/commands/term/term-list.js +18 -9
  73. package/dist/m365/spo/commands/term/term-set-add.js +13 -4
  74. package/dist/m365/spo/commands/term/term-set-get.js +12 -3
  75. package/dist/m365/spo/commands/term/term-set-list.js +12 -3
  76. package/dist/m365/spo/commands.js +9 -0
  77. package/dist/m365/teams/commands/chat/chat-member-remove.js +137 -0
  78. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +124 -0
  79. package/dist/m365/teams/commands.js +2 -0
  80. package/dist/utils/formatting.js +35 -11
  81. package/dist/utils/pid.js +5 -0
  82. package/dist/utils/spo.js +1 -1
  83. package/docs/docs/cmd/aad/o365group/o365group-get.md +0 -12
  84. package/docs/docs/cmd/aad/user/user-add.md +4 -0
  85. package/docs/docs/cmd/aad/user/user-set.md +2 -2
  86. package/docs/docs/cmd/adaptivecard/adaptivecard-send.md +13 -13
  87. package/docs/docs/cmd/app/app-get.md +25 -6
  88. package/docs/docs/cmd/app/app-open.md +8 -2
  89. package/docs/docs/cmd/app/permission/permission-add.md +53 -0
  90. package/docs/docs/cmd/app/permission/permission-list.md +19 -19
  91. package/docs/docs/cmd/booking/business/business-get.md +30 -8
  92. package/docs/docs/cmd/booking/business/business-list.md +17 -8
  93. package/docs/docs/cmd/cli/cli-consent.md +6 -0
  94. package/docs/docs/cmd/cli/cli-doctor.md +17 -0
  95. package/docs/docs/cmd/cli/cli-issue.md +6 -0
  96. package/docs/docs/cmd/cli/cli-reconsent.md +6 -0
  97. package/docs/docs/cmd/cli/completion/completion-sh-setup.md +6 -0
  98. package/docs/docs/cmd/cli/config/config-get.md +6 -0
  99. package/docs/docs/cmd/docs.md +51 -0
  100. package/docs/docs/cmd/flow/environment/environment-list.md +18 -0
  101. package/docs/docs/cmd/flow/flow-get.md +20 -0
  102. package/docs/docs/cmd/flow/flow-list.md +17 -0
  103. package/docs/docs/cmd/graph/changelog/changelog-list.md +52 -0
  104. package/docs/docs/cmd/graph/schemaextension/schemaextension-add.md +61 -0
  105. package/docs/docs/cmd/graph/schemaextension/schemaextension-get.md +61 -0
  106. package/docs/docs/cmd/graph/schemaextension/schemaextension-list.md +61 -0
  107. package/docs/docs/cmd/graph/schemaextension/schemaextension-remove.md +4 -0
  108. package/docs/docs/cmd/graph/schemaextension/schemaextension-set.md +4 -0
  109. package/docs/docs/cmd/graph/subscription/subscription-add.md +73 -0
  110. package/docs/docs/cmd/login.md +1 -1
  111. package/docs/docs/cmd/onedrive/onedrive-list.md +225 -0
  112. package/docs/docs/cmd/onedrive/report/report-activityfilecounts.md +39 -0
  113. package/docs/docs/cmd/onedrive/report/report-activityusercounts.md +39 -0
  114. package/docs/docs/cmd/onedrive/report/report-activityuserdetail.md +43 -0
  115. package/docs/docs/cmd/onedrive/report/report-usageaccountcounts.md +38 -0
  116. package/docs/docs/cmd/onedrive/report/report-usageaccountdetail.md +43 -0
  117. package/docs/docs/cmd/onedrive/report/report-usagefilecounts.md +38 -0
  118. package/docs/docs/cmd/onedrive/report/report-usagestorage.md +37 -0
  119. package/docs/docs/cmd/onenote/notebook/notebook-list.md +79 -0
  120. package/docs/docs/cmd/pa/app/app-consent-set.md +47 -0
  121. package/docs/docs/cmd/planner/plan/plan-get.md +1 -1
  122. package/docs/docs/cmd/planner/plan/plan-list.md +1 -1
  123. package/docs/docs/cmd/planner/roster/roster-add.md +2 -1
  124. package/docs/docs/cmd/planner/roster/roster-get.md +1 -1
  125. package/docs/docs/cmd/planner/roster/roster-plan-list.md +109 -0
  126. package/docs/docs/cmd/planner/roster/roster-remove.md +2 -1
  127. package/docs/docs/cmd/planner/task/task-get.md +0 -6
  128. package/docs/docs/cmd/planner/task/task-set.md +1 -1
  129. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +6 -7
  130. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +6 -7
  131. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +4 -4
  132. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +4 -4
  133. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +10 -10
  134. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +11 -11
  135. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +10 -10
  136. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +10 -10
  137. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +10 -10
  138. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -12
  139. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +8 -9
  140. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +8 -9
  141. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +8 -8
  142. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +8 -8
  143. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.md +118 -0
  144. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.md +111 -0
  145. package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-policysettings-list.md +97 -0
  146. package/docs/docs/cmd/search/externalconnection/externalconnection-get.md +17 -0
  147. package/docs/docs/cmd/search/externalconnection/externalconnection-list.md +17 -0
  148. package/docs/docs/cmd/setup.md +86 -0
  149. package/docs/docs/cmd/spfx/project/project-doctor.md +1 -1
  150. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  151. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +1 -1
  152. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.md +77 -0
  153. package/docs/docs/cmd/spo/commandset/commandset-set.md +1 -1
  154. package/docs/docs/cmd/spo/contenttype/contenttype-set.md +2 -2
  155. package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
  156. package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
  157. package/docs/docs/cmd/spo/feature/feature-enable.md +2 -2
  158. package/docs/docs/cmd/spo/file/file-add.md +1 -1
  159. package/docs/docs/cmd/spo/file/file-checkin.md +1 -1
  160. package/docs/docs/cmd/spo/file/file-checkout.md +1 -1
  161. package/docs/docs/cmd/spo/file/file-copy.md +1 -1
  162. package/docs/docs/cmd/spo/file/file-get.md +1 -1
  163. package/docs/docs/cmd/spo/file/file-list.md +9 -6
  164. package/docs/docs/cmd/spo/file/file-move.md +3 -3
  165. package/docs/docs/cmd/spo/file/file-remove.md +12 -0
  166. package/docs/docs/cmd/spo/file/file-rename.md +1 -1
  167. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.md +3 -3
  168. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.md +2 -2
  169. package/docs/docs/cmd/spo/file/file-roleassignment-add.md +1 -1
  170. package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +1 -1
  171. package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +1 -1
  172. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.md +1 -1
  173. package/docs/docs/cmd/spo/file/file-sharinginfo-get.md +1 -1
  174. package/docs/docs/cmd/spo/file/file-sharinglink-add.md +1 -1
  175. package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +1 -1
  176. package/docs/docs/cmd/spo/file/file-sharinglink-get.md +1 -1
  177. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
  178. package/docs/docs/cmd/spo/file/file-sharinglink-remove.md +1 -1
  179. package/docs/docs/cmd/spo/file/file-sharinglink-set.md +1 -1
  180. package/docs/docs/cmd/spo/file/file-version-clear.md +2 -2
  181. package/docs/docs/cmd/spo/file/file-version-get.md +1 -1
  182. package/docs/docs/cmd/spo/file/file-version-list.md +1 -1
  183. package/docs/docs/cmd/spo/file/file-version-remove.md +1 -1
  184. package/docs/docs/cmd/spo/file/file-version-restore.md +1 -1
  185. package/docs/docs/cmd/spo/folder/folder-add.md +9 -3
  186. package/docs/docs/cmd/spo/folder/folder-copy.md +2 -2
  187. package/docs/docs/cmd/spo/folder/folder-get.md +7 -7
  188. package/docs/docs/cmd/spo/folder/folder-list.md +11 -11
  189. package/docs/docs/cmd/spo/folder/folder-move.md +1 -1
  190. package/docs/docs/cmd/spo/folder/folder-remove.md +7 -7
  191. package/docs/docs/cmd/spo/folder/folder-rename.md +11 -5
  192. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.md +3 -3
  193. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.md +1 -1
  194. package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +1 -1
  195. package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +4 -4
  196. package/docs/docs/cmd/spo/list/list-get.md +10 -0
  197. package/docs/docs/cmd/spo/list/list-list.md +28 -0
  198. package/docs/docs/cmd/spo/listitem/listitem-batch-set.md +67 -0
  199. package/docs/docs/cmd/spo/listitem/listitem-list.md +1 -1
  200. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +19 -0
  201. package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +12 -0
  202. package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +6 -0
  203. package/docs/docs/cmd/spo/page/page-column-get.md +15 -0
  204. package/docs/docs/cmd/spo/page/page-column-list.md +16 -0
  205. package/docs/docs/cmd/spo/page/page-control-get.md +18 -0
  206. package/docs/docs/cmd/spo/page/page-control-list.md +18 -0
  207. package/docs/docs/cmd/spo/page/page-copy.md +35 -0
  208. package/docs/docs/cmd/spo/page/page-get.md +39 -0
  209. package/docs/docs/cmd/spo/page/page-list.md +53 -0
  210. package/docs/docs/cmd/spo/page/page-section-get.md +12 -0
  211. package/docs/docs/cmd/spo/page/page-section-list.md +13 -0
  212. package/docs/docs/cmd/spo/page/page-template-list.md +31 -0
  213. package/docs/docs/cmd/spo/propertybag/propertybag-get.md +6 -0
  214. package/docs/docs/cmd/spo/propertybag/propertybag-list.md +13 -0
  215. package/docs/docs/cmd/spo/report/report-activityfilecounts.md +7 -0
  216. package/docs/docs/cmd/spo/report/report-activitypages.md +7 -0
  217. package/docs/docs/cmd/spo/report/report-activityusercounts.md +7 -0
  218. package/docs/docs/cmd/spo/report/report-activityuserdetail.md +7 -0
  219. package/docs/docs/cmd/spo/report/report-siteusagedetail.md +7 -0
  220. package/docs/docs/cmd/spo/report/report-siteusagefilecounts.md +7 -0
  221. package/docs/docs/cmd/spo/report/report-siteusagepages.md +7 -0
  222. package/docs/docs/cmd/spo/report/report-siteusagesitecounts.md +7 -0
  223. package/docs/docs/cmd/spo/report/report-siteusagestorage.md +7 -0
  224. package/docs/docs/cmd/spo/roledefinition/roledefinition-get.md +20 -0
  225. package/docs/docs/cmd/spo/roledefinition/roledefinition-list.md +20 -0
  226. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-add.md +20 -0
  227. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.md +18 -0
  228. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-approve.md +20 -0
  229. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-permissionrequest-list.md +17 -0
  230. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-set.md +13 -0
  231. package/docs/docs/cmd/spo/site/site-recyclebinitem-move.md +43 -0
  232. package/docs/docs/cmd/spo/site/site-recyclebinitem-remove.md +45 -0
  233. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +1 -1
  234. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.md +103 -0
  235. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.md +49 -0
  236. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.md +49 -0
  237. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.md +57 -0
  238. package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +57 -54
  239. package/docs/docs/cmd/spo/term/term-add.md +107 -6
  240. package/docs/docs/cmd/spo/term/term-get.md +111 -10
  241. package/docs/docs/cmd/spo/term/term-group-get.md +71 -5
  242. package/docs/docs/cmd/spo/term/term-group-list.md +70 -2
  243. package/docs/docs/cmd/spo/term/term-list.md +80 -8
  244. package/docs/docs/cmd/spo/term/term-set-add.md +95 -11
  245. package/docs/docs/cmd/spo/term/term-set-get.md +92 -8
  246. package/docs/docs/cmd/spo/term/term-set-list.md +85 -5
  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/todo/list/list-add.md +18 -0
  265. package/docs/docs/cmd/todo/list/list-get.md +18 -0
  266. package/docs/docs/cmd/todo/list/list-list.md +18 -0
  267. package/docs/docs/cmd/todo/task/task-get.md +21 -0
  268. package/docs/docs/cmd/todo/task/task-list.md +21 -0
  269. package/docs/docs/cmd/util/accesstoken/accesstoken-get.md +6 -0
  270. package/docs/docs/cmd/version.md +1 -1
  271. package/docs/docs/cmd/viva/connections/connections-app-create.md +3 -3
  272. package/docs/docs/cmd/yammer/group/group-list.md +42 -0
  273. package/docs/docs/cmd/yammer/message/message-add.md +32 -0
  274. package/docs/docs/cmd/yammer/message/message-get.md +32 -0
  275. package/docs/docs/cmd/yammer/message/message-list.md +34 -0
  276. package/docs/docs/cmd/yammer/network/network-list.md +70 -0
  277. package/docs/docs/cmd/yammer/report/report-activitycounts.md +7 -0
  278. package/docs/docs/cmd/yammer/report/report-activityusercounts.md +7 -0
  279. package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +7 -0
  280. package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +7 -0
  281. package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +7 -0
  282. package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +7 -0
  283. package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +7 -0
  284. package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +7 -0
  285. package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +7 -0
  286. package/docs/docs/cmd/yammer/user/user-get.md +55 -0
  287. package/docs/docs/cmd/yammer/user/user-list.md +55 -0
  288. package/docs/docs/cmd/yammer/yammer-search.md +15 -3
  289. package/npm-shrinkwrap.json +267 -334
  290. package/package.json +15 -13
@@ -13,6 +13,9 @@ m365 spo term add [options]
13
13
  `-n, --name <name>`
14
14
  : Name of the term to add
15
15
 
16
+ `-u, --webUrl [webUrl]`
17
+ : If specified, allows you to add a term to the tenant term store as well as the sitecollection specific term store. Defaults to the tenant admin site.
18
+
16
19
  `--termSetId [termSetId]`
17
20
  : ID of the term set in which to create the term. Specify `termSetId` or `termSetName` but not both
18
21
 
@@ -48,36 +51,134 @@ m365 spo term add [options]
48
51
  When using the `--customProperties` and/or `--localCustomProperties` options it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
49
52
 
50
53
  !!! important
51
- To use this command you have to have permissions to access the tenant admin site.
54
+ To use this command without the `--webUrl` option you have to have permissions to access the tenant admin site.
55
+
56
+ When using the `--webUrl` option you can connect to the term store with limited permissions, and do not need the SharePoint Administrator role. It allows you to add a term to a term set in the tenant term store if you are listed as a term store administrator. It allows you to add terms to a term set in the sitecollection term store if you are a site owner.
52
57
 
53
58
  ## Examples
54
59
 
55
- Add taxonomy term with the specified name to the term group and term set specified by their names
60
+ Add taxonomy term with the specified name to the term group and term set specified by their names.
56
61
 
57
62
  ```sh
58
63
  m365 spo term add --name IT --termSetName Department --termGroupName People
59
64
  ```
60
65
 
61
- Add taxonomy term with the specified name to the term group and term set specified by their IDs
66
+ Add taxonomy term with the specified name to the term group and term set specified by their IDs.
62
67
 
63
68
  ```sh
64
69
  m365 spo term add --name IT --termSetId 8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f --termGroupId 5c928151-c140-4d48-aab9-54da901c7fef
65
70
  ```
66
71
 
67
- Add taxonomy term with the specified name and ID
72
+ Add taxonomy term with the specified name and ID.
68
73
 
69
74
  ```sh
70
75
  m365 spo term add --name IT --id 5c928151-c140-4d48-aab9-54da901c7fef --termSetName Department --termGroupName People
71
76
  ```
72
77
 
73
- Add taxonomy term with custom properties
78
+ Add taxonomy term to the specified sitecollection with the specified name and ID.
79
+
80
+ ```sh
81
+ m365 spo term add --name IT --id 5c928151-c140-4d48-aab9-54da901c7fef --termSetName Department --termGroupName People --webUrl https://contoso.sharepoint.com/sites/project-x
82
+ ```
83
+
84
+ Add taxonomy term with custom properties.
74
85
 
75
86
  ```sh
76
87
  m365 spo term add --name IT --termSetName Department --termGroupName People --customProperties '{"Property": "Value"}'
77
88
  ```
78
89
 
79
- Add taxonomy term below the specified term
90
+ Add taxonomy term below the specified term.
80
91
 
81
92
  ```sh
82
93
  m365 spo term add --name IT --parentTermId 5c928151-c140-4d48-aab9-54da901c7fef --termGroupName People
83
94
  ```
95
+
96
+ ## Response
97
+
98
+ === "JSON"
99
+
100
+ ```json
101
+ {
102
+ "CreatedDate": "2023-05-10T06:21:33.873Z",
103
+ "Id": "346f49b0-3d1c-4ed3-b590-df303294cc16",
104
+ "LastModifiedDate": "2023-05-10T06:21:33.873Z",
105
+ "Name": "IT",
106
+ "CustomProperties": {},
107
+ "CustomSortOrder": null,
108
+ "IsAvailableForTagging": true,
109
+ "Owner": "i:0#.f|membership|john.doe@contoso.onmicrosoft.com",
110
+ "Description": "",
111
+ "IsDeprecated": false,
112
+ "IsKeyword": false,
113
+ "IsPinned": false,
114
+ "IsPinnedRoot": false,
115
+ "IsReused": false,
116
+ "IsRoot": true,
117
+ "IsSourceTerm": true,
118
+ "LocalCustomProperties": {},
119
+ "MergedTermIds": [],
120
+ "PathOfTerm": "IT",
121
+ "TermsCount": 0
122
+ }
123
+ ```
124
+
125
+ === "Text"
126
+
127
+ ```text
128
+ CreatedDate : 2023-05-10T06:22:34.686Z
129
+ CustomProperties : {}
130
+ CustomSortOrder : null
131
+ Description :
132
+ Id : 53156df9-5485-4724-9f4f-6670a3d41f88
133
+ IsAvailableForTagging: true
134
+ IsDeprecated : false
135
+ IsKeyword : false
136
+ IsPinned : false
137
+ IsPinnedRoot : false
138
+ IsReused : false
139
+ IsRoot : true
140
+ IsSourceTerm : true
141
+ LastModifiedDate : 2023-05-10T06:22:34.686Z
142
+ LocalCustomProperties: {}
143
+ MergedTermIds : []
144
+ Name : IT
145
+ Owner : i:0#.f|membership|john.doe@contoso.onmicrosoft.com
146
+ PathOfTerm : IT
147
+ TermsCount : 0
148
+ ```
149
+
150
+ === "CSV"
151
+
152
+ ```csv
153
+ CreatedDate,Id,LastModifiedDate,Name,IsAvailableForTagging,Owner,Description,IsDeprecated,IsKeyword,IsPinned,IsPinnedRoot,IsReused,IsRoot,IsSourceTerm,PathOfTerm,TermsCount
154
+ 2023-05-10T06:23:13.490Z,0f1e0630-9f45-42d1-a64e-e82fe76826da,2023-05-10T06:23:13.490Z,IT,1,i:0#.f|membership|john.doe@contoso.onmicrosoft.com,,,,,,,1,1,IT,0
155
+ ```
156
+
157
+ === "Markdown"
158
+
159
+ ```md
160
+ # spo term add --termGroupName "People" --termSetName "Department" --name "IT"
161
+
162
+ Date: 5/10/2023
163
+
164
+ ## IT (6e72d493-000d-4517-aa3e-2afb3a3d4bc8)
165
+
166
+ Property | Value
167
+ ---------|-------
168
+ CreatedDate | 2023-05-10T06:23:49.970Z
169
+ Id | 6e72d493-000d-4517-aa3e-2afb3a3d4bc8
170
+ LastModifiedDate | 2023-05-10T06:23:49.970Z
171
+ Name | IT
172
+ IsAvailableForTagging | true
173
+ Owner | i:0#.f\|membership\|john.doe@contoso.onmicrosoft.com
174
+ Description |
175
+ IsDeprecated | false
176
+ IsKeyword | false
177
+ IsPinned | false
178
+ IsPinnedRoot | false
179
+ IsReused | false
180
+ IsRoot | true
181
+ IsSourceTerm | true
182
+ PathOfTerm | IT
183
+ TermsCount | 0
184
+ ```
@@ -10,23 +10,26 @@ m365 spo term get [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to get a term 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 to retrieve. Specify `name` or `id` but not both
17
+ : ID of the term to retrieve. Specify `name` or `id` but not both.
15
18
 
16
19
  `-n, --name [name]`
17
- : Name of the term to retrieve. Specify `name` or `id` but not both
20
+ : Name of the term 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
  `--termSetId [termSetId]`
26
- : ID of the term set to which the term belongs. Specify `termSetId` or `termSetName` but not both
29
+ : ID of the term set to which the term belongs. Specify `termSetId` or `termSetName` but not both.
27
30
 
28
31
  `--termSetName [termSetName]`
29
- : Name of the term set to which the term belongs. Specify `termSetId` or `termSetName` but not both
32
+ : Name of the term set to which the term belongs. Specify `termSetId` or `termSetName` but not both.
30
33
 
31
34
  --8<-- "docs/cmd/_global.md"
32
35
 
@@ -35,24 +38,122 @@ m365 spo term get [options]
35
38
  When retrieving term by its ID, it's sufficient to specify just the ID. When retrieving it by its name however, you need to specify the parent term group and term set using either their names or IDs.
36
39
 
37
40
  !!! important
38
- To use this command you have to have permissions to access the tenant admin site.
41
+ To use this command without the --webUrl option you have to have permissions to access the tenant admin site.
39
42
 
43
+ 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 from the tenant term store as well as a term from the sitecollection term store.
44
+
40
45
  ## Examples
41
46
 
42
- Get information about a taxonomy term using its ID
47
+ Get information about a taxonomy term using its ID from the specified sitecollection.
48
+
49
+ ```sh
50
+ m365 spo term get --webUrl https://contoso.sharepoint.com/sites/project-x --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb
51
+ ```
52
+
53
+ Get information about a taxonomy term using its ID.
43
54
 
44
55
  ```sh
45
56
  m365 spo term get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb
46
57
  ```
47
58
 
48
- Get information about a taxonomy term using its name, retrieving the parent term group and term set using their names
59
+ Get information about a taxonomy term using its name, retrieving the parent term group and term set using their names.
49
60
 
50
61
  ```sh
51
62
  m365 spo term get --name IT --termGroupName People --termSetName Department
52
63
  ```
53
64
 
54
- Get information about a taxonomy term using its name, retrieving the parent term group and term set using their IDs
65
+ Get information about a taxonomy term using its name, retrieving the parent term group and term set using their IDs.
55
66
 
56
67
  ```sh
57
68
  m365 spo term get --name IT --termGroupId 5c928151-c140-4d48-aab9-54da901c7fef --termSetId 8ed8c9ea-7052-4c1d-a4d7-b9c10bffea6f
58
69
  ```
70
+
71
+ ## Response
72
+
73
+ === "JSON"
74
+
75
+ ```json
76
+ {
77
+ "CreatedDate": "2021-07-07T09:42:02.283Z",
78
+ "Id": "2b5c71a6-d72b-49a8-a3bf-d80636d85b44",
79
+ "LastModifiedDate": "2021-07-07T09:42:02.283Z",
80
+ "Name": "IT",
81
+ "CustomProperties": {},
82
+ "CustomSortOrder": null,
83
+ "IsAvailableForTagging": true,
84
+ "Owner": "NT Service\\SPTimerV4",
85
+ "Description": "",
86
+ "IsDeprecated": false,
87
+ "IsKeyword": false,
88
+ "IsPinned": false,
89
+ "IsPinnedRoot": false,
90
+ "IsReused": false,
91
+ "IsRoot": true,
92
+ "IsSourceTerm": true,
93
+ "LocalCustomProperties": {},
94
+ "MergedTermIds": [],
95
+ "PathOfTerm": "IT",
96
+ "TermsCount": 1
97
+ }
98
+ ```
99
+
100
+ === "Text"
101
+
102
+ ```text
103
+ CreatedDate : 2021-07-07T09:42:02.283Z
104
+ CustomProperties : {}
105
+ CustomSortOrder : null
106
+ Description :
107
+ Id : 2b5c71a6-d72b-49a8-a3bf-d80636d85b44
108
+ IsAvailableForTagging: true
109
+ IsDeprecated : false
110
+ IsKeyword : false
111
+ IsPinned : false
112
+ IsPinnedRoot : false
113
+ IsReused : false
114
+ IsRoot : true
115
+ IsSourceTerm : true
116
+ LastModifiedDate : 2021-07-07T09:42:02.283Z
117
+ LocalCustomProperties: {}
118
+ MergedTermIds : []
119
+ Name : IT
120
+ Owner : NT Service\SPTimerV4
121
+ PathOfTerm : IT
122
+ TermsCount : 1
123
+ ```
124
+
125
+ === "CSV"
126
+
127
+ ```csv
128
+ CreatedDate,Id,LastModifiedDate,Name,IsAvailableForTagging,Owner,Description,IsDeprecated,IsKeyword,IsPinned,IsPinnedRoot,IsReused,IsRoot,IsSourceTerm,PathOfTerm,TermsCount
129
+ 2021-07-07T09:42:02.283Z,2b5c71a6-d72b-49a8-a3bf-d80636d85b44,2021-07-07T09:42:02.283Z,IT,1,NT Service\SPTimerV4,,,,,,,1,1,IT,1
130
+ ```
131
+
132
+ === "Markdown"
133
+
134
+ ```md
135
+ # spo term get --termGroupName "People" --termSetName "Department" --name "IT"
136
+
137
+ Date: 5/8/2023
138
+
139
+ ## IT (2b5c71a6-d72b-49a8-a3bf-d80636d85b44)
140
+
141
+ Property | Value
142
+ ---------|-------
143
+ CreatedDate | 2021-07-07T09:42:02.283Z
144
+ Id | 2b5c71a6-d72b-49a8-a3bf-d80636d85b44
145
+ LastModifiedDate | 2021-07-07T09:42:02.283Z
146
+ Name | IT
147
+ IsAvailableForTagging | true
148
+ Owner | NT Service\SPTimerV4
149
+ Description |
150
+ IsDeprecated | false
151
+ IsKeyword | false
152
+ IsPinned | false
153
+ IsPinnedRoot | false
154
+ IsReused | false
155
+ IsRoot | true
156
+ IsSourceTerm | true
157
+ PathOfTerm | IT
158
+ TermsCount | 1
159
+ ```
@@ -10,29 +10,95 @@ m365 spo term group get [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to get a term group 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 group to retrieve. Specify `name` or `id` but not both
17
+ : ID of the term group to retrieve. Specify `name` or `id` but not both.
15
18
 
16
19
  `-n, --name [name]`
17
- : Name of the term group to retrieve. Specify `name` or `id` but not both
20
+ : Name of the term group to retrieve. Specify `name` or `id` 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 get a term group from the tenant term store as well as a term group from the sitecollection term store.
25
30
 
26
31
  ## Examples
27
32
 
28
- Get information about a taxonomy term group using its ID
33
+ Get information about a taxonomy term group using its ID.
29
34
 
30
35
  ```sh
31
36
  m365 spo term group get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb
32
37
  ```
33
38
 
34
- Get information about a taxonomy term group using its name
39
+ Get information about a taxonomy term group using its name.
35
40
 
36
41
  ```sh
37
42
  m365 spo term group get --name PnPTermSets
38
43
  ```
44
+
45
+ Get information about a taxonomy term group from the specified sitecollection using its ID.
46
+
47
+ ```sh
48
+ m365 spo term group get --id 0e8f395e-ff58-4d45-9ff7-e331ab728beb --webUrl https://contoso.sharepoint.com/sites/project-x
49
+ ```
50
+
51
+ ## Response
52
+
53
+ === "JSON"
54
+
55
+ ```json
56
+ {
57
+ "CreatedDate": "2019-09-03T06:41:32.070Z",
58
+ "Id": "0e8f395e-ff58-4d45-9ff7-e331ab728beb",
59
+ "LastModifiedDate": "2019-09-03T06:41:32.070Z",
60
+ "Name": "PnPTermSets",
61
+ "Description": "",
62
+ "IsSiteCollectionGroup": false,
63
+ "IsSystemGroup": false
64
+ }
65
+ ```
66
+
67
+ === "Text"
68
+
69
+ ```text
70
+ CreatedDate : 2019-09-03T06:41:32.070Z
71
+ Description :
72
+ Id : 0e8f395e-ff58-4d45-9ff7-e331ab728beb
73
+ IsSiteCollectionGroup: false
74
+ IsSystemGroup : false
75
+ LastModifiedDate : 2019-09-03T06:41:32.070Z
76
+ Name : PnPTermSets
77
+ ```
78
+
79
+ === "CSV"
80
+
81
+ ```csv
82
+ CreatedDate,Id,LastModifiedDate,Name,Description,IsSiteCollectionGroup,IsSystemGroup
83
+ 2019-09-03T06:41:32.070Z,0e8f395e-ff58-4d45-9ff7-e331ab728beb,2019-09-03T06:41:32.070Z,PnPTermSets,,,
84
+ ```
85
+
86
+ === "Markdown"
87
+
88
+ ```md
89
+ # spo term group get --id "0e8f395e-ff58-4d45-9ff7-e331ab728beb"
90
+
91
+ Date: 5/14/2023
92
+
93
+ ## PnPTermSets (0e8f395e-ff58-4d45-9ff7-e331ab728beb)
94
+
95
+ Property | Value
96
+ ---------|-------
97
+ CreatedDate | 2019-09-03T06:41:32.070Z
98
+ Id | 0e8f395e-ff58-4d45-9ff7-e331ab728beb
99
+ LastModifiedDate | 2019-09-03T06:41:32.070Z
100
+ Name | PnPTermSets
101
+ Description |
102
+ IsSiteCollectionGroup | false
103
+ IsSystemGroup | false
104
+ ```
@@ -10,17 +10,85 @@ m365 spo term group list [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to list term groups from the tenant term store as well as the sitecollection specific term store. Defaults to the tenant admin site.
15
+
13
16
  --8<-- "docs/cmd/_global.md"
14
17
 
15
18
  ## Remarks
16
19
 
17
20
  !!! important
18
- To use this command you have to have permissions to access the tenant admin site.
21
+ To use this command without the --webUrl option you have to have permissions to access the tenant admin site.
22
+
23
+ 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 groups from the tenant term store as well as term groups from the sitecollection term store.
19
24
 
20
25
  ## Examples
21
26
 
22
- List taxonomy term groups
27
+ List taxonomy term groups.
23
28
 
24
29
  ```sh
25
30
  m365 spo term group list
26
31
  ```
32
+
33
+ List taxonomy term groups from the specified sitecollection.
34
+
35
+ ```sh
36
+ m365 spo term group list --webUrl https://contoso.sharepoint.com/sites/project-x
37
+ ```
38
+
39
+ ## Response
40
+
41
+ === "JSON"
42
+
43
+ ```json
44
+ [
45
+ {
46
+ "_ObjectType_": "SP.Taxonomy.TermGroup",
47
+ "_ObjectIdentity_": "5522b1a0-b01a-2000-4160-d04eee2e977f|fec14c62-7c3b-481b-851b-c80d7802b224:gr:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g8=",
48
+ "CreatedDate": "2019-09-03T06:41:32.070Z",
49
+ "Id": "4aa9cd7a-d275-4fda-84b2-b83085dcee0f",
50
+ "LastModifiedDate": "2019-09-03T06:41:32.070Z",
51
+ "Name": "People",
52
+ "Description": "",
53
+ "IsSiteCollectionGroup": false,
54
+ "IsSystemGroup": false
55
+ }
56
+ ]
57
+ ```
58
+
59
+ === "Text"
60
+
61
+ ```text
62
+ Id Name
63
+ ------------------------------------ -----------------------------------------------------------
64
+ 4aa9cd7a-d275-4fda-84b2-b83085dcee0f People
65
+ ```
66
+
67
+ === "CSV"
68
+
69
+ ```csv
70
+ _ObjectType_,_ObjectIdentity_,CreatedDate,Id,LastModifiedDate,Name,Description,IsSiteCollectionGroup,IsSystemGroup
71
+ SP.Taxonomy.TermGroup,7522b1a0-804d-2000-41be-bba084eae72f|fec14c62-7c3b-481b-851b-c80d7802b224:gr:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g8=,2019-09-03T06:41:32.070Z,4aa9cd7a-d275-4fda-84b2-b83085dcee0f,2019-09-03T06:41:32.070Z,People,,,
72
+ ```
73
+
74
+ === "Markdown"
75
+
76
+ ```md
77
+ # spo term group list
78
+
79
+ Date: 5/9/2023
80
+
81
+ ## People (4aa9cd7a-d275-4fda-84b2-b83085dcee0f)
82
+
83
+ Property | Value
84
+ ---------|-------
85
+ \_ObjectType\_ | SP.Taxonomy.TermGroup
86
+ \_ObjectIdentity\_ | 8c22b1a0-200f-2000-3976-694ba2bf8a01\|fec14c62-7c3b-481b-851b-c80d7802b224:gr:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g8=
87
+ CreatedDate | 2019-09-03T06:41:32.070Z
88
+ Id | 4aa9cd7a-d275-4fda-84b2-b83085dcee0f
89
+ LastModifiedDate | 2019-09-03T06:41:32.070Z
90
+ Name | People
91
+ Description |
92
+ IsSiteCollectionGroup | false
93
+ IsSystemGroup | false
94
+ ```
@@ -10,17 +10,20 @@ m365 spo term list [options]
10
10
 
11
11
  ## Options
12
12
 
13
+ `-u, --webUrl [webUrl]`
14
+ : If specified, allows you to list terms 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 where the term set is located. Specify `termGroupId` or `termGroupName` but not both
17
+ : ID of the term group where the term set is located. Specify `termGroupId` or `termGroupName` but not both.
15
18
 
16
19
  `--termGroupName [termGroupName]`
17
- : Name of the term group where the term set is located. Specify `termGroupId` or `termGroupName` but not both
20
+ : Name of the term group where the term set is located. Specify `termGroupId` or `termGroupName` but not both.
18
21
 
19
22
  `--termSetId [termSetId]`
20
- : ID of the term set for which to retrieve terms. Specify `termSetId` or `termSetName` but not both
23
+ : ID of the term set for which to retrieve terms. Specify `termSetId` or `termSetName` but not both.
21
24
 
22
25
  `--termSetName [termSetName]`
23
- : Name of the term set for which to retrieve terms. Specify `termSetId` or `termSetName` but not both
26
+ : Name of the term set for which to retrieve terms. Specify `termSetId` or `termSetName` but not both.
24
27
 
25
28
  `--includeChildTerms`
26
29
  : If specified, child terms are loaded as well.
@@ -30,23 +33,31 @@ m365 spo term list [options]
30
33
  ## Remarks
31
34
 
32
35
  !!! important
33
- To use this command you have to have permissions to access the tenant admin site.
36
+ To use this command without the --webUrl option you have to have permissions to access the tenant admin site.
37
+
38
+ 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 terms from the tenant term store as well as terms from the sitecollection term store.
34
39
 
35
40
  ## Examples
36
41
 
37
- List taxonomy terms from the term group and term set with the given name
42
+ List taxonomy terms from the specified sitecollection, the term group and term set with the given name
43
+
44
+ ```sh
45
+ m365 spo term list --webUrl https://contoso.sharepoint.com/sites/project-x --termGroupName PnPTermSets --termSetName PnP-Organizations
46
+ ```
47
+
48
+ List taxonomy terms from the term group and term set with the given name.
38
49
 
39
50
  ```sh
40
51
  m365 spo term list --termGroupName PnPTermSets --termSetName PnP-Organizations
41
52
  ```
42
53
 
43
- List taxonomy terms from the term group and term set with the given ID
54
+ List taxonomy terms from the term group and term set with the given ID.
44
55
 
45
56
  ```sh
46
57
  m365 spo term list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termSetId 0e8f395e-ff58-4d45-9ff7-e331ab728bec
47
58
  ```
48
59
 
49
- List taxonomy terms from the term group and term set with the given ID including child terms if any are found
60
+ List taxonomy terms from the term group and term set with the given ID including child terms if any are found.
50
61
 
51
62
  ```sh
52
63
  m365 spo term list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termSetId 0e8f395e-ff58-4d45-9ff7-e331ab728bec --includeChildTerms
@@ -104,6 +115,37 @@ m365 spo term list --termGroupId 0e8f395e-ff58-4d45-9ff7-e331ab728beb --termSetI
104
115
  c387e91c-b553-4b92-886b-9af717cd73b0,Financing
105
116
  ```
106
117
 
118
+ === "Markdown"
119
+
120
+ ```md
121
+ # spo term list --termGroupName "PnPTermSets" --termSetName "PnP-Organizations"
122
+
123
+ Date: 5/8/2023
124
+
125
+ ## Financing (c387e91c-b553-4b92-886b-9af717cd73b0)
126
+
127
+ Property | Value
128
+ ---------|-------
129
+ \_ObjectType\_ | SP.Taxonomy.Term
130
+ \_ObjectIdentity\_ | b6d6b0a0-50c8-2000-41be-bd745120140b\|fec14c62-7c3b-481b-851b-c80d7802b224:te:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g/qydiOUnAdTKTXucEL/+pvpnFcKyvXqEmjv9gGNthbRA==
131
+ CreatedDate | 2021-07-07T09:42:02.283Z
132
+ Id | c387e91c-b553-4b92-886b-9af717cd73b0
133
+ LastModifiedDate | 2021-07-07T09:42:02.283Z
134
+ Name | Financing
135
+ IsAvailableForTagging | true
136
+ Owner | NT Service\SPTimerV4
137
+ Description |
138
+ IsDeprecated | false
139
+ IsKeyword | false
140
+ IsPinned | false
141
+ IsPinnedRoot | false
142
+ IsReused | false
143
+ IsRoot | true
144
+ IsSourceTerm | true
145
+ PathOfTerm | Financing
146
+ TermsCount | 0
147
+ ```
148
+
107
149
  ### `includeChildTerms` response
108
150
 
109
151
  When we make use of the option `includeChildTerms` the response will differ.
@@ -180,3 +222,33 @@ When we make use of the option `includeChildTerms` the response will differ.
180
222
  c387e91c-b553-4b92-886b-9af717cd73b0,Financing,079b9c7f-9f49-421b-b1e9-83b908e0d9d4
181
223
  ```
182
224
 
225
+ === "Markdown"
226
+
227
+ ```md
228
+ # spo term list --termGroupName "PnPTermSets" --termSetName "PnP-Organizations" --includeChildTerms "true"
229
+
230
+ Date: 5/8/2023
231
+
232
+ ## Financing (c387e91c-b553-4b92-886b-9af717cd73b0)
233
+
234
+ Property | Value
235
+ ---------|-------
236
+ \_ObjectType\_ | SP.Taxonomy.Term
237
+ \_ObjectIdentity\_ | b6d6b0a0-50c8-2000-41be-bd745120140b\|fec14c62-7c3b-481b-851b-c80d7802b224:te:aCf0Cz4D9UOS7+b/OlUY5XrNqUp10tpPhLK4MIXc7g/qydiOUnAdTKTXucEL/+pvpnFcKyvXqEmjv9gGNthbRA==
238
+ CreatedDate | 2021-07-07T09:42:02.283Z
239
+ Id | c387e91c-b553-4b92-886b-9af717cd73b0
240
+ LastModifiedDate | 2021-07-07T09:42:02.283Z
241
+ Name | Financing
242
+ IsAvailableForTagging | true
243
+ Owner | NT Service\SPTimerV4
244
+ Description |
245
+ IsDeprecated | false
246
+ IsKeyword | false
247
+ IsPinned | false
248
+ IsPinnedRoot | false
249
+ IsReused | false
250
+ IsRoot | true
251
+ IsSourceTerm | true
252
+ PathOfTerm | Financing
253
+ TermsCount | 0
254
+ ```