@pnp/cli-microsoft365 7.1.0-beta.aca68bd → 7.1.0-beta.ba486fa
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 +0 -1
- package/.eslintrc.cjs +1 -0
- package/Dockerfile +0 -1
- package/dist/Auth.js +2 -2
- package/dist/Command.js +18 -28
- package/dist/appInsights.js +5 -9
- package/dist/cli/Cli.js +9 -4
- package/dist/m365/aad/commands/group/group-user-list.js +146 -0
- package/dist/m365/aad/commands/m365group/m365group-remove.js +109 -15
- package/dist/m365/aad/commands.js +1 -0
- package/dist/m365/cli/commands/cli-doctor.js +11 -6
- package/dist/m365/commands/setup.js +6 -1
- package/dist/m365/spo/commands/app/app-deploy.js +1 -1
- package/dist/m365/spo/commands/app/app-get.js +1 -1
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +1 -1
- package/dist/m365/spo/commands/apppage/apppage-add.js +1 -1
- package/dist/m365/spo/commands/feature/feature-disable.js +8 -6
- package/dist/m365/spo/commands/feature/feature-enable.js +6 -5
- package/dist/m365/spo/commands/page/Page.js +1 -1
- package/dist/m365/spo/commands/page/page-add.js +1 -1
- package/dist/m365/spo/commands/page/page-get.js +1 -1
- package/dist/m365/spo/commands/page/page-header-set.js +1 -1
- package/dist/m365/spo/commands/page/page-remove.js +1 -1
- package/dist/m365/spo/commands/page/page-set.js +2 -2
- package/dist/m365/spo/commands/page/page-text-add.js +1 -1
- package/dist/m365/spo/commands/sitedesign/sitedesign-get.js +15 -14
- package/dist/m365/spo/commands/sitedesign/sitedesign-remove.js +22 -22
- package/dist/m365/spo/commands/user/user-get.js +7 -1
- package/dist/m365/todo/commands/task/task-list.js +8 -10
- package/dist/m365/todo/commands/task/task-remove.js +36 -36
- package/dist/m365/todo/commands/task/task-set.js +11 -13
- package/dist/m365/yammer/commands/group/group-user-remove.js +22 -23
- package/dist/telemetry.js +30 -14
- package/dist/telemetryRunner.js +26 -0
- package/dist/utils/odata.js +20 -19
- package/dist/utils/prompt.js +16 -0
- package/docs/docs/cmd/aad/group/group-user-list.mdx +135 -0
- package/docs/docs/cmd/aad/license/license-list.mdx +21 -16
- package/docs/docs/cmd/aad/m365group/m365group-add.mdx +1 -1
- package/docs/docs/cmd/aad/m365group/m365group-remove.mdx +11 -1
- package/docs/docs/cmd/aad/user/user-add.mdx +2 -4
- package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -4
- package/docs/docs/cmd/aad/user/user-license-list.mdx +3 -5
- package/docs/docs/cmd/aad/user/user-recyclebinitem-list.mdx +1 -3
- package/docs/docs/cmd/aad/user/user-recyclebinitem-restore.mdx +1 -3
- package/docs/docs/cmd/flow/environment/environment-get.mdx +3 -4
- package/docs/docs/cmd/flow/environment/environment-list.mdx +3 -4
- package/docs/docs/cmd/flow/owner/owner-list.mdx +2 -3
- package/docs/docs/cmd/flow/run/run-list.mdx +6 -8
- package/docs/docs/cmd/graph/schemaextension/schemaextension-list.mdx +2 -3
- package/docs/docs/cmd/onenote/page/page-list.mdx +6 -9
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -15
- package/docs/docs/cmd/outlook/message/message-list.mdx +5 -14
- package/docs/docs/cmd/outlook/room/room-list.mdx +3 -6
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +1 -3
- package/docs/docs/cmd/pa/app/app-get.mdx +4 -7
- package/docs/docs/cmd/pa/app/app-list.mdx +4 -7
- package/docs/docs/cmd/pa/connector/connector-list.mdx +2 -4
- package/docs/docs/cmd/pa/environment/environment-get.mdx +2 -4
- package/docs/docs/cmd/pa/environment/environment-list.mdx +1 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +4 -11
- package/docs/docs/cmd/planner/plan/plan-get.mdx +4 -9
- package/docs/docs/cmd/planner/plan/plan-list.mdx +3 -6
- package/docs/docs/cmd/planner/plan/plan-set.mdx +3 -9
- package/docs/docs/cmd/planner/roster/roster-member-add.mdx +2 -4
- package/docs/docs/cmd/planner/roster/roster-member-get.mdx +2 -4
- package/docs/docs/cmd/planner/roster/roster-member-list.mdx +1 -3
- package/docs/docs/cmd/planner/task/task-add.mdx +4 -14
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +2 -4
- package/docs/docs/cmd/planner/task/task-checklistitem-list.mdx +1 -3
- package/docs/docs/cmd/planner/task/task-get.mdx +0 -7
- package/docs/docs/cmd/planner/task/task-list.mdx +1 -5
- package/docs/docs/cmd/planner/task/task-reference-add.mdx +0 -2
- package/docs/docs/cmd/planner/task/task-reference-list.mdx +0 -2
- package/docs/docs/cmd/planner/task/task-set.mdx +4 -13
- package/docs/docs/cmd/planner/tenant/tenant-settings-list.mdx +1 -3
- package/docs/docs/cmd/planner/tenant/tenant-settings-set.mdx +3 -5
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +6 -8
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -7
- package/docs/docs/cmd/pp/card/card-get.mdx +4 -8
- package/docs/docs/cmd/pp/card/card-list.mdx +0 -4
- package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +4 -6
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +3 -14
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +3 -14
- package/docs/docs/cmd/pp/environment/environment-get.mdx +3 -5
- package/docs/docs/cmd/pp/environment/environment-list.mdx +2 -4
- package/docs/docs/cmd/pp/gateway/gateway-get.mdx +0 -3
- package/docs/docs/cmd/pp/gateway/gateway-list.mdx +1 -4
- package/docs/docs/cmd/purview/auditlog/auditlog-list.mdx +4 -0
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +3 -8
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +1 -3
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +1 -5
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -2
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +1 -3
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +1 -3
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-get.mdx +3 -6
- package/docs/docs/cmd/purview/sensitivitylabel/sensitivitylabel-list.mdx +3 -5
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +4 -8
- package/docs/docs/cmd/spo/app/app-add.mdx +94 -7
- package/docs/docs/cmd/spo/app/app-deploy.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-get.mdx +117 -8
- package/docs/docs/cmd/spo/app/app-install.mdx +9 -5
- package/docs/docs/cmd/spo/app/app-instance-list.mdx +85 -2
- package/docs/docs/cmd/spo/app/app-list.mdx +95 -3
- package/docs/docs/cmd/spo/app/app-remove.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-retract.mdx +9 -5
- package/docs/docs/cmd/spo/app/app-teamspackage-download.mdx +12 -8
- package/docs/docs/cmd/spo/app/app-uninstall.mdx +11 -7
- package/docs/docs/cmd/spo/app/app-upgrade.mdx +9 -5
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +4 -2
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +9 -7
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +6 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +12 -6
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +4 -2
- package/docs/docs/cmd/spo/apppage/apppage-add.mdx +54 -5
- package/docs/docs/cmd/spo/apppage/apppage-set.mdx +8 -4
- package/docs/docs/cmd/spo/cdn/cdn-get.mdx +36 -1
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +7 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +48 -3
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +8 -4
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +53 -3
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +7 -3
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +7 -3
- package/docs/docs/cmd/spo/commandset/commandset-add.mdx +6 -6
- package/docs/docs/cmd/spo/commandset/commandset-get.mdx +3 -5
- package/docs/docs/cmd/spo/commandset/commandset-list.mdx +6 -5
- package/docs/docs/cmd/spo/commandset/commandset-remove.mdx +7 -3
- package/docs/docs/cmd/spo/commandset/commandset-set.mdx +6 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +148 -9
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.mdx +19 -15
- package/docs/docs/cmd/spo/contenttype/contenttype-field-set.mdx +12 -8
- package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +147 -8
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +115 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +8 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +8 -4
- package/docs/docs/cmd/spo/contenttypehub/contenttypehub-get.mdx +44 -0
- package/docs/docs/cmd/spo/customaction/customaction-add.mdx +12 -8
- package/docs/docs/cmd/spo/customaction/customaction-clear.mdx +10 -7
- package/docs/docs/cmd/spo/customaction/customaction-get.mdx +11 -15
- package/docs/docs/cmd/spo/customaction/customaction-list.mdx +87 -5
- package/docs/docs/cmd/spo/customaction/customaction-remove.mdx +17 -13
- package/docs/docs/cmd/spo/customaction/customaction-set.mdx +27 -23
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.mdx +29 -14
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-list.mdx +66 -5
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.mdx +4 -0
- package/docs/docs/cmd/spo/externaluser/externaluser-list.mdx +78 -7
- package/docs/docs/cmd/spo/feature/feature-disable.mdx +10 -6
- package/docs/docs/cmd/spo/feature/feature-enable.mdx +9 -5
- package/docs/docs/cmd/spo/feature/feature-list.mdx +52 -0
- package/docs/docs/cmd/spo/field/field-add.mdx +177 -11
- package/docs/docs/cmd/spo/field/field-get.mdx +175 -9
- package/docs/docs/cmd/spo/field/field-list.mdx +135 -8
- package/docs/docs/cmd/spo/field/field-remove.mdx +16 -12
- package/docs/docs/cmd/spo/field/field-set.mdx +15 -11
- package/docs/docs/cmd/spo/file/file-add.mdx +31 -27
- package/docs/docs/cmd/spo/file/file-checkin.mdx +13 -9
- package/docs/docs/cmd/spo/file/file-checkout.mdx +9 -5
- package/docs/docs/cmd/spo/file/file-copy.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-get.mdx +89 -18
- package/docs/docs/cmd/spo/file/file-list.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-move.mdx +5 -5
- package/docs/docs/cmd/spo/file/file-remove.mdx +13 -9
- package/docs/docs/cmd/spo/file/file-rename.mdx +63 -5
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +4 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +7 -3
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +9 -5
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +10 -6
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +133 -5
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +21 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +18 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +20 -3
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +2 -7
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +7 -7
- package/docs/docs/cmd/spo/file/file-version-get.mdx +28 -6
- package/docs/docs/cmd/spo/file/file-version-list.mdx +28 -6
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +8 -8
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +8 -8
- package/docs/docs/cmd/spo/folder/folder-add.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-get.mdx +257 -3
- package/docs/docs/cmd/spo/folder/folder-list.mdx +3 -4
- package/docs/docs/cmd/spo/folder/folder-move.mdx +5 -5
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +6 -2
- package/docs/docs/cmd/spo/folder/folder-rename.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +3 -3
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +13 -8
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +8 -4
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +4 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +5 -1
- package/docs/docs/cmd/spo/group/group-add.mdx +78 -0
- package/docs/docs/cmd/spo/group/group-get.mdx +81 -3
- package/docs/docs/cmd/spo/group/group-list.mdx +74 -3
- package/docs/docs/cmd/spo/group/group-member-add.mdx +13 -21
- package/docs/docs/cmd/spo/group/group-member-list.mdx +80 -5
- package/docs/docs/cmd/spo/group/group-member-remove.mdx +4 -4
- package/docs/docs/cmd/spo/group/group-remove.mdx +10 -6
- package/docs/docs/cmd/spo/group/group-set.mdx +9 -5
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-get.mdx +36 -1
- package/docs/docs/cmd/spo/hidedefaultthemes/hidedefaultthemes-set.mdx +6 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +0 -2
- package/docs/docs/cmd/spo/list/list-get.mdx +1 -4
- package/docs/docs/cmd/spo/list/list-list.mdx +0 -4
- package/docs/docs/cmd/spo/list/list-view-add.mdx +0 -3
- package/docs/docs/cmd/spo/list/list-view-get.mdx +9 -12
- package/docs/docs/cmd/spo/list/list-view-list.mdx +4 -7
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +8 -11
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +0 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +4 -6
- package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +0 -2
- package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +4 -6
- package/docs/docs/cmd/spo/page/page-copy.mdx +4 -8
- package/docs/docs/cmd/spo/page/page-get.mdx +2 -5
- package/docs/docs/cmd/spo/page/page-list.mdx +1 -5
- package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +4 -4
- package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +6 -7
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +3 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +5 -3
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +4 -2
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +2 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +2 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +5 -2
- package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +4 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +5 -1
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +3 -1
- package/docs/docs/cmd/spo/user/user-get.mdx +6 -0
- package/docs/docs/cmd/teams/channel/channel-member-list.mdx +3 -5
- package/docs/docs/cmd/teams/channel/channel-member-set.mdx +0 -2
- package/docs/docs/cmd/teams/chat/chat-get.mdx +2 -4
- package/docs/docs/cmd/teams/chat/chat-list.mdx +1 -3
- package/docs/docs/cmd/teams/chat/chat-member-list.mdx +2 -4
- package/docs/docs/cmd/teams/message/message-get.mdx +0 -7
- package/docs/docs/cmd/teams/message/message-list.mdx +0 -6
- package/docs/docs/cmd/teams/message/message-reply-list.mdx +0 -6
- package/docs/docs/cmd/teams/tab/tab-add.mdx +10 -12
- package/docs/docs/cmd/teams/tab/tab-get.mdx +8 -10
- package/docs/docs/cmd/teams/tab/tab-list.mdx +4 -7
- package/docs/docs/cmd/teams/team/team-add.mdx +0 -7
- package/docs/docs/cmd/teams/team/team-get.mdx +0 -6
- package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +1 -1
- package/docs/docs/cmd/todo/task/task-add.mdx +9 -13
- package/docs/docs/cmd/todo/task/task-set.mdx +10 -14
- package/eslint-rules/lib/index.js +2 -1
- package/eslint-rules/lib/rules/no-by-server-relative-url-usage.js +55 -0
- package/npm-shrinkwrap.json +86 -82
- package/package.json +52 -31
|
@@ -42,13 +42,13 @@ m365 spo group member remove [options]
|
|
|
42
42
|
|
|
43
43
|
## Examples
|
|
44
44
|
|
|
45
|
-
Remove a user from a SharePoint group based on the id on a given web
|
|
45
|
+
Remove a user from a SharePoint group based on the id on a given web.
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
48
|
m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com"
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
Remove a user from a SharePoint group based on the username on a given web
|
|
51
|
+
Remove a user from a SharePoint group based on the username on a given web.
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
54
|
m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --email "Alex.Wilber@contoso.com"
|
|
@@ -60,13 +60,13 @@ Remove a user from a SharePoint group by email.
|
|
|
60
60
|
m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --userId 14
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
Remove an Azure AD group from a SharePoint group based on the Azure AD group name on a given web
|
|
63
|
+
Remove an Azure AD group from a SharePoint group based on the Azure AD group name on a given web.
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
66
|
m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --aadGroupName "Azure AD Security Group"
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Remove an Azure AD group from a SharePoint group based on the Azure AD group ID on a given web
|
|
69
|
+
Remove an Azure AD group from a SharePoint group based on the Azure AD group ID on a given web.
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
72
|
m365 spo group member remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --aadGroupId "5786b8e8-c495-4734-b345-756733960730"
|
|
@@ -14,30 +14,34 @@ m365 spo group remove [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: Url of the web to remove the group from
|
|
17
|
+
: Url of the web to remove the group from.
|
|
18
18
|
|
|
19
19
|
`--id [id]`
|
|
20
|
-
: ID of the group to remove. Use ID or name but not both
|
|
20
|
+
: ID of the group to remove. Use ID or name but not both.
|
|
21
21
|
|
|
22
22
|
`--name [name]`
|
|
23
|
-
: Name of the group to remove. Use ID or name but not both
|
|
23
|
+
: Name of the group to remove. Use ID or name but not both.
|
|
24
24
|
|
|
25
25
|
`-f, --force`
|
|
26
|
-
: Confirm removal of the group
|
|
26
|
+
: Confirm removal of the group.
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
<Global />
|
|
30
30
|
|
|
31
31
|
## Examples
|
|
32
32
|
|
|
33
|
-
Removes group with id
|
|
33
|
+
Removes group with id from the specified web.
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
36
|
m365 spo group remove --webUrl https://contoso.sharepoint.com/sites/mysite --id 5
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
Removes group with name
|
|
39
|
+
Removes group with name from the specified web.
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
42
|
m365 spo group remove --webUrl https://contoso.sharepoint.com/sites/mysite --name "Team Site Owners"
|
|
43
43
|
```
|
|
44
|
+
|
|
45
|
+
## Response
|
|
46
|
+
|
|
47
|
+
The command won't return a response on success.
|
|
@@ -54,20 +54,24 @@ m365 spo group set [options]
|
|
|
54
54
|
|
|
55
55
|
## Examples
|
|
56
56
|
|
|
57
|
-
Update group title and description
|
|
57
|
+
Update group title and description.
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
|
-
m365 spo group set --webUrl https://contoso.sharepoint.com/sites/project-x --id 18 --
|
|
60
|
+
m365 spo group set --webUrl https://contoso.sharepoint.com/sites/project-x --id 18 --newName "Project leaders" --description "This group contains all project leaders"
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
Update group with membership requests
|
|
63
|
+
Update group with membership requests.
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
|
-
m365 spo group set --webUrl https://contoso.sharepoint.com/sites/project-x --
|
|
66
|
+
m365 spo group set --webUrl https://contoso.sharepoint.com/sites/project-x --name "Project leaders" --allowRequestToJoinLeave true --requestToJoinLeaveEmailSetting john.doe@contoso.com
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Sets a specified user as group owner
|
|
69
|
+
Sets a specified user as group owner.
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
72
|
m365 spo group set --webUrl https://contoso.sharepoint.com/sites/project-x --id 18 --ownerEmail john.doe@contoso.com
|
|
73
73
|
```
|
|
74
|
+
|
|
75
|
+
## Response
|
|
76
|
+
|
|
77
|
+
The command won't return a response on success.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo hidedefaultthemes get
|
|
4
6
|
|
|
@@ -24,12 +26,45 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
24
26
|
|
|
25
27
|
## Examples
|
|
26
28
|
|
|
27
|
-
Get the current value of the HideDefaultThemes setting
|
|
29
|
+
Get the current value of the HideDefaultThemes setting.
|
|
28
30
|
|
|
29
31
|
```sh
|
|
30
32
|
m365 spo hidedefaultthemes get
|
|
31
33
|
```
|
|
32
34
|
|
|
35
|
+
## Response
|
|
36
|
+
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="JSON">
|
|
39
|
+
|
|
40
|
+
```json
|
|
41
|
+
false
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
<TabItem value="Text">
|
|
46
|
+
|
|
47
|
+
```text
|
|
48
|
+
false
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
</TabItem>
|
|
52
|
+
<TabItem value="CSV">
|
|
53
|
+
|
|
54
|
+
```csv
|
|
55
|
+
false
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
</TabItem>
|
|
59
|
+
<TabItem value="Markdown">
|
|
60
|
+
|
|
61
|
+
```md
|
|
62
|
+
false
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
</Tabs>
|
|
67
|
+
|
|
33
68
|
## More information
|
|
34
69
|
|
|
35
70
|
- SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -14,7 +14,7 @@ m365 spo hidedefaultthemes set [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`--hideDefaultThemes <hideDefaultThemes>`
|
|
17
|
-
: Set to `true` to hide default themes and to `false` to show them
|
|
17
|
+
: Set to `true` to hide default themes and to `false` to show them.
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
<Global />
|
|
@@ -29,12 +29,16 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Hide default themes and allow users to use organization themes only
|
|
32
|
+
Hide default themes and allow users to use organization themes only.
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 spo hidedefaultthemes set --hideDefaultThemes true
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
The command won't return a response on success.
|
|
41
|
+
|
|
38
42
|
## More information
|
|
39
43
|
|
|
40
44
|
- SharePoint site theming: [https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview](https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-theming/sharepoint-site-theming-overview)
|
|
@@ -118,13 +118,11 @@ m365 spo hubsite data get --webUrl https://contoso.sharepoint.com/sites/project-
|
|
|
118
118
|
logoFileHash | 637696294610000000
|
|
119
119
|
usesMetadataNavigation | false
|
|
120
120
|
megaMenuEnabled | true
|
|
121
|
-
navigation | []
|
|
122
121
|
isNavAudienceTargeted | false
|
|
123
122
|
siteDesignId | 184644fb-90ed-4841-a7ad-6930cf819060
|
|
124
123
|
requiresJoinApproval | false
|
|
125
124
|
hideNameInNavigation | false
|
|
126
125
|
parentHubSiteId | 1e1232eb-1a78-4726-8bb9-56af3640228d
|
|
127
|
-
relatedHubSiteIds | ["af80c11f-0138-4d72-bb37-514542c3aabb"]
|
|
128
126
|
tenantInstanceId | 4d128b52-7228-46b5-8765-5b338476054d
|
|
129
127
|
isSameTenantInstance | true
|
|
130
128
|
```
|
|
@@ -375,7 +375,6 @@ m365 spo list add --webUrl https://contoso.sharepoint.com/sites/project-x --titl
|
|
|
375
375
|
ContentTypesEnabled | false
|
|
376
376
|
CrawlNonDefaultViews | false
|
|
377
377
|
Created | 2022-11-16T19:51:42Z
|
|
378
|
-
CurrentChangeToken | {"StringValue":"1;3;ea3dc19f-bc1f-4b77-afb8-14e08f4c0f6d;638042251016970000;564165920"}
|
|
379
378
|
DefaultContentApprovalWorkflowId | 00000000-0000-0000-0000-000000000000
|
|
380
379
|
DefaultItemOpenUseListSetting | false
|
|
381
380
|
Description |
|
|
@@ -397,7 +396,6 @@ m365 spo list add --webUrl https://contoso.sharepoint.com/sites/project-x --titl
|
|
|
397
396
|
HasExternalDataSource | false
|
|
398
397
|
Hidden | false
|
|
399
398
|
Id | ea3dc19f-bc1f-4b77-afb8-14e08f4c0f6d
|
|
400
|
-
ImagePath | {"DecodedUrl":"/\/_layouts/15/images/itgen.png?rev=47"}
|
|
401
399
|
ImageUrl | /\/_layouts/15/images/itgen.png?rev=47
|
|
402
400
|
DefaultSensitivityLabelForLibrary |
|
|
403
401
|
IrmEnabled | false
|
|
@@ -416,7 +414,6 @@ m365 spo list add --webUrl https://contoso.sharepoint.com/sites/project-x --titl
|
|
|
416
414
|
MajorWithMinorVersionsLimit | 0
|
|
417
415
|
MultipleDataList | false
|
|
418
416
|
NoCrawl | false
|
|
419
|
-
ParentWebPath | {"DecodedUrl":"/"}
|
|
420
417
|
ParentWebUrl | /
|
|
421
418
|
ParserDisabled | false
|
|
422
419
|
ServerTemplateCanCreateFolders | true
|
|
@@ -171,7 +171,6 @@ m365 spo list contenttype add --webUrl https://contoso.sharepoint.com/sites/proj
|
|
|
171
171
|
EditFormUrl |
|
|
172
172
|
Group | List Content Types
|
|
173
173
|
Hidden | false
|
|
174
|
-
Id | {"StringValue":"0x01000B1208C5D23DF44B9F1AEE7373DE9D5E"}
|
|
175
174
|
JSLink |
|
|
176
175
|
MobileDisplayFormUrl |
|
|
177
176
|
MobileEditFormUrl |
|
|
@@ -191,4 +190,3 @@ m365 spo list contenttype add --webUrl https://contoso.sharepoint.com/sites/proj
|
|
|
191
190
|
|
|
192
191
|
</TabItem>
|
|
193
192
|
</Tabs>
|
|
194
|
-
|
|
@@ -141,7 +141,6 @@ m365 spo list contenttype list --webUrl https://contoso.sharepoint.com/sites/pro
|
|
|
141
141
|
EditFormUrl |
|
|
142
142
|
Group | List Content Types
|
|
143
143
|
Hidden | false
|
|
144
|
-
Id | {"StringValue":"0x01000B1208C5D23DF44B9F1AEE7373DE9D5E"}
|
|
145
144
|
JSLink |
|
|
146
145
|
MobileDisplayFormUrl |
|
|
147
146
|
MobileEditFormUrl |
|
|
@@ -161,4 +160,3 @@ m365 spo list contenttype list --webUrl https://contoso.sharepoint.com/sites/pro
|
|
|
161
160
|
|
|
162
161
|
</TabItem>
|
|
163
162
|
</Tabs>
|
|
164
|
-
|
|
@@ -238,7 +238,6 @@ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/site
|
|
|
238
238
|
ContentTypesEnabled | false
|
|
239
239
|
CrawlNonDefaultViews | false
|
|
240
240
|
Created | 2022-10-23T09:30:00Z
|
|
241
|
-
CurrentChangeToken | {"StringValue":"1;3;97d19285-b8a6-4c7f-9c6c-d6b850a6561a;638042258222730000;564169620"}
|
|
242
241
|
DefaultContentApprovalWorkflowId | 00000000-0000-0000-0000-000000000000
|
|
243
242
|
DefaultItemOpenUseListSetting | false
|
|
244
243
|
Description |
|
|
@@ -260,7 +259,6 @@ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/site
|
|
|
260
259
|
HasExternalDataSource | false
|
|
261
260
|
Hidden | false
|
|
262
261
|
Id | 97d19285-b8a6-4c7f-9c6c-d6b850a6561a
|
|
263
|
-
ImagePath | {"DecodedUrl":"/\_layouts/15/images/itgen.png?rev=47"}
|
|
264
262
|
ImageUrl | /\_layouts/15/images/itgen.png?rev=47
|
|
265
263
|
DefaultSensitivityLabelForLibrary |
|
|
266
264
|
IrmEnabled | false
|
|
@@ -279,8 +277,7 @@ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/site
|
|
|
279
277
|
MajorWithMinorVersionsLimit | 0
|
|
280
278
|
MultipleDataList | false
|
|
281
279
|
NoCrawl | false
|
|
282
|
-
|
|
283
|
-
ParentWebUrl | /
|
|
280
|
+
ParentWebUrl | /
|
|
284
281
|
ParserDisabled | false
|
|
285
282
|
ServerTemplateCanCreateFolders | true
|
|
286
283
|
TemplateFeatureId | 00bfea71-de22-43b2-a848-c05709900100
|
|
@@ -167,7 +167,6 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
|
|
|
167
167
|
ContentTypesEnabled | false
|
|
168
168
|
CrawlNonDefaultViews | false
|
|
169
169
|
Created | 2020-01-12T01:03:13Z
|
|
170
|
-
CurrentChangeToken | {"StringValue":"1;3;66e5148c-7060-4479-88e7-636d79579148;638042267256930000;564174226"}
|
|
171
170
|
DefaultContentApprovalWorkflowId | 00000000-0000-0000-0000-000000000000
|
|
172
171
|
DefaultItemOpenUseListSetting | false
|
|
173
172
|
Description | Use the theme gallery to store themes. The themes in this gallery can be used by this site or any of its subsites.
|
|
@@ -189,7 +188,6 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
|
|
|
189
188
|
HasExternalDataSource | false
|
|
190
189
|
Hidden | true
|
|
191
190
|
Id | 66e5148c-7060-4479-88e7-636d79579148
|
|
192
|
-
ImagePath | {"DecodedUrl":"/\_layouts/15/images/itdl.png?rev=47"}
|
|
193
191
|
ImageUrl | /\_layouts/15/images/itdl.png?rev=47
|
|
194
192
|
DefaultSensitivityLabelForLibrary |
|
|
195
193
|
IrmEnabled | false
|
|
@@ -208,13 +206,11 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
|
|
|
208
206
|
MajorWithMinorVersionsLimit | 0
|
|
209
207
|
MultipleDataList | false
|
|
210
208
|
NoCrawl | false
|
|
211
|
-
ParentWebPath | {"DecodedUrl":"/"}
|
|
212
209
|
ParentWebUrl | /
|
|
213
210
|
ParserDisabled | false
|
|
214
211
|
ServerTemplateCanCreateFolders | true
|
|
215
212
|
TemplateFeatureId | 00000000-0000-0000-0000-000000000000
|
|
216
213
|
Title | Theme Gallery
|
|
217
|
-
RootFolder | {"ServerRelativeUrl":"//\_catalogs/theme"}
|
|
218
214
|
Url | //\_catalogs/theme
|
|
219
215
|
```
|
|
220
216
|
|
|
@@ -223,7 +223,6 @@ m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x -
|
|
|
223
223
|
BaseViewId | null
|
|
224
224
|
CalendarViewStyles | null
|
|
225
225
|
ColumnWidth | null
|
|
226
|
-
ContentTypeId | {"StringValue":"0x"}
|
|
227
226
|
CustomFormatter | null
|
|
228
227
|
CustomOrder | null
|
|
229
228
|
DefaultView | false
|
|
@@ -253,7 +252,6 @@ m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x -
|
|
|
253
252
|
RequiresClientIntegration | false
|
|
254
253
|
RowLimit | 30
|
|
255
254
|
Scope | 0
|
|
256
|
-
ServerRelativePath | {"DecodedUrl":"/Lists/Test/All events.aspx"}
|
|
257
255
|
ServerRelativeUrl | /Lists/Test/All events.aspx
|
|
258
256
|
StyleId | null
|
|
259
257
|
TabularView | true
|
|
@@ -269,4 +267,3 @@ m365 spo list view add --webUrl https://contoso.sharepoint.com/sites/project-x -
|
|
|
269
267
|
|
|
270
268
|
</TabItem>
|
|
271
269
|
</Tabs>
|
|
272
|
-
|
|
@@ -16,41 +16,41 @@ m365 spo list view get [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-u, --webUrl <webUrl>`
|
|
19
|
-
: URL of the site where the list is located
|
|
19
|
+
: URL of the site where the list is located.
|
|
20
20
|
|
|
21
21
|
`--listId [listId]`
|
|
22
|
-
: ID of the list where the view is located. Specify only one of `listTitle`, `listId` or `listUrl
|
|
22
|
+
: ID of the list where the view is located. Specify only one of `listTitle`, `listId` or `listUrl`.
|
|
23
23
|
|
|
24
24
|
`--listTitle [listTitle]`
|
|
25
|
-
: Title of the list where the view is located. Specify only one of `listTitle`, `listId` or `listUrl
|
|
25
|
+
: Title of the list where the view is located. Specify only one of `listTitle`, `listId` or `listUrl`.
|
|
26
26
|
|
|
27
27
|
`--listUrl [listUrl]`
|
|
28
|
-
: Server- or web-relative URL of the list where the view is located. Specify only one of `listTitle`, `listId` or `listUrl
|
|
28
|
+
: Server- or web-relative URL of the list where the view is located. Specify only one of `listTitle`, `listId` or `listUrl`.
|
|
29
29
|
|
|
30
30
|
`--id [id]`
|
|
31
|
-
: ID of the view to get. Specify `title` or `id` but not both
|
|
31
|
+
: ID of the view to get. Specify `title` or `id` but not both.
|
|
32
32
|
|
|
33
33
|
`--title [title]`
|
|
34
|
-
: Title of the view to get. Specify `title` or `id` but not both
|
|
34
|
+
: Title of the view to get. Specify `title` or `id` but not both.
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
<Global />
|
|
38
38
|
|
|
39
39
|
## Examples
|
|
40
40
|
|
|
41
|
-
Gets a list view by name from a list located in site
|
|
41
|
+
Gets a list view by name from a list located in the specified site.
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle 'My List' --title 'All Items'
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Gets a list view by ID from a list located in site
|
|
47
|
+
Gets a list view by ID from a list located in the specified site.
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl 'Lists/My List' --id 330f29c5-5c4c-465f-9f4b-7903020ae1ce
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
Gets a list view by name from a list located in site
|
|
53
|
+
Gets a list view by name from a list located in the specified site. Retrieve the list by its ID
|
|
54
54
|
|
|
55
55
|
```sh
|
|
56
56
|
m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x --listId 330f29c5-5c4c-465f-9f4b-7903020ae1c1 --title 'All Items'
|
|
@@ -198,7 +198,6 @@ m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x -
|
|
|
198
198
|
BaseViewId | 1
|
|
199
199
|
CalendarViewStyles | null
|
|
200
200
|
ColumnWidth | null
|
|
201
|
-
ContentTypeId | {"StringValue":"0x"}
|
|
202
201
|
CustomFormatter |
|
|
203
202
|
CustomOrder | null
|
|
204
203
|
DefaultView | true
|
|
@@ -228,7 +227,6 @@ m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x -
|
|
|
228
227
|
RequiresClientIntegration | false
|
|
229
228
|
RowLimit | 30
|
|
230
229
|
Scope | 0
|
|
231
|
-
ServerRelativePath | {"DecodedUrl":"/teams/AllStars/Lists/My List/AllItems.aspx"}
|
|
232
230
|
ServerRelativeUrl | /teams/AllStars/Lists/My List/AllItems.aspx
|
|
233
231
|
StyleId | null
|
|
234
232
|
TabularView | true
|
|
@@ -244,4 +242,3 @@ m365 spo list view get --webUrl https://contoso.sharepoint.com/sites/project-x -
|
|
|
244
242
|
|
|
245
243
|
</TabItem>
|
|
246
244
|
</Tabs>
|
|
247
|
-
|
|
@@ -16,7 +16,7 @@ m365 spo list view list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-u, --webUrl <webUrl>`
|
|
19
|
-
: URL of the site where the list is located
|
|
19
|
+
: URL of the site where the list is located.
|
|
20
20
|
|
|
21
21
|
`-i, --listId [listId]`
|
|
22
22
|
: ID of the list for which to list configured views. Specify either `listId`, `listTitle`, or `listUrl`.
|
|
@@ -32,19 +32,19 @@ m365 spo list view list [options]
|
|
|
32
32
|
|
|
33
33
|
## Examples
|
|
34
34
|
|
|
35
|
-
List all views for a list by title
|
|
35
|
+
List all views for a list by title.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle Documents
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
List all views for a list by ID
|
|
41
|
+
List all views for a list by ID.
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
44
|
m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
List all views for a list by URL
|
|
47
|
+
List all views for a list by URL.
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
50
|
m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl '/sites/project-x/lists/Events'
|
|
@@ -149,7 +149,6 @@ m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
|
149
149
|
BaseViewId | 1
|
|
150
150
|
CalendarViewStyles | null
|
|
151
151
|
ColumnWidth | null
|
|
152
|
-
ContentTypeId | {"StringValue":"0x"}
|
|
153
152
|
CustomFormatter |
|
|
154
153
|
CustomOrder | null
|
|
155
154
|
DefaultView | true
|
|
@@ -179,7 +178,6 @@ m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
|
179
178
|
RequiresClientIntegration | false
|
|
180
179
|
RowLimit | 30
|
|
181
180
|
Scope | 0
|
|
182
|
-
ServerRelativePath | {"DecodedUrl":"/teams/AllStars/Lists/My List/AllItems.aspx"}
|
|
183
181
|
ServerRelativeUrl | /teams/AllStars/Lists/My List/AllItems.aspx
|
|
184
182
|
StyleId | null
|
|
185
183
|
TabularView | true
|
|
@@ -195,4 +193,3 @@ m365 spo list view list --webUrl https://contoso.sharepoint.com/sites/project-x
|
|
|
195
193
|
|
|
196
194
|
</TabItem>
|
|
197
195
|
</Tabs>
|
|
198
|
-
|
|
@@ -16,38 +16,38 @@ m365 spo listitem attachment list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-u, --webUrl <webUrl>`
|
|
19
|
-
: URL of the site from which the item should be retrieved
|
|
19
|
+
: URL of the site from which the item should be retrieved.
|
|
20
20
|
|
|
21
21
|
`--listId [listId]`
|
|
22
|
-
: ID of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl
|
|
22
|
+
: ID of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl`.
|
|
23
23
|
|
|
24
24
|
`--listTitle [listTitle]`
|
|
25
|
-
: Title of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl
|
|
25
|
+
: Title of the list where the item should be retrieved. Specify either `listTitle`, `listId` or `listUrl`.
|
|
26
26
|
|
|
27
27
|
`--listUrl [listUrl]`
|
|
28
|
-
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl
|
|
28
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`.
|
|
29
29
|
|
|
30
30
|
`--listItemId <listItemId>`
|
|
31
|
-
: ID of the list item
|
|
31
|
+
: ID of the list item.
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
35
35
|
|
|
36
36
|
## Examples
|
|
37
37
|
|
|
38
|
-
Gets the attachments from list item with listItemId
|
|
38
|
+
Gets the attachments from list item with the specified listItemId in list with the specified title in the specified site.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 spo listitem attachment list --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List" --listItemId 147
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Gets the attachments from list item with listItemId
|
|
44
|
+
Gets the attachments from list item with the specified listItemId in list with the specified id in the specified site.
|
|
45
45
|
|
|
46
46
|
```sh
|
|
47
47
|
m365 spo listitem attachment list --webUrl https://contoso.sharepoint.com/sites/project-x --listId 0cd891ef-afce-4e55-b836-fce03286cccf --listItemId 147
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
Gets the attachments from a specific list item in a specific list obtained by server-relative URL in a specific site
|
|
50
|
+
Gets the attachments from a specific list item in a specific list obtained by server-relative URL in a specific site.
|
|
51
51
|
|
|
52
52
|
```sh
|
|
53
53
|
m365 spo listitem attachment list --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl /sites/project-x/Documents --listItemId 147
|
|
@@ -101,11 +101,8 @@ m365 spo listitem attachment list --webUrl https://contoso.sharepoint.com/sites/
|
|
|
101
101
|
Property | Value
|
|
102
102
|
---------|-------
|
|
103
103
|
FileName | DummyDocument.docx
|
|
104
|
-
FileNameAsPath | {"DecodedUrl":"DummyDocument.docx"}
|
|
105
|
-
ServerRelativePath | {"DecodedUrl":"/Lists/Test/Attachments/236/DummyDocument.docx"}
|
|
106
104
|
ServerRelativeUrl | /Lists/Test/Attachments/236/DummyDocument.docx
|
|
107
105
|
```
|
|
108
106
|
|
|
109
107
|
</TabItem>
|
|
110
108
|
</Tabs>
|
|
111
|
-
|
|
@@ -323,9 +323,7 @@ When we make use of the option `withPermissions` the response will differ.
|
|
|
323
323
|
OData\_\_UIVersionString | 3.0
|
|
324
324
|
Attachments | false
|
|
325
325
|
GUID | 87f3138d-fac3-4126-97c0-543e55672261
|
|
326
|
-
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}]
|
|
327
326
|
```
|
|
328
327
|
|
|
329
328
|
</TabItem>
|
|
330
329
|
</Tabs>
|
|
331
|
-
|
|
@@ -48,25 +48,25 @@ To enable/disable audience targeting for the navigation bar, use the [`spo web s
|
|
|
48
48
|
|
|
49
49
|
## Examples
|
|
50
50
|
|
|
51
|
-
Add a navigation node pointing to a SharePoint page to the top navigation
|
|
51
|
+
Add a navigation node pointing to a SharePoint page to the top navigation.
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
54
|
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location TopNavigationBar --title About --url /sites/team-s/sitepages/about.aspx
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Add a navigation node pointing to an external page to the quick launch
|
|
57
|
+
Add a navigation node pointing to an external page to the quick launch.
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
60
|
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch --title "About us" --url https://contoso.com/about-us --isExternal
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
Add a navigation node below an existing node and opens it in a new window
|
|
63
|
+
Add a navigation node below an existing node and opens it in a new window.
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
66
|
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --parentNodeId 2010 --title About --url /sites/team-s/sitepages/about.aspx --openInNewWindow
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Add a navigation node to the top navigation which is audience targetted and open it in a new window
|
|
69
|
+
Add a navigation node to the top navigation which is audience targetted and open it in a new window.
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
72
|
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location TopNavigationBar --title About --url /sites/team-s/sitepages/about.aspx --audienceIds "7aa4a1ca-4035-4f2f-bac7-7beada59b5ba,4bbf236f-a131-4019-b4a2-315902fcfa3a" --openInNewWindow
|
|
@@ -128,7 +128,6 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
128
128
|
|
|
129
129
|
Property | Value
|
|
130
130
|
---------|-------
|
|
131
|
-
AudienceIds | ["7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"]
|
|
132
131
|
CurrentLCID | 1033
|
|
133
132
|
Id | 2030
|
|
134
133
|
IsDocLib | true
|
|
@@ -141,4 +140,3 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
141
140
|
|
|
142
141
|
</TabItem>
|
|
143
142
|
</Tabs>
|
|
144
|
-
|
|
@@ -89,7 +89,6 @@ m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
89
89
|
|
|
90
90
|
Property | Value
|
|
91
91
|
---------|-------
|
|
92
|
-
AudienceIds | ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
|
|
93
92
|
CurrentLCID | 1033
|
|
94
93
|
Id | 2209
|
|
95
94
|
IsDocLib | true
|
|
@@ -102,4 +101,3 @@ m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
102
101
|
|
|
103
102
|
</TabItem>
|
|
104
103
|
</Tabs>
|
|
105
|
-
|
|
@@ -16,23 +16,23 @@ m365 spo navigation node list [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-u, --webUrl <webUrl>`
|
|
19
|
-
: Absolute URL of the site for which to retrieve navigation
|
|
19
|
+
: Absolute URL of the site for which to retrieve navigation.
|
|
20
20
|
|
|
21
21
|
`-l, --location <location>`
|
|
22
|
-
: Navigation type to retrieve. Available options: `QuickLaunch
|
|
22
|
+
: Navigation type to retrieve. Available options: `QuickLaunch`, `TopNavigationBar`.
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
Retrieve nodes from the top navigation
|
|
29
|
+
Retrieve nodes from the top navigation.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/team-a --location TopNavigationBar
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Retrieve nodes from the quick launch
|
|
35
|
+
Retrieve nodes from the quick launch.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch
|
|
@@ -90,7 +90,6 @@ m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/team
|
|
|
90
90
|
|
|
91
91
|
Property | Value
|
|
92
92
|
---------|-------
|
|
93
|
-
AudienceIds | ["5786b8e8-c495-4734-b345-756733960730"]
|
|
94
93
|
CurrentLCID | 1033
|
|
95
94
|
Id | 2032
|
|
96
95
|
IsDocLib | true
|
|
@@ -103,4 +102,3 @@ m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/team
|
|
|
103
102
|
|
|
104
103
|
</TabItem>
|
|
105
104
|
</Tabs>
|
|
106
|
-
|