@pnp/cli-microsoft365 6.3.0-beta.fee5cdb → 6.4.0-beta.006c079
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.
- package/.devcontainer/Dockerfile +5 -2
- package/.eslintrc.js +4 -0
- package/Dockerfile +6 -3
- package/README.md +12 -1
- package/dist/Command.js +1 -0
- package/dist/appInsights.js +2 -1
- package/dist/cli/Cli.js +70 -2
- package/dist/m365/aad/commands/license/license-list.js +41 -0
- package/dist/m365/aad/commands/user/user-add.js +223 -0
- package/dist/m365/aad/commands/user/user-get.js +3 -0
- package/dist/m365/aad/commands/user/user-license-add.js +88 -0
- package/dist/m365/aad/commands/user/user-license-list.js +99 -0
- package/dist/m365/aad/commands/user/user-license-remove.js +115 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +1 -1
- package/dist/m365/aad/commands/user/user-recyclebinitem-list.js +41 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-restore.js +70 -0
- package/dist/m365/aad/commands/user/user-remove.js +107 -0
- package/dist/m365/aad/commands/user/user-set.js +3 -0
- package/dist/m365/aad/commands/user/user-signin-list.js +3 -0
- package/dist/m365/aad/commands.js +9 -0
- package/dist/m365/file/commands/file-list.js +5 -1
- package/dist/m365/flow/commands/environment/FlowEnvironmentDetails.js +3 -0
- package/dist/m365/flow/commands/environment/environment-get.js +26 -11
- package/dist/m365/flow/commands/flow-disable.js +9 -2
- package/dist/m365/flow/commands/flow-enable.js +9 -2
- package/dist/m365/flow/commands/flow-get.js +9 -2
- package/dist/m365/flow/commands/flow-list.js +1 -1
- package/dist/m365/flow/commands/flow-remove.js +2 -2
- package/dist/m365/flow/commands/owner/owner-ensure.js +147 -0
- package/dist/m365/flow/commands/owner/owner-list.js +89 -0
- package/dist/m365/flow/commands/owner/owner-remove.js +147 -0
- package/dist/m365/flow/commands/run/run-cancel.js +9 -2
- package/dist/m365/flow/commands/run/run-list.js +5 -2
- package/dist/m365/flow/commands.js +3 -0
- package/dist/m365/planner/commands/roster/roster-member-add.js +3 -0
- package/dist/m365/planner/commands/roster/roster-member-get.js +98 -0
- package/dist/m365/planner/commands.js +1 -0
- package/dist/m365/pp/commands/environment/environment-get.js +18 -9
- package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +138 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +48 -14
- package/dist/m365/purview/commands.js +1 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0-beta.1.js +59 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +16 -13
- package/dist/m365/spfx/commands/spfx-doctor.js +43 -29
- package/dist/m365/spo/commands/commandset/commandset-add.js +138 -0
- package/dist/m365/spo/commands/commandset/commandset-get.js +128 -0
- package/dist/m365/spo/commands/commandset/commandset-list.js +77 -0
- package/dist/m365/spo/commands/commandset/commandset-remove.js +146 -0
- package/dist/m365/spo/commands/commandset/commandset-set.js +182 -0
- package/dist/m365/spo/commands/customaction/customaction-get.js +27 -7
- package/dist/m365/spo/commands/file/file-move.js +1 -3
- package/dist/m365/spo/commands/folder/folder-copy.js +0 -2
- package/dist/m365/spo/commands/folder/folder-move.js +0 -2
- package/dist/m365/spo/commands/group/group-member-add.js +54 -95
- package/dist/m365/spo/commands/list/list-add.js +11 -8
- package/dist/m365/spo/commands/list/list-set.js +3 -3
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +5 -4
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +5 -1
- package/dist/m365/spo/commands/site/site-add.js +0 -3
- package/dist/m365/spo/commands/site/site-remove.js +0 -3
- package/dist/m365/spo/commands/site/site-set.js +0 -2
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +118 -0
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
- package/dist/m365/spo/commands/term/term-get.js +68 -48
- package/dist/m365/spo/commands/user/user-ensure.js +105 -0
- package/dist/m365/spo/commands.js +7 -0
- package/dist/m365/teams/commands/team/team-add.js +3 -8
- package/dist/m365/todo/commands/task/task-add.js +35 -3
- package/dist/utils/aadGroup.js +18 -0
- package/dist/utils/aadUser.js +37 -0
- package/dist/utils/md.js +7 -0
- package/dist/utils/session.js +18 -0
- package/dist/utils/spo.js +35 -12
- package/docs/docs/cmd/aad/app/app-add.md +3 -3
- package/docs/docs/cmd/aad/approleassignment/approleassignment-add.md +5 -5
- package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.md +3 -3
- package/docs/docs/cmd/aad/license/license-list.md +87 -0
- package/docs/docs/cmd/aad/user/user-add.md +168 -0
- package/docs/docs/cmd/aad/user/user-license-add.md +108 -0
- package/docs/docs/cmd/aad/user/user-license-list.md +98 -0
- package/docs/docs/cmd/aad/user/user-license-remove.md +43 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +1 -1
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.md +82 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
- package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.md +99 -0
- package/docs/docs/cmd/aad/user/user-remove.md +51 -0
- package/docs/docs/cmd/aad/user/user-set.md +1 -1
- package/docs/docs/cmd/cli/completion/completion-clink-update.md +4 -4
- package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
- package/docs/docs/cmd/flow/owner/owner-ensure.md +61 -0
- package/docs/docs/cmd/flow/owner/owner-list.md +90 -0
- package/docs/docs/cmd/flow/owner/owner-remove.md +67 -0
- package/docs/docs/cmd/flow/run/run-list.md +28 -0
- package/docs/docs/cmd/onenote/page/page-list.md +1 -1
- package/docs/docs/cmd/outlook/mail/mail-send.md +7 -3
- package/docs/docs/cmd/outlook/message/message-get.md +143 -0
- package/docs/docs/cmd/outlook/message/message-list.md +119 -0
- package/docs/docs/cmd/outlook/message/message-move.md +4 -0
- package/docs/docs/cmd/outlook/report/report-mailactivitycounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailactivityusercounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailactivityuserdetail.md +45 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageappsusercounts.md +43 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageusercounts.md +44 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageuserdetail.md +48 -0
- package/docs/docs/cmd/outlook/report/report-mailappusageversionsusercounts.md +41 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagedetail.md +49 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagemailboxcount.md +37 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagequotastatusmailboxcounts.md +40 -0
- package/docs/docs/cmd/outlook/report/report-mailboxusagestorage.md +36 -0
- package/docs/docs/cmd/outlook/room/room-list.md +81 -0
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +58 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +3 -3
- package/docs/docs/cmd/planner/plan/plan-set.md +73 -7
- package/docs/docs/cmd/planner/roster/roster-add.md +16 -1
- package/docs/docs/cmd/planner/roster/roster-member-get.md +87 -0
- package/docs/docs/cmd/planner/task/task-add.md +230 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-add.md +55 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-list.md +55 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-get.md +131 -0
- package/docs/docs/cmd/planner/task/task-list.md +92 -0
- package/docs/docs/cmd/planner/task/task-reference-add.md +46 -0
- package/docs/docs/cmd/planner/task/task-reference-list.md +46 -0
- package/docs/docs/cmd/planner/task/task-reference-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-remove.md +4 -0
- package/docs/docs/cmd/planner/task/task-set.md +230 -0
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.md +55 -0
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.md +55 -0
- package/docs/docs/cmd/pp/card/card-get.md +2 -2
- package/docs/docs/cmd/pp/card/card-list.md +2 -2
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +149 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +7 -7
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -0
- package/docs/docs/cmd/skype/report/report-activitycounts.md +38 -0
- package/docs/docs/cmd/skype/report/report-activityusercounts.md +38 -0
- package/docs/docs/cmd/skype/report/report-activityuserdetail.md +67 -0
- package/docs/docs/cmd/spfx/project/project-doctor.md +3 -3
- package/docs/docs/cmd/spfx/project/project-externalize.md +3 -3
- package/docs/docs/cmd/spfx/project/project-permissions-grant.md +21 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.md +3 -3
- package/docs/docs/cmd/spfx/spfx-doctor.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-get.md +6 -6
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.md +3 -3
- package/docs/docs/cmd/spo/cdn/cdn-set.md +3 -3
- package/docs/docs/cmd/spo/commandset/commandset-add.md +159 -0
- package/docs/docs/cmd/spo/commandset/commandset-get.md +149 -0
- package/docs/docs/cmd/spo/commandset/commandset-list.md +109 -0
- package/docs/docs/cmd/spo/commandset/commandset-remove.md +55 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.md +71 -0
- package/docs/docs/cmd/spo/customaction/customaction-get.md +113 -11
- package/docs/docs/cmd/spo/externaluser/externaluser-list.md +2 -0
- package/docs/docs/cmd/spo/group/group-member-add.md +26 -4
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.md +2 -0
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.md +2 -0
- package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +10 -2
- package/docs/docs/cmd/spo/homesite/homesite-set.md +10 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.md +9 -9
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.md +34 -5
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +36 -19
- package/docs/docs/cmd/spo/hubsite/hubsite-list.md +59 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-register.md +30 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.md +6 -6
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.md +4 -4
- package/docs/docs/cmd/spo/hubsite/hubsite-set.md +40 -15
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.md +4 -4
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-get.md +9 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +11 -3
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +11 -5
- package/docs/docs/cmd/spo/list/list-add.md +124 -58
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +50 -5
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +4 -4
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +49 -4
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-get.md +70 -4
- package/docs/docs/cmd/spo/list/list-list.md +70 -2
- package/docs/docs/cmd/spo/list/list-remove.md +6 -6
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.md +2 -2
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.md +36 -3
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleassignment-add.md +6 -6
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.md +3 -3
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +9 -9
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +7 -7
- package/docs/docs/cmd/spo/list/list-set.md +61 -61
- package/docs/docs/cmd/spo/list/list-sitescript-get.md +35 -3
- package/docs/docs/cmd/spo/list/list-view-add.md +66 -5
- package/docs/docs/cmd/spo/list/list-view-field-add.md +10 -10
- package/docs/docs/cmd/spo/list/list-view-get.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-list.md +61 -0
- package/docs/docs/cmd/spo/list/list-view-set.md +1 -1
- package/docs/docs/cmd/spo/list/list-webhook-add.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.md +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.md +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-add.md +30 -1
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +17 -2
- package/docs/docs/cmd/spo/listitem/listitem-batch-add.md +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +6 -0
- package/docs/docs/cmd/spo/listitem/listitem-list.md +28 -0
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +15 -0
- package/docs/docs/cmd/spo/listitem/listitem-set.md +31 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +25 -3
- package/docs/docs/cmd/spo/navigation/navigation-node-set.md +2 -2
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-add.md +2 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-list.md +2 -0
- package/docs/docs/cmd/spo/orgassetslibrary/orgassetslibrary-remove.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-list.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-remove.md +2 -0
- package/docs/docs/cmd/spo/orgnewssite/orgnewssite-set.md +3 -3
- package/docs/docs/cmd/spo/site/site-appcatalog-add.md +2 -0
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.md +3 -3
- package/docs/docs/cmd/spo/site/site-commsite-enable.md +2 -0
- package/docs/docs/cmd/spo/site/site-list.md +3 -3
- package/docs/docs/cmd/spo/site/site-remove.md +3 -3
- package/docs/docs/cmd/spo/site/site-rename.md +3 -3
- package/docs/docs/cmd/spo/site/site-set.md +5 -5
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.md +3 -3
- package/docs/docs/cmd/spo/storageentity/storageentity-set.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.md +142 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.md +3 -3
- package/docs/docs/cmd/spo/tenant/tenant-settings-list.md +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.md +28 -26
- package/docs/docs/cmd/spo/term/term-add.md +3 -3
- package/docs/docs/cmd/spo/term/term-get.md +3 -3
- package/docs/docs/cmd/spo/term/term-group-add.md +2 -0
- package/docs/docs/cmd/spo/term/term-group-get.md +2 -0
- package/docs/docs/cmd/spo/term/term-group-list.md +2 -0
- package/docs/docs/cmd/spo/term/term-list.md +3 -1
- package/docs/docs/cmd/spo/term/term-set-add.md +3 -3
- package/docs/docs/cmd/spo/term/term-set-get.md +2 -0
- package/docs/docs/cmd/spo/term/term-set-list.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-apply.md +3 -3
- package/docs/docs/cmd/spo/theme/theme-get.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-list.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-remove.md +2 -0
- package/docs/docs/cmd/spo/theme/theme-set.md +3 -3
- package/docs/docs/cmd/spo/user/user-ensure.md +109 -0
- package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
- package/docs/docs/cmd/teams/channel/channel-member-add.md +2 -2
- package/docs/docs/cmd/teams/message/message-get.md +39 -4
- package/docs/docs/cmd/teams/message/message-list.md +41 -6
- package/docs/docs/cmd/teams/message/message-reply-list.md +39 -4
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-list.md +20 -2
- package/docs/docs/cmd/teams/messagingsettings/messagingsettings-set.md +8 -8
- package/docs/docs/cmd/teams/report/report-deviceusagedistributionusercounts.md +12 -5
- package/docs/docs/cmd/teams/report/report-deviceusageusercounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-deviceusageuserdetail.md +14 -7
- package/docs/docs/cmd/teams/report/report-directroutingcalls.md +13 -6
- package/docs/docs/cmd/teams/report/report-pstncalls.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivitycounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivityusercounts.md +13 -6
- package/docs/docs/cmd/teams/report/report-useractivityuserdetail.md +13 -6
- package/docs/docs/cmd/teams/tab/tab-add.md +16 -0
- package/docs/docs/cmd/teams/tab/tab-get.md +17 -0
- package/docs/docs/cmd/teams/tab/tab-list.md +19 -0
- package/docs/docs/cmd/teams/team/team-add.md +77 -8
- package/docs/docs/cmd/teams/team/team-app-list.md +18 -2
- package/docs/docs/cmd/teams/team/team-archive.md +2 -2
- package/docs/docs/cmd/teams/team/team-clone.md +8 -8
- package/docs/docs/cmd/teams/team/team-get.md +34 -4
- package/docs/docs/cmd/teams/team/team-list.md +34 -3
- package/docs/docs/cmd/teams/team/team-remove.md +3 -3
- package/docs/docs/cmd/teams/team/team-set.md +8 -8
- package/docs/docs/cmd/teams/team/team-unarchive.md +3 -2
- package/docs/docs/cmd/teams/user/user-app-add.md +3 -3
- package/docs/docs/cmd/teams/user/user-app-list.md +18 -2
- package/docs/docs/cmd/teams/user/user-app-remove.md +4 -4
- package/docs/docs/cmd/teams/user/user-list.md +21 -4
- package/docs/docs/cmd/todo/task/task-add.md +47 -2
- package/npm-shrinkwrap.json +280 -194
- package/package.json +15 -13
|
@@ -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
|
-
|
|
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
|
+
```
|
|
@@ -59,7 +59,7 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
|
|
|
59
59
|
Add an item with Title _Demo Multi Person Field_ and a multi-select people field named _MultiPeopleField_ to list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
|
|
60
60
|
|
|
61
61
|
```sh
|
|
62
|
-
m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|
|
|
62
|
+
m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|john.doe@conotoso.com'}]"
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
Add an item with Title _Demo Hyperlink Field_ and a hyperlink field named _CustomHyperlink_ to list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
|
|
@@ -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,7 +11,7 @@ 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
17
|
: ID of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl`
|
|
@@ -23,7 +23,7 @@ URL of the site from which the item should be retrieved
|
|
|
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
|
+
```
|
|
@@ -53,7 +53,7 @@ A sample CSV can be found below. The first line of the CSV-file should contain t
|
|
|
53
53
|
|
|
54
54
|
```csv
|
|
55
55
|
ContentType,Title,SingleChoiceField,MultiChoiceField,SingleMetadataField,MultiMetadataField,SinglePeopleField,MultiPeopleField,CustomHyperlink,NumberField
|
|
56
|
-
Item,Title A,Choice 1,Choice 1;#Choice 2,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;Finance|f994a4ac-cf34-448e-a22c-2b35fd9bbffa;,[{'Key':'i:0#.f|membership|markh@contoso.com'}],"[{'Key':'i:0#.f|membership|markh@contoso.com'},{'Key':'i:0#.f|membership|
|
|
56
|
+
Item,Title A,Choice 1,Choice 1;#Choice 2,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;Finance|f994a4ac-cf34-448e-a22c-2b35fd9bbffa;,[{'Key':'i:0#.f|membership|markh@contoso.com'}],"[{'Key':'i:0#.f|membership|markh@contoso.com'},{'Key':'i:0#.f|membership|john.doe@contoso.com'}]","https://bing.com, URL",5
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
## Response
|
|
@@ -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
|
+
```
|
|
@@ -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
|
+
```
|
|
@@ -62,7 +62,7 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
|
|
|
62
62
|
Update an item with id _147_ with Title _Demo Multi Person Field_ and a multi-select people field named _MultiPeopleField_ to list with title _Demo List_ in site _https://contoso.sharepoint.com/sites/project-x_
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
|
-
m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|
|
|
65
|
+
m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.sharepoint.com/sites/project-x --Title "Demo Multi Person Field" --MultiPeopleField "[{'Key':'i:0#.f|membership|markh@conotoso.com'},{'Key':'i:0#.f|membership|john.doe@conotoso.com'}]"
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
Update the field _Title_ and _CustomHyperlink_ of an item with a specific id in a list retrieved by server-relative URL in a specific site
|
|
@@ -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
|
+
```
|
|
@@ -19,8 +19,8 @@ m365 spo navigation node add [options]
|
|
|
19
19
|
`-t, --title <title>`
|
|
20
20
|
: Navigation node title.
|
|
21
21
|
|
|
22
|
-
`--url
|
|
23
|
-
: Navigation node URL.
|
|
22
|
+
`--url [url]`
|
|
23
|
+
: Navigation node URL. When not specified a linkless label will be created.
|
|
24
24
|
|
|
25
25
|
`--parentNodeId [parentNodeId]`
|
|
26
26
|
: ID of the node below which the node should be added. Specify either `location` or `parentNodeId` but not both.
|
|
@@ -29,7 +29,7 @@ m365 spo navigation node add [options]
|
|
|
29
29
|
: Set, if the navigation node points to an external URL.
|
|
30
30
|
|
|
31
31
|
`--audienceIds [audienceIds]`
|
|
32
|
-
: Comma
|
|
32
|
+
: Comma-separated list of group IDs that will be used for audience targeting. The limit is 10 ids per navigation node.
|
|
33
33
|
|
|
34
34
|
--8<-- "docs/cmd/_global.md"
|
|
35
35
|
|
|
@@ -103,3 +103,25 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
103
103
|
AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
|
|
104
104
|
"[""7aa4a1ca-4035-4f2f-bac7-7beada59b5ba""]",1033,2032,1,1,1,0,Navigation Link,https://contoso.sharepoint.com
|
|
105
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
|
|
127
|
+
```
|
|
@@ -20,10 +20,10 @@ m365 spo navigation node set [options]
|
|
|
20
20
|
: New title of the navigation node.
|
|
21
21
|
|
|
22
22
|
`--url [url]`
|
|
23
|
-
: New URL of the navigation node.
|
|
23
|
+
: New URL of the navigation node. Specify an empty string `""` to update the navigation label to a linkless label.
|
|
24
24
|
|
|
25
25
|
`--audienceIds [audienceIds]`
|
|
26
|
-
: Comma
|
|
26
|
+
: Comma-separated list of group IDs that will be used for audience targeting. Speficy an empty string `""` to clear this value. The limit is 10 ids per navigation node.
|
|
27
27
|
|
|
28
28
|
`--isExternal [isExternal]`
|
|
29
29
|
: Whether the navigation node points to an external URL. Valid values: `true` or `false`.
|
|
@@ -15,13 +15,13 @@ m365 spo orgnewssite set [options]
|
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
18
|
-
!!! important
|
|
19
|
-
To use this command you have to have permissions to access the tenant admin site.
|
|
20
|
-
|
|
21
18
|
## Remarks
|
|
22
19
|
|
|
23
20
|
Using the `-u, --url` option you can specify which site to add to the list of organizational news sites.
|
|
24
21
|
|
|
22
|
+
!!! important
|
|
23
|
+
To use this command you have to have permissions to access the tenant admin site.
|
|
24
|
+
|
|
25
25
|
## Examples
|
|
26
26
|
|
|
27
27
|
Set a site as an organizational news site
|
|
@@ -15,13 +15,13 @@ m365 spo site appcatalog remove [options]
|
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
18
|
-
!!! important
|
|
19
|
-
To use this command you have to have permissions to access the tenant admin site.
|
|
20
|
-
|
|
21
18
|
## Remarks
|
|
22
19
|
|
|
23
20
|
While the command uses the term *'remove'*, like its equivalent PowerShell cmdlet, it does not remove the special library **Apps for SharePoint** from the site collection. Instead, it disables the site collection app catalog in that site. Packages deployed to the app catalog are not available within the site collection.
|
|
24
21
|
|
|
22
|
+
!!! important
|
|
23
|
+
To use this command you have to have permissions to access the tenant admin site.
|
|
24
|
+
|
|
25
25
|
## Examples
|
|
26
26
|
|
|
27
27
|
Remove the site collection app catalog from specified site
|
|
@@ -27,15 +27,15 @@ m365 spo site list [options]
|
|
|
27
27
|
|
|
28
28
|
--8<-- "docs/cmd/_global.md"
|
|
29
29
|
|
|
30
|
-
!!! important
|
|
31
|
-
To use this command you have to have permissions to access the tenant admin site.
|
|
32
|
-
|
|
33
30
|
## Remarks
|
|
34
31
|
|
|
35
32
|
Using the `-f, --filter` option you can specify which sites you want to retrieve. For example, to get sites with _project_ in their URL, use `Url -like 'project'` as the filter.
|
|
36
33
|
|
|
37
34
|
When using the text output type, the command lists only the values of the `Title`, and `Url` properties of the site. When setting the output type to JSON, all available properties are included in the command output.
|
|
38
35
|
|
|
36
|
+
!!! important
|
|
37
|
+
To use this command you have to have permissions to access the tenant admin site.
|
|
38
|
+
|
|
39
39
|
## Examples
|
|
40
40
|
|
|
41
41
|
List all sites in the currently connected tenant
|
|
@@ -27,9 +27,6 @@ m365 spo site remove [options]
|
|
|
27
27
|
|
|
28
28
|
--8<-- "docs/cmd/_global.md"
|
|
29
29
|
|
|
30
|
-
!!! important
|
|
31
|
-
To use this command you have to have permissions to access the tenant admin site.
|
|
32
|
-
|
|
33
30
|
## Remarks
|
|
34
31
|
|
|
35
32
|
Deleting a site collection is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the site to be fully deleted, you should use the `--wait` flag. When using this flag, the `spo site remove` command will keep running until it received confirmation from Microsoft 365 that the site has been fully deleted.
|
|
@@ -38,6 +35,9 @@ If the site which you have selected to remove is groupified (Modern Team Site) a
|
|
|
38
35
|
|
|
39
36
|
If the argument `--fromRecycleBin` is passed, the selected site will be permanently removed even if it's a groupified one.
|
|
40
37
|
|
|
38
|
+
!!! important
|
|
39
|
+
To use this command you have to have permissions to access the tenant admin site.
|
|
40
|
+
|
|
41
41
|
## Examples
|
|
42
42
|
|
|
43
43
|
Remove the specified site and place it in the Recycle Bin
|
|
@@ -30,13 +30,13 @@ m365 spo site rename [options]
|
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
33
|
-
!!! important
|
|
34
|
-
To use this command you must have permissions to access the tenant admin site.
|
|
35
|
-
|
|
36
33
|
## Remarks
|
|
37
34
|
|
|
38
35
|
Renaming site collections is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the operation to complete fully, you should use the `--wait` flag. When using this flag, the `spo site rename` command will keep running until it receives confirmation from Microsoft 365 that the site rename operation has completed.
|
|
39
36
|
|
|
37
|
+
!!! important
|
|
38
|
+
To use this command you must have permissions to access the tenant admin site.
|
|
39
|
+
|
|
40
40
|
## Examples
|
|
41
41
|
|
|
42
42
|
Starts the rename of the site collection with name "samplesite" to "renamed" without modifying the title
|