@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.
- package/.eslintrc.js +8 -0
- package/dist/Auth.js +0 -18
- package/dist/Command.js +12 -1
- package/dist/appInsights.js +2 -1
- package/dist/cli/Cli.js +74 -3
- package/dist/m365/aad/commands/group/group-list.js +2 -1
- 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-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 +114 -0
- package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +103 -0
- 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 +77 -0
- package/dist/m365/aad/commands/user/user-remove.js +107 -0
- package/dist/m365/aad/commands.js +10 -0
- package/dist/m365/base/O365MgmtCommand.js +10 -0
- package/dist/m365/context/commands/option/option-list.js +54 -0
- package/dist/m365/context/commands.js +1 -0
- package/dist/m365/file/commands/convert/convert-pdf.js +7 -6
- 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/run/run-list.js +55 -3
- package/dist/m365/graph/commands/changelog/changelog-list.js +3 -2
- package/dist/m365/onenote/commands/notebook/notebook-list.js +50 -53
- package/dist/m365/onenote/commands/page/page-list.js +2 -16
- package/dist/m365/outlook/commands/mail/mail-send.js +3 -2
- package/dist/m365/outlook/commands/message/message-get.js +4 -3
- package/dist/m365/pa/commands/environment/environment-get.js +13 -5
- package/dist/m365/planner/commands/plan/plan-add.js +20 -6
- package/dist/m365/planner/commands/plan/plan-get.js +40 -26
- package/dist/m365/planner/commands/plan/plan-list.js +24 -14
- package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
- package/dist/m365/planner/commands/plan/plan-set.js +21 -10
- package/dist/m365/planner/commands/roster/roster-add.js +47 -0
- package/dist/m365/planner/commands/roster/roster-get.js +61 -0
- package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
- package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
- package/dist/m365/planner/commands/roster/roster-member-remove.js +140 -0
- package/dist/m365/planner/commands/roster/roster-remove.js +88 -0
- package/dist/m365/planner/commands/task/task-add.js +3 -0
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -1
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
- package/dist/m365/planner/commands.js +6 -0
- package/dist/m365/pp/commands/environment/environment-get.js +18 -9
- package/dist/m365/pp/commands/solution/solution-get.js +2 -1
- package/dist/m365/pp/commands/solution/solution-list.js +2 -1
- package/dist/m365/purview/commands/auditlog/auditlog-list.js +205 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +75 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +46 -0
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +97 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +77 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +75 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +43 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +97 -0
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +90 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +5 -0
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +11 -1
- package/dist/m365/purview/commands.js +9 -0
- package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +3 -0
- package/dist/m365/spfx/commands/project/project-permissions-grant.js +81 -0
- package/dist/m365/spfx/commands.js +3 -2
- package/dist/m365/spo/commands/app/app-add.js +2 -1
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
- package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
- package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
- package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
- package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
- package/dist/m365/spo/commands/file/file-move.js +0 -2
- package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -1
- package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
- package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
- package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
- package/dist/m365/spo/commands/file/file-sharinglink-list.js +9 -29
- package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
- package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
- 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-list.js +2 -1
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
- package/dist/m365/spo/commands/listitem/listitem-add.js +2 -1
- package/dist/m365/spo/commands/listitem/listitem-list.js +2 -1
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +17 -3
- package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +4 -7
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +118 -0
- package/dist/m365/spo/commands/page/page-column-get.js +2 -1
- package/dist/m365/spo/commands/page/page-column-list.js +2 -1
- package/dist/m365/spo/commands/page/page-section-get.js +2 -1
- package/dist/m365/spo/commands/page/page-section-list.js +2 -1
- package/dist/m365/spo/commands/site/site-add.js +0 -3
- package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -14
- package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -14
- package/dist/m365/spo/commands/site/site-apppermission-list.js +2 -14
- package/dist/m365/spo/commands/site/site-apppermission-remove.js +2 -14
- package/dist/m365/spo/commands/site/site-apppermission-set.js +2 -14
- 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/sitedesign/sitedesign-add.js +6 -0
- package/dist/m365/spo/commands/spo-search.js +2 -1
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +179 -0
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +0 -1
- package/dist/m365/spo/commands/term/term-list.js +2 -1
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
- package/dist/m365/spo/commands/web/web-set.js +11 -4
- package/dist/m365/spo/commands.js +6 -0
- package/dist/m365/teams/commands/chat/chat-list.js +4 -4
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +5 -5
- package/dist/m365/teams/commands/meeting/meeting-get.js +5 -5
- package/dist/m365/teams/commands/meeting/meeting-list.js +5 -4
- package/dist/m365/teams/commands/team/team-add.js +3 -8
- package/dist/m365/teams/commands/team/team-app-list.js +1 -1
- package/dist/m365/teams/commands/user/user-app-list.js +2 -1
- package/dist/m365/todo/commands/task/task-get.js +2 -1
- package/dist/m365/todo/commands/task/task-list.js +2 -1
- package/dist/m365/yammer/commands/yammer-search.js +2 -1
- package/dist/utils/aadUser.js +38 -0
- package/dist/utils/accessToken.js +1 -1
- package/dist/utils/planner.js +16 -5
- package/dist/utils/session.js +18 -0
- package/dist/utils/spo.js +119 -12
- package/docs/docs/cmd/aad/app/app-list.md +3 -0
- 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 +42 -0
- 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 +2 -2
- package/docs/docs/cmd/context/option/option-list.md +63 -0
- package/docs/docs/cmd/flow/environment/environment-get.md +31 -3
- package/docs/docs/cmd/flow/run/run-list.md +21 -0
- package/docs/docs/cmd/login.md +26 -0
- package/docs/docs/cmd/logout.md +4 -0
- package/docs/docs/cmd/pa/app/app-get.md +24 -0
- package/docs/docs/cmd/pa/app/app-list.md +21 -0
- package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
- package/docs/docs/cmd/pa/environment/environment-get.md +26 -2
- package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +17 -6
- package/docs/docs/cmd/planner/plan/plan-get.md +21 -7
- package/docs/docs/cmd/planner/plan/plan-list.md +16 -2
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
- package/docs/docs/cmd/planner/roster/roster-add.md +60 -0
- package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
- package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
- package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
- package/docs/docs/cmd/planner/roster/roster-member-remove.md +51 -0
- package/docs/docs/cmd/planner/roster/roster-remove.md +48 -0
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
- package/docs/docs/cmd/pp/card/card-clone.md +12 -0
- package/docs/docs/cmd/pp/card/card-get.md +49 -0
- package/docs/docs/cmd/pp/card/card-list.md +49 -0
- package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
- package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
- package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
- package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
- package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
- package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
- package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
- package/docs/docs/cmd/purview/auditlog/auditlog-list.md +123 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +132 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +107 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +45 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +106 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +103 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +97 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +43 -0
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +43 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +3 -0
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +3 -0
- package/docs/docs/cmd/request.md +74 -0
- package/docs/docs/cmd/spfx/project/project-permissions-grant.md +65 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
- package/docs/docs/cmd/spo/homesite/homesite-get.md +20 -1
- package/docs/docs/cmd/spo/homesite/homesite-remove.md +8 -2
- package/docs/docs/cmd/spo/homesite/homesite-set.md +8 -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 +7 -1
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-remove.md +9 -3
- package/docs/docs/cmd/spo/knowledgehub/knowledgehub-set.md +8 -2
- package/docs/docs/cmd/spo/list/list-add.md +123 -57
- 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 +29 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +19 -4
- package/docs/docs/cmd/spo/listitem/listitem-get.md +57 -0
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +8 -2
- 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 +30 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-add.md +40 -3
- package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-list.md +30 -0
- package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +1 -1
- package/docs/docs/cmd/spo/navigation/navigation-node-set.md +59 -0
- package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +59 -0
- package/docs/docs/cmd/spo/web/web-set.md +9 -0
- package/docs/docs/cmd/status.md +46 -0
- package/docs/docs/cmd/version.md +26 -0
- package/npm-shrinkwrap.json +912 -876
- package/package.json +13 -12
|
@@ -13,14 +13,14 @@ m365 spo list contenttype default set [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
|
-
`-
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
16
|
+
`-l, --listId [listId]`
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
`-c, --contentTypeId <contentTypeId>`
|
|
26
26
|
: ID of the content type
|
|
@@ -13,14 +13,14 @@ m365 spo list contenttype list [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
|
-
`-
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
16
|
+
`-l, --listId [listId]`
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
--8<-- "docs/cmd/_global.md"
|
|
26
26
|
|
|
@@ -103,3 +103,48 @@ m365 spo list contenttype list --webUrl https://contoso.sharepoint.com/sites/pro
|
|
|
103
103
|
StringId,Name,Hidden,ReadOnly,Sealed
|
|
104
104
|
0x01000B1208C5D23DF44B9F1AEE7373DE9D5E,Item,,,
|
|
105
105
|
```
|
|
106
|
+
|
|
107
|
+
=== "Markdown"
|
|
108
|
+
|
|
109
|
+
```md
|
|
110
|
+
# spo list contenttype list --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "Documents"
|
|
111
|
+
|
|
112
|
+
Date: 2/20/2023
|
|
113
|
+
|
|
114
|
+
## Document ([object Object])
|
|
115
|
+
|
|
116
|
+
Property | Value
|
|
117
|
+
---------|-------
|
|
118
|
+
ClientFormCustomFormatter |
|
|
119
|
+
Description | Create a new list item.
|
|
120
|
+
DisplayFormClientSideComponentId |
|
|
121
|
+
DisplayFormClientSideComponentProperties |
|
|
122
|
+
DisplayFormTarget | 0
|
|
123
|
+
DisplayFormTemplateName | ListForm
|
|
124
|
+
DisplayFormUrl |
|
|
125
|
+
DocumentTemplate |
|
|
126
|
+
DocumentTemplateUrl |
|
|
127
|
+
EditFormClientSideComponentId |
|
|
128
|
+
EditFormClientSideComponentProperties |
|
|
129
|
+
EditFormTarget | 0
|
|
130
|
+
EditFormTemplateName | ListForm
|
|
131
|
+
EditFormUrl |
|
|
132
|
+
Group | List Content Types
|
|
133
|
+
Hidden | false
|
|
134
|
+
Id | {"StringValue":"0x01000B1208C5D23DF44B9F1AEE7373DE9D5E"}
|
|
135
|
+
JSLink |
|
|
136
|
+
MobileDisplayFormUrl |
|
|
137
|
+
MobileEditFormUrl |
|
|
138
|
+
MobileNewFormUrl |
|
|
139
|
+
Name | Item
|
|
140
|
+
NewFormClientSideComponentId | null
|
|
141
|
+
NewFormClientSideComponentProperties |
|
|
142
|
+
NewFormTarget | 0
|
|
143
|
+
NewFormTemplateName | ListForm
|
|
144
|
+
NewFormUrl |
|
|
145
|
+
ReadOnly | false
|
|
146
|
+
SchemaXml | <ContentType ID="0x01000B1208C5D23DF44B9F1AEE7373DE9D5E" Name="Item" Group="List Content Types" Description="Create a new list item." Version="0" FeatureId="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}" FeatureIds="{695b6570-a48b-4a8e-8ea5-26ea7fc1d162};{c94c1702-30a7-454c-be15-5a895223428d}"><Folder TargetName="Item"/><Fields><Field ID="{c042a256-787d-4a6f-8a8a-cf6ab767f12d}" Type="Computed" DisplayName="Content Type" Name="ContentType" DisplaceOnUpgrade="TRUE" RenderXMLUsingPattern="TRUE" Sortable="FALSE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="ContentType" Group="_Hidden" PITarget="MicrosoftWindowsSharePointServices" PIAttribute="ContentTypeID" FromBaseType="TRUE"><FieldRefs><FieldRef Name="ContentTypeId"/></FieldRefs><DisplayPattern><MapToContentType><Column Name="ContentTypeId"/></MapToContentType></DisplayPattern></Field><Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="Title" Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" FromBaseType="TRUE" ColName="nvarchar1" ShowInNewForm="TRUE" ShowInEditForm="TRUE"/></Fields><XmlDocuments><XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"><FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>
|
|
147
|
+
Scope | /Lists/Test
|
|
148
|
+
Sealed | false
|
|
149
|
+
StringId | 0x01000B1208C5D23DF44B9F1AEE7373DE9D5E
|
|
150
|
+
```
|
|
@@ -13,20 +13,20 @@ m365 spo list contenttype remove [options]
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
|
-
`-
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
16
|
+
`-l, --listId [listId]`
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
`-i, --id <id>`
|
|
26
|
-
: ID of the content type to remove from the list
|
|
26
|
+
: ID of the content type to remove from the list.
|
|
27
27
|
|
|
28
28
|
`--confirm`
|
|
29
|
-
: Don't prompt for confirmation
|
|
29
|
+
: Don't prompt for confirmation.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
@@ -11,16 +11,16 @@ m365 spo list get [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the list to retrieve is located
|
|
14
|
+
: URL of the site where the list to retrieve is located.
|
|
15
15
|
|
|
16
16
|
`-i, --id [id]`
|
|
17
|
-
: ID of the list to retrieve information for. Specify either `id`, `title
|
|
17
|
+
: ID of the list to retrieve information for. Specify either `id`, `title`, or `url` but not multiple.
|
|
18
18
|
|
|
19
19
|
`-t, --title [title]`
|
|
20
|
-
: Title of the list to retrieve information for. Specify either `id`, `title
|
|
20
|
+
: Title of the list to retrieve information for. Specify either `id`, `title`, or `url` but not multiple.
|
|
21
21
|
|
|
22
22
|
`--url [url]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `id`, `title
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `id`, `title`, or `url` but not multiple.
|
|
24
24
|
|
|
25
25
|
`-p, --properties [properties]`
|
|
26
26
|
: Comma-separated list of properties to retrieve from the list. Will retrieve all properties possible from default response, if not specified.
|
|
@@ -204,3 +204,69 @@ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/site
|
|
|
204
204
|
AllowContentTypes,BaseTemplate,BaseType,ContentTypesEnabled,CrawlNonDefaultViews,Created,CurrentChangeToken,DefaultContentApprovalWorkflowId,DefaultItemOpenUseListSetting,Description,Direction,DisableCommenting,DisableGridEditing,DocumentTemplateUrl,DraftVersionVisibility,EnableAttachments,EnableFolderCreation,EnableMinorVersions,EnableModeration,EnableRequestSignOff,EnableVersioning,EntityTypeName,ExemptFromBlockDownloadOfNonViewableFiles,FileSavePostProcessingEnabled,ForceCheckout,HasExternalDataSource,Hidden,Id,ImagePath,ImageUrl,DefaultSensitivityLabelForLibrary,IrmEnabled,IrmExpire,IrmReject,IsApplicationList,IsCatalog,IsPrivate,ItemCount,LastItemDeletedDate,LastItemModifiedDate,LastItemUserModifiedDate,ListExperienceOptions,ListItemEntityTypeFullName,MajorVersionLimit,MajorWithMinorVersionsLimit,MultipleDataList,NoCrawl,ParentWebPath,ParentWebUrl,ParserDisabled,ServerTemplateCanCreateFolders,TemplateFeatureId,Title
|
|
205
205
|
1,100,0,1,,2022-10-23T09:30:00Z,"{""StringValue"":""1;3;97d19285-b8a6-4c7f-9c6c-d6b850a6561a;638042258543870000;564169743""}",00000000-0000-0000-0000-000000000000,,,none,,,,0,1,,,,1,1,TestList,,,,,,97d19285-b8a6-4c7f-9c6c-d6b850a6561a,"{""DecodedUrl"":""/_layouts/15/images/itgen.png?rev=47""}",/_layouts/15/images/itgen.png?rev=47,,,,,,,,0,2022-11-16T19:55:37Z,2022-11-16T19:55:39Z,2022-11-16T19:55:37Z,0,SP.Data.TestListItem,50,0,,,"{""DecodedUrl"":""/""}",/,,1,00bfea71-de22-43b2-a848-c05709900100,Test
|
|
206
206
|
```
|
|
207
|
+
|
|
208
|
+
=== "Markdown"
|
|
209
|
+
|
|
210
|
+
```md
|
|
211
|
+
# spo list get --title "Test" --webUrl "https://contoso.sharepoint.com"
|
|
212
|
+
|
|
213
|
+
Date: 2/20/2023
|
|
214
|
+
|
|
215
|
+
## Test (97d19285-b8a6-4c7f-9c6c-d6b850a6561a)
|
|
216
|
+
|
|
217
|
+
Property | Value
|
|
218
|
+
---------|-------
|
|
219
|
+
AllowContentTypes | true
|
|
220
|
+
BaseTemplate | 100
|
|
221
|
+
BaseType | 0
|
|
222
|
+
ContentTypesEnabled | false
|
|
223
|
+
CrawlNonDefaultViews | false
|
|
224
|
+
Created | 2022-10-23T09:30:00Z
|
|
225
|
+
CurrentChangeToken | {"StringValue":"1;3;97d19285-b8a6-4c7f-9c6c-d6b850a6561a;638042258222730000;564169620"}
|
|
226
|
+
DefaultContentApprovalWorkflowId | 00000000-0000-0000-0000-000000000000
|
|
227
|
+
DefaultItemOpenUseListSetting | false
|
|
228
|
+
Description |
|
|
229
|
+
Direction | none
|
|
230
|
+
DisableCommenting | false
|
|
231
|
+
DisableGridEditing | false
|
|
232
|
+
DocumentTemplateUrl |
|
|
233
|
+
DraftVersionVisibility | 0
|
|
234
|
+
EnableAttachments | true
|
|
235
|
+
EnableFolderCreation | false
|
|
236
|
+
EnableMinorVersions | false
|
|
237
|
+
EnableModeration | false
|
|
238
|
+
EnableRequestSignOff | true
|
|
239
|
+
EnableVersioning | true
|
|
240
|
+
EntityTypeName | TestList
|
|
241
|
+
ExemptFromBlockDownloadOfNonViewableFiles | false
|
|
242
|
+
FileSavePostProcessingEnabled | false
|
|
243
|
+
ForceCheckout | false
|
|
244
|
+
HasExternalDataSource | false
|
|
245
|
+
Hidden | false
|
|
246
|
+
Id | 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
|
|
247
|
+
ImagePath | {"DecodedUrl":"/\_layouts/15/images/itgen.png?rev=47"}
|
|
248
|
+
ImageUrl | /\_layouts/15/images/itgen.png?rev=47
|
|
249
|
+
DefaultSensitivityLabelForLibrary |
|
|
250
|
+
IrmEnabled | false
|
|
251
|
+
IrmExpire | false
|
|
252
|
+
IrmReject | false
|
|
253
|
+
IsApplicationList | false
|
|
254
|
+
IsCatalog | false
|
|
255
|
+
IsPrivate | false
|
|
256
|
+
ItemCount | 0
|
|
257
|
+
LastItemDeletedDate | 2022-11-16T19:55:37Z
|
|
258
|
+
LastItemModifiedDate | 2022-11-16T19:55:39Z
|
|
259
|
+
LastItemUserModifiedDate | 2022-11-16T19:55:37Z
|
|
260
|
+
ListExperienceOptions | 0
|
|
261
|
+
ListItemEntityTypeFullName | SP.Data.TestListItem
|
|
262
|
+
MajorVersionLimit | 50
|
|
263
|
+
MajorWithMinorVersionsLimit | 0
|
|
264
|
+
MultipleDataList | false
|
|
265
|
+
NoCrawl | false
|
|
266
|
+
ParentWebPath | {"DecodedUrl":"/"}
|
|
267
|
+
ParentWebUrl | /
|
|
268
|
+
ParserDisabled | false
|
|
269
|
+
ServerTemplateCanCreateFolders | true
|
|
270
|
+
TemplateFeatureId | 00bfea71-de22-43b2-a848-c05709900100
|
|
271
|
+
Title | Test
|
|
272
|
+
```
|
|
@@ -11,13 +11,13 @@ m365 spo list list [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the lists to retrieve are located
|
|
14
|
+
: URL of the site where the lists to retrieve are located.
|
|
15
15
|
|
|
16
16
|
--8<-- "docs/cmd/_global.md"
|
|
17
17
|
|
|
18
18
|
## Examples
|
|
19
19
|
|
|
20
|
-
Return all lists located in site
|
|
20
|
+
Return all lists located in in a specific site.
|
|
21
21
|
|
|
22
22
|
```sh
|
|
23
23
|
m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
@@ -115,3 +115,71 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
|
115
115
|
Id,Url
|
|
116
116
|
Theme Gallery,/_catalogs/theme,66e5148c-7060-4479-88e7-636d79579148
|
|
117
117
|
```
|
|
118
|
+
|
|
119
|
+
=== "Markdown"
|
|
120
|
+
|
|
121
|
+
```md
|
|
122
|
+
# spo list list --webUrl "https://contoso.sharepoint.com"
|
|
123
|
+
|
|
124
|
+
Date: 2/20/2023
|
|
125
|
+
|
|
126
|
+
## _catalogs/theme (66e5148c-7060-4479-88e7-636d79579148)
|
|
127
|
+
|
|
128
|
+
Property | Value
|
|
129
|
+
---------|-------
|
|
130
|
+
AllowContentTypes | true
|
|
131
|
+
BaseTemplate | 123
|
|
132
|
+
BaseType | 1
|
|
133
|
+
ContentTypesEnabled | false
|
|
134
|
+
CrawlNonDefaultViews | false
|
|
135
|
+
Created | 2020-01-12T01:03:13Z
|
|
136
|
+
CurrentChangeToken | {"StringValue":"1;3;66e5148c-7060-4479-88e7-636d79579148;638042267256930000;564174226"}
|
|
137
|
+
DefaultContentApprovalWorkflowId | 00000000-0000-0000-0000-000000000000
|
|
138
|
+
DefaultItemOpenUseListSetting | false
|
|
139
|
+
Description | Use the theme gallery to store themes. The themes in this gallery can be used by this site or any of its subsites.
|
|
140
|
+
Direction | none
|
|
141
|
+
DisableCommenting | false
|
|
142
|
+
DisableGridEditing | false
|
|
143
|
+
DocumentTemplateUrl | null
|
|
144
|
+
DraftVersionVisibility | 0
|
|
145
|
+
EnableAttachments | false
|
|
146
|
+
EnableFolderCreation | false
|
|
147
|
+
EnableMinorVersions | false
|
|
148
|
+
EnableModeration | false
|
|
149
|
+
EnableRequestSignOff | true
|
|
150
|
+
EnableVersioning | false
|
|
151
|
+
EntityTypeName | OData\_\_x005f\_catalogs\_x002f\_theme
|
|
152
|
+
ExemptFromBlockDownloadOfNonViewableFiles | false
|
|
153
|
+
FileSavePostProcessingEnabled | false
|
|
154
|
+
ForceCheckout | false
|
|
155
|
+
HasExternalDataSource | false
|
|
156
|
+
Hidden | true
|
|
157
|
+
Id | 66e5148c-7060-4479-88e7-636d79579148
|
|
158
|
+
ImagePath | {"DecodedUrl":"/\_layouts/15/images/itdl.png?rev=47"}
|
|
159
|
+
ImageUrl | /\_layouts/15/images/itdl.png?rev=47
|
|
160
|
+
DefaultSensitivityLabelForLibrary |
|
|
161
|
+
IrmEnabled | false
|
|
162
|
+
IrmExpire | false
|
|
163
|
+
IrmReject | false
|
|
164
|
+
IsApplicationList | false
|
|
165
|
+
IsCatalog | true
|
|
166
|
+
IsPrivate | false
|
|
167
|
+
ItemCount | 41
|
|
168
|
+
LastItemDeletedDate | 2020-01-12T01:03:13Z
|
|
169
|
+
LastItemModifiedDate | 2020-01-12T01:03:18Z
|
|
170
|
+
LastItemUserModifiedDate | 2020-01-12T01:03:18Z
|
|
171
|
+
ListExperienceOptions | 0
|
|
172
|
+
ListItemEntityTypeFullName | SP.Data.OData\_\_x005f\_catalogs\_x002f\_themeItem
|
|
173
|
+
MajorVersionLimit | 0
|
|
174
|
+
MajorWithMinorVersionsLimit | 0
|
|
175
|
+
MultipleDataList | false
|
|
176
|
+
NoCrawl | false
|
|
177
|
+
ParentWebPath | {"DecodedUrl":"/"}
|
|
178
|
+
ParentWebUrl | /
|
|
179
|
+
ParserDisabled | false
|
|
180
|
+
ServerTemplateCanCreateFolders | true
|
|
181
|
+
TemplateFeatureId | 00000000-0000-0000-0000-000000000000
|
|
182
|
+
Title | Theme Gallery
|
|
183
|
+
RootFolder | {"ServerRelativeUrl":"//\_catalogs/theme"}
|
|
184
|
+
Url | //\_catalogs/theme
|
|
185
|
+
```
|
|
@@ -11,28 +11,28 @@ m365 spo list remove [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-u, --webUrl <webUrl>`
|
|
14
|
-
: URL of the site where the list to remove is located
|
|
14
|
+
: URL of the site where the list to remove is located.
|
|
15
15
|
|
|
16
16
|
`-i, --id [id]`
|
|
17
|
-
: The ID of the list to remove. Specify either `id` or `title` but not both
|
|
17
|
+
: The ID of the list to remove. Specify either `id` or `title` but not both.
|
|
18
18
|
|
|
19
19
|
`-t, --title [title]`
|
|
20
|
-
: Title of the list to remove. Specify either `id` or `title` but not both
|
|
20
|
+
: Title of the list to remove. Specify either `id` or `title` but not both.
|
|
21
21
|
|
|
22
22
|
`--confirm`
|
|
23
|
-
: Don't prompt for confirming removing the list
|
|
23
|
+
: Don't prompt for confirming removing the list.
|
|
24
24
|
|
|
25
25
|
--8<-- "docs/cmd/_global.md"
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
Remove the list with ID
|
|
29
|
+
Remove the list with a specific ID located in a specific site
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 spo list remove --webUrl https://contoso.sharepoint.com/sites/project-x --id 0cd891ef-afce-4e55-b836-fce03286cccf
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Remove the list with
|
|
35
|
+
Remove the list with a specific title located in a specific site.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo list remove --webUrl https://contoso.sharepoint.com/sites/project-x --title 'List 1'
|
|
@@ -51,13 +51,13 @@ A list retention label is a default label that will be applied to all new items
|
|
|
51
51
|
|
|
52
52
|
## Examples
|
|
53
53
|
|
|
54
|
-
Sets a retention label by name on a given list
|
|
54
|
+
Sets a retention label by name on a given list.
|
|
55
55
|
|
|
56
56
|
```sh
|
|
57
57
|
m365 spo list retentionlabel ensure --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Shared Documents' --name 'Some label'
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Sets a retention label by name and disables editing and deleting items on the list and all existing items for a given list
|
|
60
|
+
Sets a retention label by name and disables editing and deleting items on the list and all existing items for a given list.
|
|
61
61
|
|
|
62
62
|
```sh
|
|
63
63
|
m365 spo list retentionlabel ensure --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'Documents' --name 'Some label' --blockEdit --blockDelete --syncToItems
|
|
@@ -20,13 +20,13 @@ m365 spo list label get [options]
|
|
|
20
20
|
: URL of the site where the list to get the label from is located.
|
|
21
21
|
|
|
22
22
|
`-l, --listId [listId]`
|
|
23
|
-
: ID of the list to get the label from. Specify either `listId`, `listTitle
|
|
23
|
+
: ID of the list to get the label from. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
|
|
24
24
|
|
|
25
25
|
`-t, --listTitle [listTitle]`
|
|
26
|
-
: Title of the list to get the label from. Specify either `listId`, `listTitle
|
|
26
|
+
: Title of the list to get the label from. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
|
|
27
27
|
|
|
28
28
|
`--listUrl [listUrl]`
|
|
29
|
-
: Server- or site-relative URL of the list. Specify either `listId`, `listTitle
|
|
29
|
+
: Server- or site-relative URL of the list. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
|
|
30
30
|
|
|
31
31
|
--8<-- "docs/cmd/_global.md"
|
|
32
32
|
|
|
@@ -116,3 +116,36 @@ m365 spo list retentionlabel get --listUrl 'Shared Documents' --webUrl https://c
|
|
|
116
116
|
AcceptMessagesOnlyFromSendersOrMembers,AccessType,AllowAccessFromUnmanagedDevice,AutoDelete,BlockDelete,BlockEdit,ContainsSiteLabel,DisplayName,EncryptionRMSTemplateId,HasRetentionAction,IsEventTag,Notes,RequireSenderAuthenticationEnabled,ReviewerEmail,SharingCapabilities,SuperLock,TagDuration,TagId,TagName,TagRetentionBasedOn
|
|
117
117
|
false,,,false,false,false,false,Label A,,false,false,,false,,,false,0,4d535433-2a7b-40b0-9dad-8f0f8f3b3841,Sensitive,
|
|
118
118
|
```
|
|
119
|
+
|
|
120
|
+
=== "Markdown"
|
|
121
|
+
|
|
122
|
+
```md
|
|
123
|
+
# spo list retentionlabel get --listUrl "Shared Documents" --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
124
|
+
|
|
125
|
+
Date: 2/20/2023
|
|
126
|
+
|
|
127
|
+
## Label A (4d535433-2a7b-40b0-9dad-8f0f8f3b3841)
|
|
128
|
+
|
|
129
|
+
Property | Value
|
|
130
|
+
---------|-------
|
|
131
|
+
AcceptMessagesOnlyFromSendersOrMembers | false
|
|
132
|
+
AccessType | null
|
|
133
|
+
AllowAccessFromUnmanagedDevice | null
|
|
134
|
+
AutoDelete | false
|
|
135
|
+
BlockDelete | false
|
|
136
|
+
BlockEdit | false
|
|
137
|
+
ContainsSiteLabel | false
|
|
138
|
+
DisplayName | Label A
|
|
139
|
+
EncryptionRMSTemplateId | null
|
|
140
|
+
HasRetentionAction | false
|
|
141
|
+
IsEventTag | false
|
|
142
|
+
Notes | null
|
|
143
|
+
RequireSenderAuthenticationEnabled | false
|
|
144
|
+
ReviewerEmail | null
|
|
145
|
+
SharingCapabilities | null
|
|
146
|
+
SuperLock | false
|
|
147
|
+
TagDuration | 0
|
|
148
|
+
TagId | 4d535433-2a7b-40b0-9dad-8f0f8f3b3841
|
|
149
|
+
TagName | Sensitive
|
|
150
|
+
TagRetentionBasedOn | null
|
|
151
|
+
```
|
|
@@ -29,19 +29,19 @@ m365 spo list retentionlabel remove [options]
|
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Clears the retention label on a given list by URL
|
|
32
|
+
Clears the retention label on a given list by URL.
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 spo list retentionlabel remove --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Shared Documents'
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Clears the retention label on a given list by title
|
|
38
|
+
Clears the retention label on a given list by title.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 spo list retentionlabel remove --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'Documents'
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Clears the retention label on a given list by ID without confirmation
|
|
44
|
+
Clears the retention label on a given list by ID without confirmation.
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 spo list retentionlabel remove --webUrl https://contoso.sharepoint.com/sites/project-x --listId 'Documents' --confirm
|
|
@@ -41,37 +41,37 @@ m365 spo list roleassignment add [options]
|
|
|
41
41
|
|
|
42
42
|
## Examples
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
Adds role assignment to a list by title located in a specific site for given principal id and role definition id.
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --principalId 11 --roleDefinitionId 1073741829
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
Adds role assignment to list by id located in a specific site for given principal id and role definition id.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "0CD891EF-AFCE-4E55-B836-FCE03286CCCF" --principalId 11 --roleDefinitionId 1073741829
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
Adds role assignment to list by url located in a specific site for given principal id and role definition id.
|
|
57
57
|
|
|
58
58
|
```sh
|
|
59
59
|
m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listUrl "sites/documents" --principalId 11 --roleDefinitionId 1073741829
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
Adds role assignment to list by title located in a specific site for given upn and role definition id.
|
|
63
63
|
|
|
64
64
|
```sh
|
|
65
65
|
m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --upn "someaccount@tenant.onmicrosoft.com" --roleDefinitionId 1073741829
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
Adds role assignment to list by title located in a specific site for given group and role definition id.
|
|
69
69
|
|
|
70
70
|
```sh
|
|
71
71
|
m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --groupName "someGroup" --roleDefinitionId 1073741829
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
Adds role assignment to list by title located in a specific site for given principal id and role definition name.
|
|
75
75
|
|
|
76
76
|
```sh
|
|
77
77
|
m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --principalId 11 --roleDefinitionName "Full Control"
|
|
@@ -38,19 +38,19 @@ m365 spo list roleassignment remove [options]
|
|
|
38
38
|
|
|
39
39
|
## Examples
|
|
40
40
|
|
|
41
|
-
Remove roleassignment from list by title based on group name
|
|
41
|
+
Remove roleassignment from list by title based on group name.
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 spo list roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listTitle "someList" --groupName "saleGroup"
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Remove roleassignment from list by title based on principal Id
|
|
47
|
+
Remove roleassignment from list by title based on principal Id.
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 spo list roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listTitle "Events" --principalId 2
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Remove roleassignment from list by url based on principal Id
|
|
53
|
+
Remove roleassignment from list by url based on principal Id.
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 spo list roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --principalId 2
|
|
@@ -14,16 +14,16 @@ m365 spo list roleinheritance break [options]
|
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
16
|
`-i, --listId [listId]`
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
`-c, --clearExistingPermissions`
|
|
26
|
-
: Flag if used clears all roles from the list
|
|
26
|
+
: Flag if used clears all roles from the list.
|
|
27
27
|
|
|
28
28
|
`--confirm`
|
|
29
29
|
: Do not prompt for confirmation before breaking role inheritance.
|
|
@@ -36,31 +36,31 @@ By default, when breaking permissions inheritance, the list will retain existing
|
|
|
36
36
|
|
|
37
37
|
## Examples
|
|
38
38
|
|
|
39
|
-
Break inheritance of list by title in a specific site
|
|
39
|
+
Break inheritance of list by title in a specific site.
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
42
|
m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList"
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Break inheritance of list by id in a specific site
|
|
45
|
+
Break inheritance of list by id in a specific site.
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
48
|
m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "202b8199-b9de-43fd-9737-7f213f51c991"
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Break inheritance of list by title located in a specific site and clearing the existing permissions
|
|
51
|
+
Break inheritance of list by title located in a specific site and clearing the existing permissions.
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
54
|
m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --clearExistingPermissions
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Break inheritance of list by url in a specific site and clearing the existing permissions
|
|
57
|
+
Break inheritance of list by url in a specific site and clearing the existing permissions.
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
60
|
m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listUrl '/sites/project-x/lists/events' --clearExistingPermissions
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
Break inheritance of list
|
|
63
|
+
Break inheritance of list by ID located in in a specific site with clearing permissions without prompting for confirmation.
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
66
|
m365 spo list roleinheritance break --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "202b8199-b9de-43fd-9737-7f213f51c991" --clearExistingPermissions --confirm
|
|
@@ -14,13 +14,13 @@ m365 spo list roleinheritance reset [options]
|
|
|
14
14
|
: URL of the site where the list is located.
|
|
15
15
|
|
|
16
16
|
`-i, --listId [listId]`
|
|
17
|
-
: ID of the list. Specify either `listTitle`, `listId
|
|
17
|
+
: ID of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
18
18
|
|
|
19
19
|
`-t, --listTitle [listTitle]`
|
|
20
|
-
: Title of the list. Specify either `listTitle`, `listId
|
|
20
|
+
: Title of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
21
21
|
|
|
22
22
|
`--listUrl [listUrl]`
|
|
23
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId
|
|
23
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId`, or `listUrl`.
|
|
24
24
|
|
|
25
25
|
`--confirm`
|
|
26
26
|
: Do not prompt for confirmation before resetting role inheritance.
|
|
@@ -29,25 +29,25 @@ m365 spo list roleinheritance reset [options]
|
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Restores role inheritance of a specific list by id in a specific site
|
|
32
|
+
Restores role inheritance of a specific list by id in a specific site.
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 spo list roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Restores role inheritance of a specific list by title in a specific site
|
|
38
|
+
Restores role inheritance of a specific list by title in a specific site.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 spo list roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle test
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Restores role inheritance of a specific list by url in a specific site
|
|
44
|
+
Restores role inheritance of a specific list by url in a specific site.
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 spo list roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/lists/events'
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
Restores role inheritance of list a specific list by title without prompting for confirmation
|
|
50
|
+
Restores role inheritance of list a specific list by title without prompting for confirmation.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
m365 spo list roleinheritance reset --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle test --confirm
|