@pnp/cli-microsoft365 6.3.0-beta.c3dc921 → 6.3.0-beta.cefe20e

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 (259) hide show
  1. package/.eslintrc.js +8 -0
  2. package/dist/Auth.js +0 -18
  3. package/dist/Command.js +12 -1
  4. package/dist/appInsights.js +2 -1
  5. package/dist/cli/Cli.js +74 -3
  6. package/dist/m365/aad/commands/group/group-list.js +2 -1
  7. package/dist/m365/aad/commands/license/license-list.js +41 -0
  8. package/dist/m365/aad/commands/user/user-add.js +223 -0
  9. package/dist/m365/aad/commands/user/user-license-add.js +88 -0
  10. package/dist/m365/aad/commands/user/user-license-list.js +99 -0
  11. package/dist/m365/aad/commands/user/user-license-remove.js +114 -0
  12. package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +103 -0
  13. package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
  14. package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
  15. package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +77 -0
  16. package/dist/m365/aad/commands/user/user-remove.js +107 -0
  17. package/dist/m365/aad/commands.js +10 -0
  18. package/dist/m365/base/O365MgmtCommand.js +10 -0
  19. package/dist/m365/context/commands/option/option-list.js +54 -0
  20. package/dist/m365/context/commands.js +1 -0
  21. package/dist/m365/file/commands/convert/convert-pdf.js +7 -6
  22. package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
  23. package/dist/m365/flow/commands/environment/environment-get.js +26 -11
  24. package/dist/m365/flow/commands/run/run-list.js +55 -3
  25. package/dist/m365/graph/commands/changelog/changelog-list.js +3 -2
  26. package/dist/m365/onenote/commands/notebook/notebook-list.js +50 -53
  27. package/dist/m365/onenote/commands/page/page-list.js +2 -16
  28. package/dist/m365/outlook/commands/mail/mail-send.js +3 -2
  29. package/dist/m365/outlook/commands/message/message-get.js +4 -3
  30. package/dist/m365/pa/commands/environment/environment-get.js +13 -5
  31. package/dist/m365/planner/commands/plan/plan-add.js +20 -6
  32. package/dist/m365/planner/commands/plan/plan-get.js +40 -26
  33. package/dist/m365/planner/commands/plan/plan-list.js +24 -14
  34. package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
  35. package/dist/m365/planner/commands/plan/plan-set.js +21 -10
  36. package/dist/m365/planner/commands/roster/roster-add.js +47 -0
  37. package/dist/m365/planner/commands/roster/roster-get.js +61 -0
  38. package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
  39. package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
  40. package/dist/m365/planner/commands/roster/roster-member-remove.js +140 -0
  41. package/dist/m365/planner/commands/roster/roster-remove.js +88 -0
  42. package/dist/m365/planner/commands/task/task-add.js +3 -0
  43. package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -1
  44. package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
  45. package/dist/m365/planner/commands.js +6 -0
  46. package/dist/m365/pp/commands/environment/environment-get.js +18 -9
  47. package/dist/m365/pp/commands/solution/solution-get.js +2 -1
  48. package/dist/m365/pp/commands/solution/solution-list.js +2 -1
  49. package/dist/m365/purview/commands/auditlog/auditlog-list.js +205 -0
  50. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +75 -0
  51. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +46 -0
  52. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +97 -0
  53. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +77 -0
  54. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +75 -0
  55. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +43 -0
  56. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +97 -0
  57. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +90 -0
  58. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +5 -0
  59. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +5 -0
  60. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
  61. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +5 -0
  62. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +11 -1
  63. package/dist/m365/purview/commands.js +9 -0
  64. package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +3 -0
  65. package/dist/m365/spfx/commands/project/project-permissions-grant.js +81 -0
  66. package/dist/m365/spfx/commands.js +3 -2
  67. package/dist/m365/spo/commands/app/app-add.js +2 -1
  68. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
  69. package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
  70. package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
  71. package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
  72. package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
  73. package/dist/m365/spo/commands/file/file-move.js +0 -2
  74. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -1
  75. package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
  76. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
  77. package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
  78. package/dist/m365/spo/commands/file/file-sharinglink-list.js +9 -29
  79. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
  80. package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
  81. package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
  82. package/dist/m365/spo/commands/folder/folder-move.js +0 -2
  83. package/dist/m365/spo/commands/group/group-list.js +2 -1
  84. package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
  85. package/dist/m365/spo/commands/listitem/listitem-add.js +2 -1
  86. package/dist/m365/spo/commands/listitem/listitem-list.js +2 -1
  87. package/dist/m365/spo/commands/navigation/navigation-node-add.js +17 -3
  88. package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
  89. package/dist/m365/spo/commands/navigation/navigation-node-list.js +4 -7
  90. package/dist/m365/spo/commands/navigation/navigation-node-set.js +118 -0
  91. package/dist/m365/spo/commands/page/page-column-get.js +2 -1
  92. package/dist/m365/spo/commands/page/page-column-list.js +2 -1
  93. package/dist/m365/spo/commands/page/page-section-get.js +2 -1
  94. package/dist/m365/spo/commands/page/page-section-list.js +2 -1
  95. package/dist/m365/spo/commands/site/site-add.js +0 -3
  96. package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -14
  97. package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -14
  98. package/dist/m365/spo/commands/site/site-apppermission-list.js +2 -14
  99. package/dist/m365/spo/commands/site/site-apppermission-remove.js +2 -14
  100. package/dist/m365/spo/commands/site/site-apppermission-set.js +2 -14
  101. package/dist/m365/spo/commands/site/site-remove.js +0 -3
  102. package/dist/m365/spo/commands/site/site-set.js +0 -2
  103. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -0
  104. package/dist/m365/spo/commands/spo-search.js +2 -1
  105. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +179 -0
  106. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
  107. package/dist/m365/spo/commands/term/term-list.js +2 -1
  108. package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
  109. package/dist/m365/spo/commands/web/web-set.js +11 -4
  110. package/dist/m365/spo/commands.js +6 -0
  111. package/dist/m365/teams/commands/chat/chat-list.js +4 -4
  112. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +5 -5
  113. package/dist/m365/teams/commands/meeting/meeting-get.js +5 -5
  114. package/dist/m365/teams/commands/meeting/meeting-list.js +5 -4
  115. package/dist/m365/teams/commands/team/team-add.js +3 -8
  116. package/dist/m365/teams/commands/team/team-app-list.js +1 -1
  117. package/dist/m365/teams/commands/user/user-app-list.js +2 -1
  118. package/dist/m365/todo/commands/task/task-get.js +2 -1
  119. package/dist/m365/todo/commands/task/task-list.js +2 -1
  120. package/dist/m365/yammer/commands/yammer-search.js +2 -1
  121. package/dist/utils/aadUser.js +38 -0
  122. package/dist/utils/accessToken.js +1 -1
  123. package/dist/utils/planner.js +16 -5
  124. package/dist/utils/session.js +18 -0
  125. package/dist/utils/spo.js +119 -12
  126. package/docs/docs/cmd/aad/app/app-list.md +3 -0
  127. package/docs/docs/cmd/aad/license/license-list.md +87 -0
  128. package/docs/docs/cmd/aad/user/user-add.md +168 -0
  129. package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
  130. package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
  131. package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
  132. package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +42 -0
  133. package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
  134. package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
  135. package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
  136. package/docs/docs/cmd/aad/user/user-remove.md +51 -0
  137. package/docs/docs/cmd/aad/user/user-set.md +2 -2
  138. package/docs/docs/cmd/context/option/option-list.md +63 -0
  139. package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
  140. package/docs/docs/cmd/flow/run/run-list.md +21 -0
  141. package/docs/docs/cmd/login.md +26 -0
  142. package/docs/docs/cmd/logout.md +4 -0
  143. package/docs/docs/cmd/pa/app/app-get.md +24 -0
  144. package/docs/docs/cmd/pa/app/app-list.md +21 -0
  145. package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
  146. package/docs/docs/cmd/pa/environment/environment-get.md +26 -2
  147. package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
  148. package/docs/docs/cmd/planner/plan/plan-add.md +17 -6
  149. package/docs/docs/cmd/planner/plan/plan-get.md +21 -7
  150. package/docs/docs/cmd/planner/plan/plan-list.md +16 -2
  151. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  152. package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
  153. package/docs/docs/cmd/planner/roster/roster-add.md +60 -0
  154. package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
  155. package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
  156. package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
  157. package/docs/docs/cmd/planner/roster/roster-member-remove.md +51 -0
  158. package/docs/docs/cmd/planner/roster/roster-remove.md +48 -0
  159. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
  160. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
  161. package/docs/docs/cmd/pp/card/card-clone.md +12 -0
  162. package/docs/docs/cmd/pp/card/card-get.md +49 -0
  163. package/docs/docs/cmd/pp/card/card-list.md +49 -0
  164. package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
  165. package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
  166. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
  167. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
  168. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
  169. package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
  170. package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
  171. package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
  172. package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
  173. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
  174. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
  175. package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
  176. package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
  177. package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
  178. package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
  179. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
  180. package/docs/docs/cmd/purview/auditlog/auditlog-list.md +123 -0
  181. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +132 -0
  182. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +107 -0
  183. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +45 -0
  184. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +106 -0
  185. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +103 -0
  186. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +97 -0
  187. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +43 -0
  188. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +43 -0
  189. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +3 -0
  190. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +3 -0
  191. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +3 -0
  192. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +3 -0
  193. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +3 -0
  194. package/docs/docs/cmd/request.md +74 -0
  195. package/docs/docs/cmd/spfx/project/project-permissions-grant.md +65 -0
  196. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
  197. package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
  198. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
  199. package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
  200. package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
  201. package/docs/docs/cmd/spo/homesite/homesite-remove.md +8 -2
  202. package/docs/docs/cmd/spo/homesite/homesite-set.md +8 -2
  203. package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
  204. package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
  205. package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
  206. package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
  207. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
  208. package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
  209. package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
  210. package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
  211. package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
  212. package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
  213. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +7 -1
  214. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +9 -3
  215. package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +8 -2
  216. package/docs/docs/cmd/spo/list/list-add.md +123 -57
  217. package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
  218. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
  219. package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
  220. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
  221. package/docs/docs/cmd/spo/list/list-get.md +70 -4
  222. package/docs/docs/cmd/spo/list/list-list.md +70 -2
  223. package/docs/docs/cmd/spo/list/list-remove.md +6 -6
  224. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
  225. package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
  226. package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
  227. package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
  228. package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
  229. package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
  230. package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
  231. package/docs/docs/cmd/spo/list/list-set.md +61 -61
  232. package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
  233. package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
  234. package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
  235. package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
  236. package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
  237. package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
  238. package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
  239. package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
  240. package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
  241. package/docs/docs/cmd/spo/listitem/listitem-add.md +29 -0
  242. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +19 -4
  243. package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
  244. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +8 -2
  245. package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
  246. package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
  247. package/docs/docs/cmd/spo/listitem/listitem-set.md +30 -0
  248. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +40 -3
  249. package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
  250. package/docs/docs/cmd/spo/navigation/navigation-node-list.md +30 -0
  251. package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +1 -1
  252. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +59 -0
  253. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
  254. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +59 -0
  255. package/docs/docs/cmd/spo/web/web-set.md +9 -0
  256. package/docs/docs/cmd/status.md +46 -0
  257. package/docs/docs/cmd/version.md +26 -0
  258. package/npm-shrinkwrap.json +912 -876
  259. package/package.json +13 -12
@@ -121,3 +121,64 @@ m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x
121
121
  Id,Title,DefaultView,Hidden,BaseViewId
122
122
  3cd2e934-f482-4d4a-a9b8-a13b49b3d226,All events,,,1
123
123
  ```
124
+
125
+ === "Markdown"
126
+
127
+ ```md
128
+ # spo list view list --webUrl "https://contoso.sharepoint.com" --listTitle "My List"
129
+
130
+ Date: 2/20/2023
131
+
132
+ ## All Items (6275ed5c-8e4f-4e81-8060-2d9162b29952)
133
+
134
+ Property | Value
135
+ ---------|-------
136
+ Aggregations | null
137
+ AggregationsStatus | null
138
+ AssociatedContentTypeId | null
139
+ BaseViewId | 1
140
+ CalendarViewStyles | null
141
+ ColumnWidth | null
142
+ ContentTypeId | {"StringValue":"0x"}
143
+ CustomFormatter |
144
+ CustomOrder | null
145
+ DefaultView | true
146
+ DefaultViewForContentType | false
147
+ EditorModified | false
148
+ Formats | null
149
+ GridLayout | null
150
+ Hidden | false
151
+ HtmlSchemaXml | <View Name="{6275ED5C-8E4F-4E81-8060-2D9162B29952}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/teams/AllStars/Lists/My List/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/\_layouts/15/images/generic.png?rev=47"><Query /><ViewFields><FieldRef Name="LinkTitle" /><FieldRef Name="FieldName1" /></ViewFields><Toolbar Type="Standard" /><CustomFormatter /><XslLink Default="TRUE">main.xsl</XslLink><JSLink>clienttemplates.js</JSLink><RowLimit Paged="TRUE">30</RowLimit><ParameterBindings><ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY\_LIST)" /><ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY\_DEFAULT)" /></ParameterBindings></View>
152
+ Id | 6275ed5c-8e4f-4e81-8060-2d9162b29952
153
+ ImageUrl | /\_layouts/15/images/generic.png?rev=47
154
+ IncludeRootFolder | false
155
+ ViewJoins | null
156
+ JSLink | clienttemplates.js
157
+ ListViewXml | <View Name="{6275ED5C-8E4F-4E81-8060-2D9162B29952}" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" Type="HTML" DisplayName="All Items" Url="/teams/AllStars/Lists/My List/AllItems.aspx" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/\_layouts/15/images/generic.png?rev=47" ><Query /><ViewFields><FieldRef Name="LinkTitle" /><FieldRef Name="FieldName1" /></ViewFields><RowLimit Paged="TRUE">30</RowLimit><JSLink>clienttemplates.js</JSLink><XslLink Default="TRUE">main.xsl</XslLink><CustomFormatter /><Toolbar Type="Standard"/></View>
158
+ Method | null
159
+ MobileDefaultView | true
160
+ MobileView | true
161
+ ModerationType | null
162
+ NewDocumentTemplates | null
163
+ OrderedView | false
164
+ Paged | true
165
+ PersonalView | false
166
+ ViewProjectedFields | null
167
+ ViewQuery |
168
+ ReadOnlyView | false
169
+ RequiresClientIntegration | false
170
+ RowLimit | 30
171
+ Scope | 0
172
+ ServerRelativePath | {"DecodedUrl":"/teams/AllStars/Lists/My List/AllItems.aspx"}
173
+ ServerRelativeUrl | /teams/AllStars/Lists/My List/AllItems.aspx
174
+ StyleId | null
175
+ TabularView | true
176
+ Threaded | false
177
+ Title | All Items
178
+ Toolbar |
179
+ ToolbarTemplateName | null
180
+ ViewType | HTML
181
+ ViewData | null
182
+ ViewType2 | null
183
+ VisualizationInfo | null
184
+ ```
@@ -19,7 +19,7 @@ m365 spo list view set [options]
19
19
  `--listTitle [listTitle]`
20
20
  : Title of the list where the view is located. Specify either `listId`, `listTitle`, or `listUrl`.
21
21
 
22
- `--listUrl [listUrl]`
22
+ `--listUrl [listUrl]`
23
23
  : Server- or site-relative URL of the list. Specify either `listId` , `listTitle` or `listUrl`.
24
24
 
25
25
  `--id [id]`
@@ -86,3 +86,22 @@ m365 spo list webhook add --webUrl https://contoso.sharepoint.com/sites/ninja --
86
86
  clientState,expirationDateTime,id,notificationUrl,resource,resourceData
87
87
  random client state,2019-05-29T23:00:00.000Z,ef69c37d-cb0e-46d9-9758-5ebdeffd6959,https://contoso-funcions.azurewebsites.net/webhook,0987cfd9-f02c-479b-9fb4-3f0550462848,
88
88
  ```
89
+
90
+ === "Markdown"
91
+
92
+ ```md
93
+ # spo list webhook add --webUrl "https://contoso.sharepoint.com/sites/ninja" --listUrl "/sites/ninja/Documents" --notificationUrl "https://contoso-funcions.azurewebsites.net/webhook" --expirationDateTime "2019-01-21"
94
+
95
+ Date: 2/20/2023
96
+
97
+ ## ef69c37d-cb0e-46d9-9758-5ebdeffd6959
98
+
99
+ Property | Value
100
+ ---------|-------
101
+ clientState | random client state
102
+ expirationDateTime | 2019-05-29T23:00:00.000Z
103
+ id | ef69c37d-cb0e-46d9-9758-5ebdeffd6959
104
+ notificationUrl | https://contoso-funcions.azurewebsites.net/webhook
105
+ resource | 0987cfd9-f02c-479b-9fb4-3f0550462848
106
+ resourceData | null
107
+ ```
@@ -83,3 +83,22 @@ m365 spo list webhook get --webUrl https://contoso.sharepoint.com/sites/project-
83
83
  clientState,expirationDateTime,id,notificationUrl,resource,resourceData
84
84
  system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,b8838bbb-9ddb-44fb-9016-0aacb9e02b77,https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76,97d19285-b8a6-4c7f-9c6c-d6b850a6561a,
85
85
  ```
86
+
87
+ === "Markdown"
88
+
89
+ ```md
90
+ # spo list webhook get --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents" --id "b8838bbb-9ddb-44fb-9016-0aacb9e02b77"
91
+
92
+ Date: 2/20/2023
93
+
94
+ ## b8838bbb-9ddb-44fb-9016-0aacb9e02b77
95
+
96
+ Property | Value
97
+ ---------|-------
98
+ clientState| system-managed:8082D436-D8DA-458D-96AD-34C902B73F37
99
+ expirationDateTime| 2022-11-16T20:25:12.2735056Z
100
+ id| b8838bbb-9ddb-44fb-9016-0aacb9e02b77
101
+ notificationUrl| https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76
102
+ resource| 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
103
+ resourceData| null
104
+ ```
@@ -75,3 +75,22 @@ m365 spo list webhook list --webUrl https://contoso.sharepoint.com/sites/project
75
75
  id,clientState,expirationDateTime,resource
76
76
  b8838bbb-9ddb-44fb-9016-0aacb9e02b77,system-managed:8082D436-D8DA-458D-96AD-34C902B73F37,2022-11-16T20:25:12.2735056Z,97d19285-b8a6-4c7f-9c6c-d6b850a6561a
77
77
  ```
78
+
79
+ === "Markdown"
80
+
81
+ ```md
82
+ # spo list webhook list --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents"
83
+
84
+ Date: 2/20/2023
85
+
86
+ ## b8838bbb-9ddb-44fb-9016-0aacb9e02b77
87
+
88
+ Property | Value
89
+ ---------|-------
90
+ clientState| system-managed:8082D436-D8DA-458D-96AD-34C902B73F37
91
+ expirationDateTime| 2022-11-16T20:25:12.2735056Z
92
+ id| b8838bbb-9ddb-44fb-9016-0aacb9e02b77
93
+ notificationUrl| https://northeurope1-0.pushnp.svc.ms/notifications?token=1e263e06-4bea-4db1-9f9f-5c8f713eef76
94
+ resource| 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
95
+ resourceData| null
96
+ ```
@@ -132,3 +132,32 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
132
132
  FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
133
133
  0,235,,,235,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
134
134
  ```
135
+
136
+ === "Markdown"
137
+
138
+ ```md
139
+ # spo listitem add --contentType "Item" --listTitle "My List" --webUrl "https://contoso.sharepoint.com/sites/project-x" --Title "Test"
140
+
141
+ Date: 2/20/2023
142
+
143
+ ## Test (234)
144
+
145
+ Property | Value
146
+ ---------|-------
147
+ FileSystemObjectType | 0
148
+ Id | 234
149
+ ServerRedirectedEmbedUri | null
150
+ ServerRedirectedEmbedUrl |
151
+ ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
152
+ Title | Test
153
+ ComplianceAssetId | null
154
+ FieldName1 | null
155
+ ID | 234
156
+ Modified | 2022-11-16T20:55:45Z
157
+ Created | 2022-11-16T20:55:45Z
158
+ AuthorId | 10
159
+ EditorId | 10
160
+ OData\_\_UIVersionString | 1.0
161
+ Attachments | false
162
+ GUID | 352e3855-56fa-4b68-b6be-4644d6adf204
163
+ ```
@@ -11,19 +11,19 @@ m365 spo listitem attachment list [options]
11
11
  ## Options
12
12
 
13
13
  `-u, --webUrl <webUrl>`
14
- URL of the site from which the item should be retrieved
14
+ : URL of the site from which the item should be retrieved
15
15
 
16
16
  `--listId [listId]`
17
- : ID of the list where the item should be added. Specify either `listTitle`, `listId` or `listUrl`
17
+ : ID of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl`
18
18
 
19
19
  `--listTitle [listTitle]`
20
- : Title of the list where the item should be added. Specify either `listTitle`, `listId` or `listUrl`
20
+ : Title of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl`
21
21
 
22
22
  `--listUrl [listUrl]`
23
23
  : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
24
24
 
25
25
  `--itemId <itemId>`
26
- ID of the list item to in question
26
+ : ID of the list item to in question
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
@@ -80,3 +80,18 @@ m365 spo listitem attachment list --webUrl https://contoso.sharepoint.com/sites/
80
80
  FileName,ServerRelativeUrl
81
81
  DummyDocument.docx,/Lists/Test/Attachments/236/DummyDocument.docx
82
82
  ```
83
+
84
+ === "Markdown"
85
+
86
+ ```md
87
+ # spo listitem attachment list --webUrl "https://contoso.sharepoint.com" --listTitle "Test" --itemId "236"
88
+
89
+ Date: 2/20/2023
90
+
91
+ Property | Value
92
+ ---------|-------
93
+ FileName | DummyDocument.docx
94
+ FileNameAsPath | {"DecodedUrl":"DummyDocument.docx"}
95
+ ServerRelativePath | {"DecodedUrl":"/Lists/Test/Attachments/236/DummyDocument.docx"}
96
+ ServerRelativeUrl | /Lists/Test/Attachments/236/DummyDocument.docx
97
+ ```
@@ -118,6 +118,34 @@ m365 spo listitem get --listTitle "Demo List" --id 147 --webUrl https://contoso.
118
118
  0,147,,,0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126,Demo Item,2022-10-30T10:55:37Z,2022-10-30T10:55:22Z,10,10,3.0,,87f3138d-fac3-4126-97c0-543e55672261,
119
119
  ```
120
120
 
121
+ === "Markdown"
122
+
123
+ ```md
124
+ # spo listitem get --webUrl "https://contoso.sharepoint.com" --listTitle "My List" --id "147"
125
+
126
+ Date: 2/20/2023
127
+
128
+ ## Demo Item (147)
129
+
130
+ Property | Value
131
+ ---------|-------
132
+ FileSystemObjectType | 0
133
+ Id | 147
134
+ ServerRedirectedEmbedUri | null
135
+ ServerRedirectedEmbedUrl |
136
+ ContentTypeId | 0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126
137
+ Title | Demo Item
138
+ ComplianceAssetId | null
139
+ FieldName1 | null
140
+ Modified | 2022-10-30T10:55:37Z
141
+ Created | 2022-10-30T10:55:22Z
142
+ AuthorId | 10
143
+ EditorId | 10
144
+ OData\_\_UIVersionString | 3.0
145
+ Attachments | false
146
+ GUID | 87f3138d-fac3-4126-97c0-543e55672261
147
+ ```
148
+
121
149
  ### `withPermissions` response
122
150
 
123
151
  When we make use of the option `withPermissions` the response will differ.
@@ -242,3 +270,32 @@ When we make use of the option `withPermissions` the response will differ.
242
270
  FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,RoleAssignments
243
271
  0,147,,,0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126,Demo Item,2022-10-30T10:55:37Z,2022-10-30T10:55:22Z,10,10,3.0,,87f3138d-fac3-4126-97c0-543e55672261,"[{""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}]"
244
272
  ```
273
+
274
+ === "Markdown"
275
+
276
+ ```md
277
+ # spo listitem get --webUrl "https://contoso.sharepoint.com" --listTitle "My List" --id "147" --withPermissions "true"
278
+
279
+ Date: 2/20/2023
280
+
281
+ ## Demo Item (1)
282
+
283
+ Property | Value
284
+ ---------|-------
285
+ FileSystemObjectType | 0
286
+ Id | 147
287
+ ServerRedirectedEmbedUri | null
288
+ ServerRedirectedEmbedUrl |
289
+ ContentTypeId | 0x010078BC2C6F12F0DB41BA554210A2BFA81600A320A11ABE6E90468525ECC747660126
290
+ Title | Demo Item
291
+ ComplianceAssetId | null
292
+ FieldName1 | null
293
+ Modified | 2022-10-30T10:55:37Z
294
+ Created | 2022-10-30T10:55:22Z
295
+ AuthorId | 10
296
+ EditorId | 10
297
+ OData\_\_UIVersionString | 3.0
298
+ Attachments | false
299
+ GUID | 87f3138d-fac3-4126-97c0-543e55672261
300
+ RoleAssignments | [{"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}]
301
+ ```
@@ -17,10 +17,10 @@ m365 spo listitem isrecord [options]
17
17
  : The ID of the list item to check if it is a record
18
18
 
19
19
  `-l, --listId [listId]`
20
- : ID of the list where the item should be added. Specify either `listTitle`, `listId` or `listUrl`
20
+ : ID of the list where the item should be checked. Specify either `listTitle`, `listId` or `listUrl`
21
21
 
22
22
  `-t, --listTitle [listTitle]`
23
- : Title of the list where the item should be added. Specify either `listTitle`, `listId` or `listUrl`
23
+ : Title of the list where the item should be checked. Specify either `listTitle`, `listId` or `listUrl`
24
24
 
25
25
  `--listUrl [listUrl]`
26
26
  : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
@@ -66,3 +66,9 @@ m365 spo listitem isrecord --webUrl https://contoso.sharepoint.com/sites/project
66
66
  ```csv
67
67
  false
68
68
  ```
69
+
70
+ === "Markdown"
71
+
72
+ ```md
73
+ false
74
+ ```
@@ -135,3 +135,31 @@ m365 spo listitem list --listUrl /sites/project-x/documents --webUrl https://con
135
135
  FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
136
136
  0,236,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T21:00:03Z,2022-11-16T20:56:31Z,10,10,6.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
137
137
  ```
138
+
139
+ === "Markdown"
140
+
141
+ ```md
142
+ # spo listitem list --webUrl "https://contoso.sharepoint.com" --listTitle "My List"
143
+
144
+ Date: 2/20/2023
145
+
146
+ ## Demo Item (147)
147
+
148
+ Property | Value
149
+ ---------|-------
150
+ FileSystemObjectType | 0
151
+ Id | 236
152
+ ServerRedirectedEmbedUri | null
153
+ ServerRedirectedEmbedUrl |
154
+ ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
155
+ Title | Test
156
+ ComplianceAssetId | null
157
+ Modified | 2022-11-16T21:00:03Z
158
+ Created | 2022-11-16T20:56:31Z
159
+ AuthorId | 10
160
+ EditorId | 10
161
+ OData\_\_UIVersionString | 6.0
162
+ Attachments | false
163
+ GUID | cac57513-e870-4e7a-9f23-f4ea10e14f4e
164
+ OData__vti_ItemDeclaredRecord | null
165
+ ```
@@ -84,3 +84,18 @@ m365 spo listitem record declare --webUrl https://contoso.sharepoint.com/sites/p
84
84
  SchemaVersion,LibraryVersion,ErrorInfo,TraceCorrelationId
85
85
  15.0.0.0,16.0.23102.12004,,0d4779a0-609c-5000-843d-c98e4764c937
86
86
  ```
87
+
88
+ === "Markdown"
89
+
90
+ ```md
91
+ # spo listitem record declare --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Demo List" --listItemId "1" --date "2012-03-14"
92
+
93
+ Date: 2/20/2023
94
+
95
+ Property | Value
96
+ ---------|-------
97
+ SchemaVersion | 15.0.0.0
98
+ LibraryVersion | 16.0.23102.12004
99
+ ErrorInfo | null
100
+ TraceCorrelationId | 064779a0-d05b-5000-843d-c36803e58f12
101
+ ```
@@ -129,3 +129,33 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
129
129
  FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
130
130
  0,236,,,236,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
131
131
  ```
132
+
133
+ === "Markdown"
134
+
135
+ ```md
136
+ # spo listitem set --listTitle "My List" --id "236" --webUrl "https://contoso.sharepoint.com" --Title "Updated Title"
137
+
138
+ Date: 2/20/2023
139
+
140
+ ## Updated Title (236)
141
+
142
+ Property | Value
143
+ ---------|-------
144
+ FileSystemObjectType | 0
145
+ Id | 236
146
+ ServerRedirectedEmbedUri | null
147
+ ServerRedirectedEmbedUrl |
148
+ ContentTypeId | 0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803
149
+ Title | Updated Title
150
+ ComplianceAssetId | null
151
+ FieldName1 | null
152
+ ID | 236
153
+ Modified | 2022-11-16T21:10:06Z
154
+ Created | 2022-11-16T20:56:31Z
155
+ AuthorId | 10
156
+ EditorId | 10
157
+ OData\_\_UIVersionString | 7.0
158
+ Attachments | true
159
+ GUID | cac57513-e870-4e7a-9f23-f4ea10e14f4e
160
+ OData__vti_ItemDeclaredRecord | null
161
+ ```
@@ -28,8 +28,15 @@ m365 spo navigation node add [options]
28
28
  `--isExternal`
29
29
  : Set, if the navigation node points to an external URL.
30
30
 
31
+ `--audienceIds [audienceIds]`
32
+ : Comma separated list of group IDs that will be used for audience targeting. The limit is 10 ids per navigation node.
33
+
31
34
  --8<-- "docs/cmd/_global.md"
32
35
 
36
+ ## Remarks
37
+
38
+ To enable/disable audience targeting for the navigation bar, use the [`spo web set`](../web/web-set.md) command.
39
+
33
40
  ## Examples
34
41
 
35
42
  Add a navigation node pointing to a SharePoint page to the top navigation
@@ -50,13 +57,21 @@ Add a navigation node below an existing node
50
57
  m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --parentNodeId 2010 --title About --url /sites/team-s/sitepages/about.aspx
51
58
  ```
52
59
 
60
+ Add a navigation node to the top navigation which is audience targetted
61
+
62
+ ```sh
63
+ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location TopNavigationBar --title About --url /sites/team-s/sitepages/about.aspx --audienceIds "7aa4a1ca-4035-4f2f-bac7-7beada59b5ba,4bbf236f-a131-4019-b4a2-315902fcfa3a"
64
+ ```
65
+
53
66
  ## Response
54
67
 
55
68
  === "JSON"
56
69
 
57
70
  ```json
58
71
  {
59
- "AudienceIds": null,
72
+ "AudienceIds": [
73
+ "7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"
74
+ ],
60
75
  "CurrentLCID": 1033,
61
76
  "Id": 2030,
62
77
  "IsDocLib": true,
@@ -71,7 +86,7 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
71
86
  === "Text"
72
87
 
73
88
  ```text
74
- AudienceIds : null
89
+ AudienceIds : ["7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"]
75
90
  CurrentLCID : 1033
76
91
  Id : 2031
77
92
  IsDocLib : true
@@ -86,5 +101,27 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
86
101
 
87
102
  ```csv
88
103
  AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
89
- ,1033,2032,1,1,1,0,Navigation Link,https://contoso.sharepoint.com
104
+ "[""7aa4a1ca-4035-4f2f-bac7-7beada59b5ba""]",1033,2032,1,1,1,0,Navigation Link,https://contoso.sharepoint.com
105
+ ```
106
+
107
+ === "Markdown"
108
+
109
+ ```md
110
+ # spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/team-a" --location "TopNavigationBar" --title "Navigation Link" --url "https://contoso.sharepoint.com"
111
+
112
+ Date: 2/20/2023
113
+
114
+ ## Navigation Link (2030)
115
+
116
+ Property | Value
117
+ ---------|-------
118
+ AudienceIds | ["7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"]
119
+ CurrentLCID | 1033
120
+ Id | 2030
121
+ IsDocLib | true
122
+ IsExternal | false
123
+ IsVisible | true
124
+ ListTemplateType | 0
125
+ Title | Navigation Link
126
+ Url | https://contoso.sharepoint.com
90
127
  ```
@@ -0,0 +1,91 @@
1
+ # spo navigation node get
2
+
3
+ Gets information about a specific navigation node.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo navigation node get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : Absolute URL of the site.
15
+
16
+ `--id <id>`
17
+ : Id of the navigation node.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ Retrieve information for a specific navigation node.
24
+
25
+ ```sh
26
+ m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/team-a --id 2209
27
+ ```
28
+
29
+ ## Response
30
+
31
+ === "JSON"
32
+
33
+ ```json
34
+ {
35
+ "AudienceIds": [
36
+ "0d718612-8407-4d6b-833c-6891a553354f",
37
+ "f864446f-b4d7-475a-a2ba-1080c6474020"
38
+ ],
39
+ "CurrentLCID": 1033,
40
+ "Id": 2209,
41
+ "IsDocLib": true,
42
+ "IsExternal": false,
43
+ "IsVisible": true,
44
+ "ListTemplateType": 100,
45
+ "Title": "Work Status",
46
+ "Url": "/sites/team-a/Lists/Work Status/AllItems.aspx"
47
+ }
48
+ ```
49
+
50
+ === "Text"
51
+
52
+ ```text
53
+ AudienceIds : ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
54
+ CurrentLCID : 1033
55
+ Id : 2209
56
+ IsDocLib : true
57
+ IsExternal : false
58
+ IsVisible : true
59
+ ListTemplateType: 100
60
+ Title : Work Status
61
+ Url : /sites/team-a/Lists/Work Status/AllItems.aspx
62
+ ```
63
+
64
+ === "CSV"
65
+
66
+ ```csv
67
+ AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
68
+ [""0d718612-8407-4d6b-833c-6891a553354f"", ""f864446f-b4d7-475a-a2ba-1080c6474020""],1033,2209,1,,1,100,Work Status,/sites/team-a/Lists/Work Status/AllItems.aspx
69
+ ```
70
+
71
+ === "Markdown"
72
+
73
+ ```md
74
+ # spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/team-a" --id "2209"
75
+
76
+ Date: 1/29/2023
77
+
78
+ ## Work Status (2209)
79
+
80
+ Property | Value
81
+ ---------|-------
82
+ AudienceIds | ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
83
+ CurrentLCID | 1033
84
+ Id | 2209
85
+ IsDocLib | true
86
+ IsExternal | false
87
+ IsVisible | true
88
+ ListTemplateType | 100
89
+ Title | Work Status
90
+ Url | /sites/team-a/Lists/Work Status/AllItems.aspx
91
+ ```
@@ -39,7 +39,15 @@ m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/team
39
39
  ```json
40
40
  [
41
41
  {
42
+ "AudienceIds": [
43
+ "5786b8e8-c495-4734-b345-756733960730"
44
+ ],
45
+ "CurrentLCID": 1033,
42
46
  "Id": 2032,
47
+ "IsDocLib": true,
48
+ "IsExternal": true,
49
+ "IsVisible": true,
50
+ "ListTemplateType": 0,
43
51
  "Title": "Navigation Link",
44
52
  "Url": "https://contoso.sharepoint.com"
45
53
  }
@@ -60,3 +68,25 @@ m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/team
60
68
  Id,Title,Url
61
69
  2032,Navigation Link,https://contoso.sharepoint.com
62
70
  ```
71
+
72
+ === "Markdown"
73
+
74
+ ```md
75
+ # spo navigation node list --webUrl "https://contoso.sharepoint.com" --location "QuickLaunch"
76
+
77
+ Date: 27/1/2023
78
+
79
+ ## Home (1031)
80
+
81
+ Property | Value
82
+ ---------|-------
83
+ AudienceIds | ["5786b8e8-c495-4734-b345-756733960730"]
84
+ CurrentLCID | 1033
85
+ Id | 2032
86
+ IsDocLib | true
87
+ IsExternal | false
88
+ IsVisible | true
89
+ ListTemplateType | 0
90
+ Title | Navigation Link
91
+ Url | https://contoso.sharepoint.com
92
+ ```
@@ -14,7 +14,7 @@ m365 spo navigation node remove [options]
14
14
  : Absolute URL of the site to which navigation should be modified
15
15
 
16
16
  `-l, --location <location>`
17
- : Navigation type where the node should be added. Available options: `QuickLaunch,TopNavigationBar`
17
+ : Navigation type where the node should be removed. Available options: `QuickLaunch,TopNavigationBar`
18
18
 
19
19
  `-i, --id <id>`
20
20
  : ID of the node to remove