@pnp/cli-microsoft365 7.1.0-beta.aca68bd → 7.1.0-beta.d53f0d9
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 +1 -1
- package/dist/appInsights.js +5 -9
- package/dist/cli/Cli.js +6 -2
- 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/user/user-get.js +7 -1
- package/dist/telemetry.js +30 -14
- package/dist/telemetryRunner.js +26 -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/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 +20 -19
|
@@ -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 group get
|
|
4
6
|
|
|
@@ -30,20 +32,96 @@ m365 spo group get [options]
|
|
|
30
32
|
|
|
31
33
|
## Examples
|
|
32
34
|
|
|
33
|
-
Get group with ID
|
|
35
|
+
Get group with ID for the specified web.
|
|
34
36
|
|
|
35
37
|
```sh
|
|
36
38
|
m365 spo group get --webUrl https://contoso.sharepoint.com/sites/project-x --id 7
|
|
37
39
|
```
|
|
38
40
|
|
|
39
|
-
Get group with name
|
|
41
|
+
Get group with name for the specified web.
|
|
40
42
|
|
|
41
43
|
```sh
|
|
42
44
|
m365 spo group get --webUrl https://contoso.sharepoint.com/sites/project-x --name "Team Site Members"
|
|
43
45
|
```
|
|
44
46
|
|
|
45
|
-
Get the associated owner group of a specified site
|
|
47
|
+
Get the associated owner group of a specified site.
|
|
46
48
|
|
|
47
49
|
```sh
|
|
48
50
|
m365 spo group get --webUrl https://contoso.sharepoint.com/sites/project-x --associatedGroup Owner
|
|
49
51
|
```
|
|
52
|
+
|
|
53
|
+
## Response
|
|
54
|
+
|
|
55
|
+
<Tabs>
|
|
56
|
+
<TabItem value="JSON">
|
|
57
|
+
|
|
58
|
+
```json
|
|
59
|
+
{
|
|
60
|
+
"Id": 40,
|
|
61
|
+
"IsHiddenInUI": false,
|
|
62
|
+
"LoginName": "Project leaders",
|
|
63
|
+
"Title": "Project leaders",
|
|
64
|
+
"PrincipalType": 8,
|
|
65
|
+
"AllowMembersEditMembership": false,
|
|
66
|
+
"AllowRequestToJoinLeave": false,
|
|
67
|
+
"AutoAcceptRequestToJoinLeave": false,
|
|
68
|
+
"Description": "This group contains all project leaders",
|
|
69
|
+
"OnlyAllowMembersViewMembership": true,
|
|
70
|
+
"OwnerTitle": "Jon Doe",
|
|
71
|
+
"RequestToJoinLeaveEmailSetting": null
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
<TabItem value="Text">
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
AllowMembersEditMembership : false
|
|
80
|
+
AllowRequestToJoinLeave : false
|
|
81
|
+
AutoAcceptRequestToJoinLeave : false
|
|
82
|
+
Description : This group contains all project leaders
|
|
83
|
+
Id : 40
|
|
84
|
+
IsHiddenInUI : false
|
|
85
|
+
LoginName : Project leaders
|
|
86
|
+
OnlyAllowMembersViewMembership: true
|
|
87
|
+
OwnerTitle : Jon Doe
|
|
88
|
+
PrincipalType : 8
|
|
89
|
+
RequestToJoinLeaveEmailSetting: null
|
|
90
|
+
Title : Project leaders
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
</TabItem>
|
|
94
|
+
<TabItem value="CSV">
|
|
95
|
+
|
|
96
|
+
```csv
|
|
97
|
+
Id,IsHiddenInUI,LoginName,Title,PrincipalType,AllowMembersEditMembership,AllowRequestToJoinLeave,AutoAcceptRequestToJoinLeave,Description,OnlyAllowMembersViewMembership,OwnerTitle
|
|
98
|
+
40,,Project leaders,Project leaders,8,,,,This group contains all project leaders,1,Jon Doe
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
</TabItem>
|
|
102
|
+
<TabItem value="Markdown">
|
|
103
|
+
|
|
104
|
+
```md
|
|
105
|
+
# spo group get --webUrl "https://contoso.sharepoint.com/sites/project-x" --name "Project leaders"
|
|
106
|
+
|
|
107
|
+
Date: 10/3/2023
|
|
108
|
+
|
|
109
|
+
## Project leaders (40)
|
|
110
|
+
|
|
111
|
+
Property | Value
|
|
112
|
+
---------|-------
|
|
113
|
+
Id | 40
|
|
114
|
+
IsHiddenInUI | false
|
|
115
|
+
LoginName | Project leaders
|
|
116
|
+
Title | Project leaders
|
|
117
|
+
PrincipalType | 8
|
|
118
|
+
AllowMembersEditMembership | false
|
|
119
|
+
AllowRequestToJoinLeave | false
|
|
120
|
+
AutoAcceptRequestToJoinLeave | false
|
|
121
|
+
Description | This group contains all project leaders
|
|
122
|
+
OnlyAllowMembersViewMembership | true
|
|
123
|
+
OwnerTitle | Jon Doe
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
</TabItem>
|
|
127
|
+
</Tabs>
|
|
@@ -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 group list
|
|
4
6
|
|
|
@@ -14,7 +16,7 @@ m365 spo group list [options]
|
|
|
14
16
|
|
|
15
17
|
```md definition-list
|
|
16
18
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: Url of the web to list the group within
|
|
19
|
+
: Url of the web to list the group within.
|
|
18
20
|
|
|
19
21
|
`--associatedGroupsOnly`
|
|
20
22
|
: Get only the associated visitor, member and owner groups of the site.
|
|
@@ -24,14 +26,83 @@ m365 spo group list [options]
|
|
|
24
26
|
|
|
25
27
|
## Examples
|
|
26
28
|
|
|
27
|
-
Lists all the groups within a specific web
|
|
29
|
+
Lists all the groups within a specific web.
|
|
28
30
|
|
|
29
31
|
```sh
|
|
30
32
|
m365 spo group list --webUrl "https://contoso.sharepoint.com/sites/contoso"
|
|
31
33
|
```
|
|
32
34
|
|
|
33
|
-
Lists the associated groups within a specific web
|
|
35
|
+
Lists the associated groups within a specific web.
|
|
34
36
|
|
|
35
37
|
```sh
|
|
36
38
|
m365 spo group list --webUrl "https://contoso.sharepoint.com/sites/contoso" --associatedGroupsOnly
|
|
37
39
|
```
|
|
40
|
+
|
|
41
|
+
## Response
|
|
42
|
+
|
|
43
|
+
<Tabs>
|
|
44
|
+
<TabItem value="JSON">
|
|
45
|
+
|
|
46
|
+
```json
|
|
47
|
+
[
|
|
48
|
+
{
|
|
49
|
+
"Id": 40,
|
|
50
|
+
"IsHiddenInUI": false,
|
|
51
|
+
"LoginName": "Project leaders",
|
|
52
|
+
"Title": "Project leaders",
|
|
53
|
+
"PrincipalType": 8,
|
|
54
|
+
"AllowMembersEditMembership": false,
|
|
55
|
+
"AllowRequestToJoinLeave": false,
|
|
56
|
+
"AutoAcceptRequestToJoinLeave": false,
|
|
57
|
+
"Description": "This group contains all project leaders",
|
|
58
|
+
"OnlyAllowMembersViewMembership": true,
|
|
59
|
+
"OwnerTitle": "Jon Doe",
|
|
60
|
+
"RequestToJoinLeaveEmailSetting": null
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="Text">
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
Id Title LoginName IsHiddenInUI PrincipalType
|
|
70
|
+
-- ---------------- ---------------- ------------ ------------- 14 Limited Access System Group Limited Access System Group false 8
|
|
71
|
+
40 Project leaders Project leaders false 8 19 SharingLinks.303339bc-fc95-470d-bd14-d9d78f7f9851.OrganizationEdit.f3dd85c7-83e2-497d-b738-9cb245547d8e SharingLinks.303339bc-fc95-470d-bd14-d9d78f7f9851.OrganizationEdit.f3dd85c7-83e2-497d-b738-9cb245547d8e false 8 32 SharingLinks.ad2528e7-aee5-472f-bbd3-56a7e5b46814.OrganizationEdit.1ba739c5-e693-4c16-9dfa-042e4ec62972 SharingLinks.ad2528e7-aee5-472f-bbd3-56a7e5b46814.OrganizationEdit.1ba739c5-e693-4c16-9dfa-042e4ec62972 false 8 34 SharingLinks.b22c8e80-ba76-404e-88fa-73dbf5f417c0.AnonymousEdit.9239171b-d85c-4206-a852-45e8d61f9052 SharingLinks.b22c8e80-ba76-404e-88fa-73dbf5f417c0.AnonymousEdit.9239171b-d85c-4206-a852-45e8d61f9052 false 8 33 SharingLinks.b22c8e80-ba76-404e-88fa-73dbf5f417c0.OrganizationEdit.44934455-df4f-48a4-90c9-cd8aec82fa7b SharingLinks.b22c8e80-ba76-404e-88fa-73dbf5f417c0.OrganizationEdit.44934455-df4f-48a4-90c9-cd8aec82fa7b false 8 18 SharingLinks.c21d3841-8e04-410e-a0a7-9488790697ca.OrganizationEdit.eede1a56-f8ef-4a4d-8221-043a146b76bb SharingLinks.c21d3841-8e04-410e-a0a7-9488790697ca.OrganizationEdit.eede1a56-f8ef-4a4d-8221-043a146b76bb false 8 13 SharingLinks.d6af0b1f-9ac8-484d-b87a-38a4012c800a.OrganizationEdit.682b902f-f20b-408c-accd-427fc29c24ab SharingLinks.d6af0b1f-9ac8-484d-b87a-38a4012c800a.OrganizationEdit.682b902f-f20b-408c-accd-427fc29c24ab false 8
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
</TabItem>
|
|
75
|
+
<TabItem value="CSV">
|
|
76
|
+
|
|
77
|
+
```csv
|
|
78
|
+
Id,IsHiddenInUI,LoginName,Title,PrincipalType,AllowMembersEditMembership,AllowRequestToJoinLeave,AutoAcceptRequestToJoinLeave,Description,OnlyAllowMembersViewMembership,OwnerTitle
|
|
79
|
+
40,,Project leaders,Project leaders,8,,,,This group contains all project leaders,1,Jon Doe
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
</TabItem>
|
|
83
|
+
<TabItem value="Markdown">
|
|
84
|
+
|
|
85
|
+
```md
|
|
86
|
+
# spo group list --webUrl "https://contoso.sharepoint.com/sites/contoso"
|
|
87
|
+
|
|
88
|
+
Date: 10/3/2023
|
|
89
|
+
|
|
90
|
+
## Project leaders (40)
|
|
91
|
+
|
|
92
|
+
Property | Value
|
|
93
|
+
---------|-------
|
|
94
|
+
Id | 40
|
|
95
|
+
IsHiddenInUI | false
|
|
96
|
+
LoginName | Project leaders
|
|
97
|
+
Title | Project leaders
|
|
98
|
+
PrincipalType | 8
|
|
99
|
+
AllowMembersEditMembership | false
|
|
100
|
+
AllowRequestToJoinLeave | false
|
|
101
|
+
AutoAcceptRequestToJoinLeave | false
|
|
102
|
+
Description | This group contains all project leaders
|
|
103
|
+
OnlyAllowMembersViewMembership | true
|
|
104
|
+
OwnerTitle | Jon Doe
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
</TabItem>
|
|
108
|
+
</Tabs>
|
|
@@ -19,10 +19,10 @@ m365 spo group member add [options]
|
|
|
19
19
|
: URL of the site where the SharePoint group is available.
|
|
20
20
|
|
|
21
21
|
`--groupId [groupId]`
|
|
22
|
-
: Id of the SharePoint Group to which the user needs to be added
|
|
22
|
+
: Id of the SharePoint Group to which the user needs to be added. Specify either `groupId` or `groupName`.
|
|
23
23
|
|
|
24
24
|
`--groupName [groupName]`
|
|
25
|
-
: Name of the SharePoint Group to which the user needs to be added
|
|
25
|
+
: Name of the SharePoint Group to which the user needs to be added. Specify either `groupId` or `groupName`.
|
|
26
26
|
|
|
27
27
|
`--userNames [userNames]`
|
|
28
28
|
: User's UPN (user principal name, eg. megan.bowen@contoso.com). If multiple users need to be added, they have to be comma-separated (e.g. megan.bowen@contoso.com,alex.wilber@contoso.com). Specify either `userIds`, `userNames`, `emails`, `aadGroupIds` or `aadGroupNames`.
|
|
@@ -48,53 +48,47 @@ For the `userIds`, `userNames`, `emails`, `aadGroupIds` or `aadGroupNames` optio
|
|
|
48
48
|
|
|
49
49
|
## Examples
|
|
50
50
|
|
|
51
|
-
Add a user with the userNames parameter to a SharePoint group with the groupId parameter
|
|
51
|
+
Add a user with the userNames parameter to a SharePoint group with the groupId parameter.
|
|
52
52
|
|
|
53
53
|
```sh
|
|
54
54
|
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userNames "Alex.Wilber@contoso.com"
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
Add multiple users with the userNames parameter to a SharePoint group with the groupId parameter
|
|
57
|
+
Add multiple users with the userNames parameter to a SharePoint group with the groupId parameter.
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
60
|
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userNames "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
Add a user with the emails parameter to a SharePoint group with the groupName parameter
|
|
63
|
+
Add a user with the emails parameter to a SharePoint group with the groupName parameter.
|
|
64
64
|
|
|
65
65
|
```sh
|
|
66
66
|
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --emails "Alex.Wilber@contoso.com"
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Add multiple users with the emails parameter to a SharePoint group with the groupName parameter
|
|
69
|
+
Add multiple users with the emails parameter to a SharePoint group with the groupName parameter.
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
72
|
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Owners" --emails "Alex.Wilber@contoso.com, Adele.Vance@contoso.com"
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
Add a user with the userIds parameter to a SharePoint group with the groupId parameter
|
|
75
|
+
Add a user with the userIds parameter to a SharePoint group with the groupId parameter.
|
|
76
76
|
|
|
77
77
|
```sh
|
|
78
78
|
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userIds 5
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
Add multiple users with the userIds parameter to a SharePoint group with the groupId parameter
|
|
81
|
+
Add multiple users with the userIds parameter to a SharePoint group with the groupId parameter.
|
|
82
82
|
|
|
83
83
|
```sh
|
|
84
84
|
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userIds "5,12"
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
Add multiple users with the
|
|
88
|
-
|
|
89
|
-
```sh
|
|
90
|
-
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Add multiple users with the aadUserName parameter to a SharePoint group with the groupId parameter
|
|
94
|
-
|
|
95
|
-
```sh
|
|
96
|
-
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --aadUserName "Azure group one, Azure group two"
|
|
97
|
-
```
|
|
87
|
+
Add multiple users with the aadGroupNames parameter to a SharePoint group with the groupId parameter
|
|
88
|
+
|
|
89
|
+
```sh
|
|
90
|
+
m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --aadGroupNames "Azure group one, Azure group two"
|
|
91
|
+
```
|
|
98
92
|
|
|
99
93
|
## Response
|
|
100
94
|
|
|
@@ -148,7 +142,6 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
|
|
|
148
142
|
|
|
149
143
|
Property | Value
|
|
150
144
|
---------|-------
|
|
151
|
-
AllowedRoles | [0]
|
|
152
145
|
CurrentRole | 0
|
|
153
146
|
DisplayName | All Company Members
|
|
154
147
|
Email | allcompany@contoso.onmicrosoft.com
|
|
@@ -161,4 +154,3 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
|
|
|
161
154
|
|
|
162
155
|
</TabItem>
|
|
163
156
|
</Tabs>
|
|
164
|
-
|
|
@@ -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 group member list
|
|
4
6
|
|
|
@@ -14,27 +16,100 @@ m365 spo group member list [options]
|
|
|
14
16
|
|
|
15
17
|
```md definition-list
|
|
16
18
|
`-u, --webUrl <webUrl>`
|
|
17
|
-
: URL of the SharePoint site
|
|
19
|
+
: URL of the SharePoint site.
|
|
18
20
|
|
|
19
21
|
`--groupId [groupId]`
|
|
20
|
-
: Id of the SharePoint group.
|
|
22
|
+
: Id of the SharePoint group. Specify either `groupName` or `groupId`, but not both.
|
|
21
23
|
|
|
22
24
|
`--groupName [groupName]`
|
|
23
|
-
: Name of the SharePoint group.
|
|
25
|
+
: Name of the SharePoint group. Specify either `groupName` or `groupId`, but not both.
|
|
24
26
|
```
|
|
25
27
|
|
|
26
28
|
<Global />
|
|
27
29
|
|
|
28
30
|
## Examples
|
|
29
31
|
|
|
30
|
-
List the members of the group with ID
|
|
32
|
+
List the members of the group with ID for the specified web.
|
|
31
33
|
|
|
32
34
|
```sh
|
|
33
35
|
m365 spo group member list --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5
|
|
34
36
|
```
|
|
35
37
|
|
|
36
|
-
List the members of the group with name
|
|
38
|
+
List the members of the group with name for the specified web.
|
|
37
39
|
|
|
38
40
|
```sh
|
|
39
41
|
m365 spo group member list --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Contoso Site Members"
|
|
40
42
|
```
|
|
43
|
+
|
|
44
|
+
## Response
|
|
45
|
+
|
|
46
|
+
<Tabs>
|
|
47
|
+
<TabItem value="JSON">
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
[
|
|
51
|
+
{
|
|
52
|
+
"Id": 7,
|
|
53
|
+
"IsHiddenInUI": false,
|
|
54
|
+
"LoginName": "i:0#.f|membership|admin@contoso.onmicrosoft.com",
|
|
55
|
+
"Title": "Jon Doe",
|
|
56
|
+
"PrincipalType": 1,
|
|
57
|
+
"Email": "admin@contoso.onmicrosoft.com",
|
|
58
|
+
"Expiration": "",
|
|
59
|
+
"IsEmailAuthenticationGuestUser": false,
|
|
60
|
+
"IsShareByEmailGuestUser": false,
|
|
61
|
+
"IsSiteAdmin": true,
|
|
62
|
+
"UserId": {
|
|
63
|
+
"NameId": "100320006513e584",
|
|
64
|
+
"NameIdIssuer": "urn:federation:microsoftonline"
|
|
65
|
+
},
|
|
66
|
+
"UserPrincipalName": "admin@contoso.onmicrosoft.com"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
</TabItem>
|
|
72
|
+
<TabItem value="Text">
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
Email : admin@contoso.onmicrosoft.com
|
|
76
|
+
Id : 7
|
|
77
|
+
Title : Jon Doe
|
|
78
|
+
UserPrincipalName: admin@contoso.onmicrosoft.com
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
</TabItem>
|
|
82
|
+
<TabItem value="CSV">
|
|
83
|
+
|
|
84
|
+
```csv
|
|
85
|
+
Id,IsHiddenInUI,LoginName,Title,PrincipalType,Email,Expiration,IsEmailAuthenticationGuestUser,IsShareByEmailGuestUser,IsSiteAdmin,UserPrincipalName
|
|
86
|
+
7,,i:0#.f|membership|admin@contoso.onmicrosoft.com,Jon Doe,1,admin@contoso.onmicrosoft.com,,,,1,admin@contoso.onmicrosoft.com
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
</TabItem>
|
|
90
|
+
<TabItem value="Markdown">
|
|
91
|
+
|
|
92
|
+
```md
|
|
93
|
+
# spo group member list --webUrl "https://contoso.sharepoint.com/sites/SiteA" --groupName "Contoso Site Members"
|
|
94
|
+
|
|
95
|
+
Date: 10/3/2023
|
|
96
|
+
|
|
97
|
+
## Jon Doe (7)
|
|
98
|
+
|
|
99
|
+
Property | Value
|
|
100
|
+
---------|-------
|
|
101
|
+
Id | 7
|
|
102
|
+
IsHiddenInUI | false
|
|
103
|
+
LoginName | i:0#.f\|membership\|admin@contoso.onmicrosoft.com
|
|
104
|
+
Title | Jon Doe
|
|
105
|
+
PrincipalType | 1
|
|
106
|
+
Email | admin@contoso.onmicrosoft.com
|
|
107
|
+
Expiration |
|
|
108
|
+
IsEmailAuthenticationGuestUser | false
|
|
109
|
+
IsShareByEmailGuestUser | false
|
|
110
|
+
IsSiteAdmin | true
|
|
111
|
+
UserPrincipalName | admin@contoso.onmicrosoft.com
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
</TabItem>
|
|
115
|
+
</Tabs>
|
|
@@ -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
|
-
|