@pnp/cli-microsoft365 6.8.0-beta.74dea8a → 6.8.0-beta.85a1ca9
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/dist/Command.js +6 -0
- package/dist/chili/chili.js +298 -0
- package/dist/chili/index.js +20 -0
- package/dist/cli/Cli.js +2 -2
- package/dist/m365/app/commands/permission/permission-add.js +279 -0
- package/dist/m365/app/commands.js +1 -0
- package/dist/m365/commands/commands.js +1 -0
- package/dist/m365/commands/setup.js +180 -0
- package/dist/m365/commands/setupPresets.js +25 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.15.2.js +2 -0
- package/dist/m365/spfx/commands/spfx-doctor.js +14 -30
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +146 -0
- package/dist/m365/spo/commands/listitem/listitem-batch-set.js +308 -0
- package/dist/m365/spo/commands/page/page-section-add.js +2 -3
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +30 -39
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +47 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +151 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +152 -0
- package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +203 -0
- package/dist/m365/spo/commands.js +6 -0
- package/dist/utils/formatting.js +35 -11
- package/dist/utils/pid.js +5 -0
- package/docs/docs/cmd/app/permission/permission-add.md +53 -0
- package/docs/docs/cmd/flow/environment/environment-list.md +18 -0
- package/docs/docs/cmd/flow/flow-get.md +20 -0
- package/docs/docs/cmd/flow/flow-list.md +17 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +1 -1
- package/docs/docs/cmd/planner/plan/plan-list.md +1 -1
- package/docs/docs/cmd/planner/roster/roster-add.md +2 -1
- package/docs/docs/cmd/planner/roster/roster-get.md +1 -1
- package/docs/docs/cmd/planner/roster/roster-remove.md +2 -1
- package/docs/docs/cmd/planner/task/task-set.md +1 -1
- package/docs/docs/cmd/purview/retentionevent/retentionevent-add.md +6 -7
- package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +6 -7
- package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +4 -4
- package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +4 -4
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +11 -11
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +10 -10
- package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +10 -10
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +12 -12
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +8 -9
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +8 -9
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +8 -8
- package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +8 -8
- package/docs/docs/cmd/setup.md +86 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.md +77 -0
- package/docs/docs/cmd/spo/commandset/commandset-set.md +1 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-set.md +2 -2
- package/docs/docs/cmd/spo/customaction/customaction-add.md +1 -1
- package/docs/docs/cmd/spo/customaction/customaction-set.md +1 -1
- package/docs/docs/cmd/spo/folder/folder-copy.md +1 -1
- package/docs/docs/cmd/spo/listitem/listitem-batch-set.md +67 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.md +103 -0
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.md +49 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.md +49 -0
- package/docs/docs/cmd/spo/tenant/tenant-commandset-set.md +57 -0
- package/docs/docs/cmd/teams/tab/tab-remove.md +1 -1
- package/docs/docs/cmd/version.md +1 -1
- package/docs/docs/cmd/yammer/group/group-list.md +42 -0
- package/docs/docs/cmd/yammer/message/message-add.md +32 -0
- package/docs/docs/cmd/yammer/message/message-get.md +32 -0
- package/docs/docs/cmd/yammer/message/message-list.md +34 -0
- package/docs/docs/cmd/yammer/network/network-list.md +70 -0
- package/docs/docs/cmd/yammer/report/report-activitycounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-activityusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-activityuserdetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusagedistributionusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageusercounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-deviceusageuserdetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitycounts.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitydetail.md +7 -0
- package/docs/docs/cmd/yammer/report/report-groupsactivitygroupcounts.md +7 -0
- package/docs/docs/cmd/yammer/user/user-get.md +55 -0
- package/docs/docs/cmd/yammer/user/user-list.md +55 -0
- package/docs/docs/cmd/yammer/yammer-search.md +15 -3
- package/package.json +2 -1
|
@@ -71,7 +71,7 @@ m365 spo customaction set [options]
|
|
|
71
71
|
|
|
72
72
|
## Remarks
|
|
73
73
|
|
|
74
|
-
Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell
|
|
74
|
+
Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell treats quotes differently. For example, this is how ApplicationCustomizer user custom action can be created from the Windows cmd.exe:
|
|
75
75
|
|
|
76
76
|
```sh
|
|
77
77
|
m365 spo customaction set --webUrl https://contoso.sharepoint.com/sites/test --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --clientSideComponentProperties '{\"testMessage\":\"Test message\"}'
|
|
@@ -45,7 +45,7 @@ m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/test1 --sourc
|
|
|
45
45
|
Copies folder to a document library in another site collection. Allow for schema mismatch
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
m365 spo folder
|
|
48
|
+
m365 spo folder copy --webUrl https://contoso.sharepoint.com/sites/test1 --sourceUrl /Shared%20Documents/MyFolder --targetUrl /sites/test2/Shared%20Documents/ --allowSchemaMismatch
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
## More information
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# spo listitem batch set
|
|
2
|
+
|
|
3
|
+
Updates list items in a batch
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 spo listitem batch set [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-p, --filePath <filePath>`
|
|
14
|
+
: The absolute or relative path to a flat file containing the list items.
|
|
15
|
+
|
|
16
|
+
`-u, --webUrl <webUrl>`
|
|
17
|
+
: URL of the site.
|
|
18
|
+
|
|
19
|
+
`-l, --listId [listId]`
|
|
20
|
+
: ID of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
|
|
21
|
+
|
|
22
|
+
`-t, --listTitle [listTitle]`
|
|
23
|
+
: Title of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
|
|
24
|
+
|
|
25
|
+
`--listUrl [listUrl]`
|
|
26
|
+
: Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`, but not multiple.
|
|
27
|
+
|
|
28
|
+
`--idColumn [idColumn]`
|
|
29
|
+
: Name of the column in the csv containing the IDs of the items to set. Defaults to `ID`.
|
|
30
|
+
|
|
31
|
+
`-s, --systemUpdate`
|
|
32
|
+
: Update the item without updating the modified date and modified by fields.
|
|
33
|
+
|
|
34
|
+
--8<-- "docs/cmd/_global.md"
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
A sample CSV can be found below. The first line of the CSV-file should contain the internal column names that you wish to set.
|
|
39
|
+
|
|
40
|
+
```csv
|
|
41
|
+
ID,ContentType,Title,SingleChoiceField,MultiChoiceField,SingleMetadataField,MultiMetadataField,SinglePeopleField,MultiPeopleField,CustomHyperlink,NumberField,LookupList,LookupListMulti
|
|
42
|
+
5,Item,Title Update,Choice 1,Choice 1;#Choice 2,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760,Engineering|4a3cc5f3-a4a6-433e-a07a-746978ff1760;Finance|f994a4ac-cf34-448e-a22c-2b35fd9bbffa,john@contoso.com,john@contoso.com;doe@contoso.com,"https://bing.com, URL",5,2,2;3
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Examples
|
|
46
|
+
|
|
47
|
+
Updates a batch of items to a list retrieved by title in a specific site
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
m365 spo listitem batch set --filePath "C:\Path\To\Csv\CsvFile.csv" --webUrl https://contoso.sharepoint.com/sites/project-x --listTitle "Demo List"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Updates a batch of items to a list retrieved by Id in a specific site with a specific `idColumn`
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 spo listitem batch set --filePath "C:\Path\To\Csv\CsvFile.csv" --webUrl https://contoso.sharepoint.com/sites/project-x --listId fe54c47b-22e4-4cab-8a10-3fc54003fb4c --idColumn id
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Updates a batch of items to a list defined by server-relative URL in a specific site without updating the modified details
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 spo listitem batch set --filePath "C:\Path\To\Csv\CsvFile.csv" --webUrl https://contoso.sharepoint.com/sites/project-x --listUrl "/sites/project-x/lists/Demo List" --systemUpdate
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Response
|
|
66
|
+
|
|
67
|
+
The command won't return a response on success.
|
|
@@ -26,7 +26,7 @@ m365 spo tenant applicationcustomizer add [options]
|
|
|
26
26
|
|
|
27
27
|
## Remarks
|
|
28
28
|
|
|
29
|
-
Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell
|
|
29
|
+
Running this command from the Windows Command Shell (cmd.exe) or PowerShell for Windows OS XP, 7, 8, 8.1 without bash installed might require additional formatting for command options that have JSON, XML or JavaScript values because the command shell treats quotes differently. For example, this is how ApplicationCustomizer user custom action can be created from the Windows cmd.exe:
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 spo tenant applicationcustomizer add --title "YourAppCustomizer" --clientSideComponentId b41916e7-e69d-467f-b37f-ff8ecf8f99f2 --clientSideComponentProperties '{\"testMessage\":\"Test message\"}'
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# spo tenant applicationcustomizer list
|
|
2
|
+
|
|
3
|
+
Retrieves a list of application customizers that are installed tenant-wide.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
spo tenant applicationcustomizer list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
--8<-- "docs/cmd/_global.md"
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
Retrieves a list of application customizers.
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
m365 spo tenant applicationcustomizer list
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
|
|
25
|
+
=== "JSON"
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
[
|
|
29
|
+
{
|
|
30
|
+
"FileSystemObjectType": 0,
|
|
31
|
+
"Id": 8,
|
|
32
|
+
"ServerRedirectedEmbedUri": null,
|
|
33
|
+
"ServerRedirectedEmbedUrl": "",
|
|
34
|
+
"ID": 8,
|
|
35
|
+
"ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
|
|
36
|
+
"Title": "HelloWorld",
|
|
37
|
+
"Modified": "2023-05-21T14:31:30Z",
|
|
38
|
+
"Created": "2023-05-21T14:31:30Z",
|
|
39
|
+
"AuthorId": 9,
|
|
40
|
+
"EditorId": 9,
|
|
41
|
+
"OData__UIVersionString": "1.0",
|
|
42
|
+
"Attachments": false,
|
|
43
|
+
"GUID": "23951a41-f613-440e-8119-8f1e87df1d1a",
|
|
44
|
+
"OData__ColorTag": null,
|
|
45
|
+
"ComplianceAssetId": null,
|
|
46
|
+
"TenantWideExtensionComponentId": "d54e75e7-af4d-455f-9101-a5d906692ecd",
|
|
47
|
+
"TenantWideExtensionComponentProperties": "{\"testMessage\":\"Test message\"}",
|
|
48
|
+
"TenantWideExtensionWebTemplate": null,
|
|
49
|
+
"TenantWideExtensionListTemplate": 0,
|
|
50
|
+
"TenantWideExtensionLocation": "ClientSideExtension.ApplicationCustomizer",
|
|
51
|
+
"TenantWideExtensionSequence": 0,
|
|
52
|
+
"TenantWideExtensionHostProperties": null,
|
|
53
|
+
"TenantWideExtensionDisabled": false
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
=== "Text"
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
TenantWideExtensionComponentId: d54e75e7-af4d-455f-9101-a5d906692ecd
|
|
62
|
+
TenantWideExtensionWebTemplate: null
|
|
63
|
+
Title : HelloWorld
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
=== "CSV"
|
|
67
|
+
|
|
68
|
+
```csv
|
|
69
|
+
FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
|
|
70
|
+
0,8,,8,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-21T14:31:30Z,2023-05-21T14:31:30Z,9,9,1.0,,23951a41-f613-440e-8119-8f1e87df1d1a,d54e75e7-af4d-455f-9101-a5d906692ecd,"{""testMessage"":""Test message""}",0,ClientSideExtension.ApplicationCustomizer,0,
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
=== "Markdown"
|
|
74
|
+
|
|
75
|
+
```md
|
|
76
|
+
# spo tenant applicationcustomizer list
|
|
77
|
+
|
|
78
|
+
Date: 5/21/2023
|
|
79
|
+
|
|
80
|
+
## HelloWorld (8)
|
|
81
|
+
|
|
82
|
+
Property | Value
|
|
83
|
+
---------|-------
|
|
84
|
+
FileSystemObjectType | 0
|
|
85
|
+
Id | 8
|
|
86
|
+
ServerRedirectedEmbedUrl |
|
|
87
|
+
ID | 8
|
|
88
|
+
ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
|
|
89
|
+
Title | HelloWorld
|
|
90
|
+
Modified | 2023-05-21T14:31:30Z
|
|
91
|
+
Created | 2023-05-21T14:31:30Z
|
|
92
|
+
AuthorId | 9
|
|
93
|
+
EditorId | 9
|
|
94
|
+
OData\_\_UIVersionString | 1.0
|
|
95
|
+
Attachments | false
|
|
96
|
+
GUID | 23951a41-f613-440e-8119-8f1e87df1d1a
|
|
97
|
+
TenantWideExtensionComponentId | d54e75e7-af4d-455f-9101-a5d906692ecd
|
|
98
|
+
TenantWideExtensionComponentProperties | {"testMessage":"Test message"}
|
|
99
|
+
TenantWideExtensionListTemplate | 0
|
|
100
|
+
TenantWideExtensionLocation | ClientSideExtension.ApplicationCustomizer
|
|
101
|
+
TenantWideExtensionSequence | 0
|
|
102
|
+
TenantWideExtensionDisabled | false
|
|
103
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# spo tenant applicationcustomizer remove
|
|
2
|
+
|
|
3
|
+
Removes an application customizer that is installed tenant wide.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
spo tenant applicationcustomizer remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-t, --title [title]`
|
|
14
|
+
: The title of the Application Customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
15
|
+
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The id of the Application Customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
18
|
+
|
|
19
|
+
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
20
|
+
: The Client Side Component Id (GUID) of the application customizer. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation.
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Removes an application customizer by title.
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo tenant applicationcustomizer remove --title "Some customizer"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Removes an application customizer by id.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo tenant applicationcustomizer remove --id 3
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Removes an application customizer by clientSideComponentId.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo tenant applicationcustomizer remove --clientSideComponentId "7096cded-b83d-4eab-96f0-df477ed7c0bc"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# spo tenant commandset remove
|
|
2
|
+
|
|
3
|
+
Removes a ListView Command Set that is installed tenant wide.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
spo tenant commandset remove [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-t, --title [title]`
|
|
14
|
+
: The title of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
15
|
+
|
|
16
|
+
`-i, --id [id]`
|
|
17
|
+
: The id of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
18
|
+
|
|
19
|
+
`-c, --clientSideComponentId [clientSideComponentId]`
|
|
20
|
+
: The Client Side Component Id (GUID) of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.
|
|
21
|
+
|
|
22
|
+
`--confirm`
|
|
23
|
+
: Don't prompt for confirmation.
|
|
24
|
+
|
|
25
|
+
--8 < -- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Examples
|
|
28
|
+
|
|
29
|
+
Removes an ListView Command Set by title.
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
m365 spo tenant commandset remove --title "Some command set"
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Removes a ListView Command Set by id.
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
m365 spo tenant commandset remove --id 3
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Removes a ListView Command Set by clientSideComponentId.
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
m365 spo tenant commandset remove --clientSideComponentId 7096cded-b83d-4eab-96f0-df477ed7c0bc
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Response
|
|
48
|
+
|
|
49
|
+
The command won't return a response on success.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# spo tenant commandset set
|
|
2
|
+
|
|
3
|
+
Updates a ListView Command Set that is installed tenant wide.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
spo tenant commandset set [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --id <id>`
|
|
14
|
+
: The id of the ListView Command Set
|
|
15
|
+
|
|
16
|
+
`-t, --newTitle [newTitle]`
|
|
17
|
+
: The updated title of the ListView Command Set
|
|
18
|
+
|
|
19
|
+
`-l, --listType [listType]`
|
|
20
|
+
: The list or library type to register the ListView Command Set on. Allowed values `List` or `Library`.
|
|
21
|
+
|
|
22
|
+
`-i, --clientSideComponentId [clientSideComponentId]`
|
|
23
|
+
: The Client Side Component Id (GUID) of the ListView Command Set.
|
|
24
|
+
|
|
25
|
+
`-p, --clientSideComponentProperties [clientSideComponentProperties]`
|
|
26
|
+
: The Client Side Component properties of the ListView Command Set.
|
|
27
|
+
|
|
28
|
+
`-w, --webTemplate [webTemplate]`
|
|
29
|
+
: Optionally add a web template (e.g. STS#3, SITEPAGEPUBLISHING#0, etc) as a filter for what kind of sites the ListView Command Set is registered on.
|
|
30
|
+
|
|
31
|
+
`--location [location]`
|
|
32
|
+
: The location of the ListView Command Set. Allowed values `ContextMenu`, `CommandBar` or `Both`. Defaults to `CommandBar`.
|
|
33
|
+
|
|
34
|
+
--8<-- "docs/cmd/_global.md"
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
!!! warning "Escaping JSON in PowerShell"
|
|
39
|
+
When using the `--clientSideComponentProperties` option it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.md#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.md#passing-complex-content-into-cli-options) instead.
|
|
40
|
+
|
|
41
|
+
## Examples
|
|
42
|
+
|
|
43
|
+
Updates the title of a ListView Command Set that's deployed tenant wide.
|
|
44
|
+
|
|
45
|
+
```sh
|
|
46
|
+
m365 spo tenant commandset set --id 4 --newTitle "Some customizer"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Updates the properties of a ListView Command Set.
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 spo tenant commandset set --id 3 --clientSideComponentProperties '{ "someProperty": "Some value" }'
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Response
|
|
56
|
+
|
|
57
|
+
The command won't return a response on success.
|
|
@@ -42,6 +42,6 @@ m365 teams tab remove --teamId 00000000-0000-0000-0000-000000000000 --channelId
|
|
|
42
42
|
|
|
43
43
|
The command won't return a response on success.
|
|
44
44
|
|
|
45
|
-
##
|
|
45
|
+
## More information
|
|
46
46
|
|
|
47
47
|
- Delete tab from channel: [https://docs.microsoft.com/en-us/graph/api/teamstab-delete?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/teamstab-delete?view=graph-rest-1.0)
|
package/docs/docs/cmd/version.md
CHANGED
|
@@ -113,3 +113,45 @@ m365 yammer group list --userId 5611239081 --limit 10
|
|
|
113
113
|
id,name,email,privacy,external,moderated
|
|
114
114
|
31158067201,wombathub,,public,false,false
|
|
115
115
|
```
|
|
116
|
+
|
|
117
|
+
=== "Markdown"
|
|
118
|
+
|
|
119
|
+
```md
|
|
120
|
+
# yammer group list --limit "1"
|
|
121
|
+
|
|
122
|
+
Date: 2023-05-16
|
|
123
|
+
|
|
124
|
+
## leadership (123412865024)
|
|
125
|
+
|
|
126
|
+
Property | Value
|
|
127
|
+
---------|-------
|
|
128
|
+
type | group
|
|
129
|
+
id | 123412865024
|
|
130
|
+
email | leadership+contoso.onmicrosoft.com@yammer.com
|
|
131
|
+
full\_name | Leadership
|
|
132
|
+
network\_id | 98327945216
|
|
133
|
+
name | leadership
|
|
134
|
+
description | Share what's on your mind and get important announcements from Patti and the rest of the Leadership Team.
|
|
135
|
+
privacy | public
|
|
136
|
+
url | https://www.yammer.com/api/v1/groups/123412865024
|
|
137
|
+
web\_url | https://www.yammer.com/contoso.onmicrosoft.com/#/threads/inGroup?type=in\_group&feedId=123412865024
|
|
138
|
+
mugshot\_url | https://mugshot0.assets-yammer.com/mugshot/images/5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs?P1=1684267104&P2=104&P3=1&P4=igdO9ZCQbSd5YS7tzwuIFj9CmMPsPWWpAjsk0xGDGrciD-3XKKsHbYx-e6H22yZ6OqLc3zt\_5ZOWefd8l537cWNUOPzeDg2lz\_fNxx1bowFMIdz6mRCHcCwygEwtKI0HxX5eHd4cdJBg54c4R6VN1\_Oex7Ug9Are6hVux4DsLg7eoNMMYvvcjXUp2zcT7o6bXYcZM2WBf\_r1IC24Sb-PLaSfAtKJZsswBBTkmz\_B7O5PZFcY4TQJvd5XzwEL17aqWm1hV1MCUSEd3Ms7Clc7KwxA0Hhv1rWYF064siAHEDiVlKZrE1yN7j-gCt0K1\_xUHWc54TrUIjFxnrwMDGZvzw&size=48x48
|
|
139
|
+
mugshot\_redirect\_url | https://www.yammer.com/mugshot/images/redirect/48x48/5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs
|
|
140
|
+
mugshot\_url\_template | https://mugshot0.assets-yammer.com/mugshot/images/5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs?P1=1684267104&P2=104&P3=1&P4=igdO9ZCQbSd5YS7tzwuIFj9CmMPsPWWpAjsk0xGDGrciD-3XKKsHbYx-e6H22yZ6OqLc3zt\_5ZOWefd8l537cWNUOPzeDg2lz\_fNxx1bowFMIdz6mRCHcCwygEwtKI0HxX5eHd4cdJBg54c4R6VN1\_Oex7Ug9Are6hVux4DsLg7eoNMMYvvcjXUp2zcT7o6bXYcZM2WBf\_r1IC24Sb-PLaSfAtKJZsswBBTkmz\_B7O5PZFcY4TQJvd5XzwEL17aqWm1hV1MCUSEd3Ms7Clc7KwxA0Hhv1rWYF064siAHEDiVlKZrE1yN7j-gCt0K1\_xUHWc54TrUIjFxnrwMDGZvzw&size={width}x{height}
|
|
141
|
+
mugshot\_redirect\_url\_template | https://www.yammer.com/mugshot/images/redirect/{width}x{height}/5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs
|
|
142
|
+
mugshot\_id | 5jjCjcSTJsdzFn0Ps50Vz0tqNdWdgnWs
|
|
143
|
+
show\_in\_directory | true
|
|
144
|
+
created\_at | 2022/12/12 12:51:11 +0000
|
|
145
|
+
aad\_guests | 0
|
|
146
|
+
color | #0e4f7a
|
|
147
|
+
external | false
|
|
148
|
+
moderated | false
|
|
149
|
+
header\_image\_url | https://mugshot0.assets-yammer.com/mugshot/images/group-header-megaphone.png?P1=1684266783&P2=104&P3=1&P4=FObDxfvTV7O201-7u4v-u4Y25mAZNrpD9QhUqSXbUyC8UaqvGJH7mT5yPtx0Qls\_QUkM3606i0F2GnkQHOwC1tVW8Vse0yNZHWDTyqA\_wSRX\_fn6cP47uoC4wvSsGAmWeb6epr-hJpDW\_qn-1CHQF7cen2Ti9Ap-XncmOiu2Tfd2DTuGyuHKivI6cxGGbIQ5ERU1NgiVEXqKClOMb9qPUBu4dqPc1gfaFDaA1umUslwTG3DRfAIVviECiG1eHI5cjkTX5qifscUXCmEOQU5lLih9J409qVUOPa0vs1clNspm6XtkVaAfC8FB2gaBmEqbVtFBVbAwyoUJhu2KM0Vp7w
|
|
150
|
+
category | unclassified
|
|
151
|
+
default\_thread\_starter\_type | normal
|
|
152
|
+
restricted\_posting | false
|
|
153
|
+
company\_group | false
|
|
154
|
+
creator\_type | user
|
|
155
|
+
creator\_id | 1842176974848
|
|
156
|
+
state | active
|
|
157
|
+
```
|
|
@@ -124,3 +124,35 @@ m365 yammer message add --body "Hello everyone!" --groupId 12312312312 --network
|
|
|
124
124
|
id
|
|
125
125
|
2000337749565441
|
|
126
126
|
```
|
|
127
|
+
|
|
128
|
+
=== "Markdown"
|
|
129
|
+
|
|
130
|
+
```md
|
|
131
|
+
# yammer message add --body "Hello everyone!" --groupId "123412865024"
|
|
132
|
+
|
|
133
|
+
Date: 2023-05-16
|
|
134
|
+
|
|
135
|
+
## 2269815632207872
|
|
136
|
+
|
|
137
|
+
Property | Value
|
|
138
|
+
---------|-------
|
|
139
|
+
id | 2269815632207872
|
|
140
|
+
sender\_id | 1842170699776
|
|
141
|
+
created\_at | 2023/05/16 18:42:34 +0000
|
|
142
|
+
published\_at | 2023/05/16 18:42:34 +0000
|
|
143
|
+
network\_id | 98327945216
|
|
144
|
+
message\_type | update
|
|
145
|
+
sender\_type | user
|
|
146
|
+
url | https://www.yammer.com/api/v1/messages/2269815632207872
|
|
147
|
+
web\_url | https://www.yammer.com/contoso.onmicrosoft.com/messages/2269815632207872
|
|
148
|
+
group\_id | 123412865024
|
|
149
|
+
thread\_id | 2269815632207872
|
|
150
|
+
client\_type | O365 Api Auth
|
|
151
|
+
client\_url | https://api.yammer.com
|
|
152
|
+
system\_message | false
|
|
153
|
+
direct\_message | false
|
|
154
|
+
privacy | public
|
|
155
|
+
supplemental\_reply | false
|
|
156
|
+
content\_excerpt | Hello everyone!
|
|
157
|
+
group\_created\_id | 123412865024
|
|
158
|
+
```
|
|
@@ -97,3 +97,35 @@ m365 yammer message get --id 1239871123 --output json
|
|
|
97
97
|
id,sender_id,replied_to_id,thread_id,group_id,created_at,direct_message,system_message,privacy,message_type,content_excerpt
|
|
98
98
|
2000337749565441,36425097217,,2000337749565441,31158067201,2022/11/11 21:00:20 +0000,,,public,update,Hello everyone!
|
|
99
99
|
```
|
|
100
|
+
|
|
101
|
+
=== "Markdown"
|
|
102
|
+
|
|
103
|
+
```md
|
|
104
|
+
# yammer message get --id "2269815632207872"
|
|
105
|
+
|
|
106
|
+
Date: 2023-05-16
|
|
107
|
+
|
|
108
|
+
## 2269815632207872
|
|
109
|
+
|
|
110
|
+
Property | Value
|
|
111
|
+
---------|-------
|
|
112
|
+
id | 2269815632207872
|
|
113
|
+
sender\_id | 1842170699776
|
|
114
|
+
created\_at | 2023/05/16 18:42:34 +0000
|
|
115
|
+
published\_at | 2023/05/16 18:42:34 +0000
|
|
116
|
+
network\_id | 98327945216
|
|
117
|
+
message\_type | update
|
|
118
|
+
sender\_type | user
|
|
119
|
+
url | https://www.yammer.com/api/v1/messages/2269815632207872
|
|
120
|
+
web\_url | https://www.yammer.com/contoso.onmicrosoft.com/messages/2269815632207872
|
|
121
|
+
group\_id | 123412865024
|
|
122
|
+
thread\_id | 2269815632207872
|
|
123
|
+
client\_type | O365 Api Auth
|
|
124
|
+
client\_url | https://api.yammer.com
|
|
125
|
+
system\_message | false
|
|
126
|
+
direct\_message | false
|
|
127
|
+
language | no
|
|
128
|
+
privacy | public
|
|
129
|
+
supplemental\_reply | false
|
|
130
|
+
content\_excerpt | Hello everyone!
|
|
131
|
+
```
|
|
@@ -148,3 +148,37 @@ m365 yammer message list --feedType Sent --limit 20
|
|
|
148
148
|
id,replied_to_id,thread_id,group_id,shortBody
|
|
149
149
|
2000337749565441,,2000337749565441,31158067201,Hello everyone!
|
|
150
150
|
```
|
|
151
|
+
|
|
152
|
+
=== "Markdown"
|
|
153
|
+
|
|
154
|
+
```md
|
|
155
|
+
# yammer message list --limit "1" --feedType "All"
|
|
156
|
+
|
|
157
|
+
Date: 2023-05-16
|
|
158
|
+
|
|
159
|
+
## 2269815632207872
|
|
160
|
+
|
|
161
|
+
Property | Value
|
|
162
|
+
---------|-------
|
|
163
|
+
id | 2269815632207872
|
|
164
|
+
sender\_id | 1842170699776
|
|
165
|
+
created\_at | 2023/05/16 18:42:34 +0000
|
|
166
|
+
published\_at | 2023/05/16 18:42:34 +0000
|
|
167
|
+
network\_id | 98327945216
|
|
168
|
+
message\_type | update
|
|
169
|
+
sender\_type | user
|
|
170
|
+
url | https://www.yammer.com/api/v1/messages/2269815632207872
|
|
171
|
+
web\_url | https://www.yammer.com/contoso.onmicrosoft.com/messages/2269815632207872
|
|
172
|
+
group\_id | 123412865024
|
|
173
|
+
thread\_id | 2269815632207872
|
|
174
|
+
client\_type | O365 Api Auth
|
|
175
|
+
client\_url | https://api.yammer.com
|
|
176
|
+
system\_message | false
|
|
177
|
+
direct\_message | false
|
|
178
|
+
language | no
|
|
179
|
+
privacy | public
|
|
180
|
+
supplemental\_reply | false
|
|
181
|
+
content\_excerpt | Hello everyone!
|
|
182
|
+
group\_created\_id | 123412865024
|
|
183
|
+
shortBody | Hello everyone!
|
|
184
|
+
```
|
|
@@ -129,3 +129,73 @@ m365 yammer network list --includeSuspended
|
|
|
129
129
|
id,name,email,community,permalink,web_url
|
|
130
130
|
5897756673,Contoso,,,contoso.onmicrosoft.com,https://www.yammer.com/contoso.onmicrosoft.com
|
|
131
131
|
```
|
|
132
|
+
|
|
133
|
+
=== "Markdown"
|
|
134
|
+
|
|
135
|
+
```md
|
|
136
|
+
# yammer network list
|
|
137
|
+
|
|
138
|
+
Date: 2023-05-16
|
|
139
|
+
|
|
140
|
+
## Contoso (98327945216)
|
|
141
|
+
|
|
142
|
+
Property | Value
|
|
143
|
+
---------|-------
|
|
144
|
+
type | network
|
|
145
|
+
id | 98327945216
|
|
146
|
+
email | contoso.onmicrosoft.com@yammer.com
|
|
147
|
+
name | Contoso
|
|
148
|
+
community | false
|
|
149
|
+
permalink | contoso.onmicrosoft.com
|
|
150
|
+
web\_url | https://www.yammer.com/contoso.onmicrosoft.com
|
|
151
|
+
show\_upgrade\_banner | false
|
|
152
|
+
header\_background\_color | #396B9A
|
|
153
|
+
header\_text\_color | #FFFFFF
|
|
154
|
+
navigation\_background\_color | #38699F
|
|
155
|
+
navigation\_text\_color | #FFFFFF
|
|
156
|
+
paid | true
|
|
157
|
+
moderated | false
|
|
158
|
+
is\_freemium | false
|
|
159
|
+
is\_org\_chart\_enabled | false
|
|
160
|
+
is\_group\_enabled | true
|
|
161
|
+
is\_chat\_enabled | true
|
|
162
|
+
is\_translation\_enabled | false
|
|
163
|
+
created\_at | 2022/12/08 07:38:34 +0000
|
|
164
|
+
is\_storyline\_enabled | true
|
|
165
|
+
is\_storyline\_preview\_enabled | false
|
|
166
|
+
is\_storyline\_per\_user\_control\_enabled | false
|
|
167
|
+
is\_stories\_enabled | true
|
|
168
|
+
is\_stories\_preview\_enabled | false
|
|
169
|
+
is\_premium\_preview\_enabled | false
|
|
170
|
+
is\_leadership\_corner\_enabled | true
|
|
171
|
+
external\_messaging\_state | inbound\_only
|
|
172
|
+
state | enabled
|
|
173
|
+
enforce\_office\_authentication | true
|
|
174
|
+
office\_authentication\_committed | true
|
|
175
|
+
is\_gif\_shortcut\_enabled | true
|
|
176
|
+
is\_link\_preview\_enabled | true
|
|
177
|
+
attachments\_in\_private\_messages | false
|
|
178
|
+
secret\_groups | false
|
|
179
|
+
force\_connected\_groups | true
|
|
180
|
+
force\_spo\_files | true
|
|
181
|
+
connected\_all\_company | true
|
|
182
|
+
m365\_native\_mode | true
|
|
183
|
+
force\_optin\_modern\_client | true
|
|
184
|
+
admin\_modern\_client\_flexible\_optin | false
|
|
185
|
+
aad\_guests\_enabled | true
|
|
186
|
+
all\_company\_group\_creation\_state | 3
|
|
187
|
+
is\_network\_questions\_enabled | true
|
|
188
|
+
is\_network\_questions\_only\_mode\_enabled | false
|
|
189
|
+
unseen\_message\_count | -1
|
|
190
|
+
preferred\_unseen\_message\_count | -1
|
|
191
|
+
private\_unseen\_thread\_count | 0
|
|
192
|
+
inbox\_unseen\_thread\_count | 0
|
|
193
|
+
private\_unread\_thread\_count | 0
|
|
194
|
+
unseen\_notification\_count | 2
|
|
195
|
+
has\_fake\_email | false
|
|
196
|
+
is\_primary | true
|
|
197
|
+
allow\_attachments | true
|
|
198
|
+
attachment\_types\_allowed | ALL
|
|
199
|
+
privacy\_link | https://go.microsoft.com/fwlink/p/?linkid=857875
|
|
200
|
+
user\_state | active
|
|
201
|
+
```
|
|
@@ -68,3 +68,10 @@ m365 yammer report activitycounts --period D7 --output json > "activitycounts.js
|
|
|
68
68
|
Report Refresh Date,Liked,Posted,Read,Report Date,Report Period
|
|
69
69
|
2022-11-09,12,6,435,2022-11-09,90
|
|
70
70
|
```
|
|
71
|
+
|
|
72
|
+
=== "Markdown"
|
|
73
|
+
|
|
74
|
+
```md
|
|
75
|
+
Report Refresh Date,Liked,Posted,Read,Report Date,Report Period
|
|
76
|
+
2022-11-09,12,6,435,2022-11-09,90
|
|
77
|
+
```
|
|
@@ -68,3 +68,10 @@ m365 yammer report activityusercounts --period D7 --output json > "activityuserc
|
|
|
68
68
|
Report Refresh Date,Liked,Posted,Read,Report Date,Report Period
|
|
69
69
|
2022-11-09,9,5,64,2022-11-09,7
|
|
70
70
|
```
|
|
71
|
+
|
|
72
|
+
=== "Markdown"
|
|
73
|
+
|
|
74
|
+
```md
|
|
75
|
+
Report Refresh Date,Liked,Posted,Read,Report Date,Report Period
|
|
76
|
+
2022-11-09,9,5,64,2022-11-09,7
|
|
77
|
+
```
|
|
@@ -86,3 +86,10 @@ m365 yammer report activityuserdetail --period D7 --output json > "activityuserd
|
|
|
86
86
|
Report Refresh Date,User Principal Name,Display Name,User State,State Change Date,Last Activity Date,Posted Count,Read Count,Liked Count,Assigned Products,Report Period
|
|
87
87
|
2022-11-09,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,,,,0,0,0,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING),7
|
|
88
88
|
```
|
|
89
|
+
|
|
90
|
+
=== "Markdown"
|
|
91
|
+
|
|
92
|
+
```md
|
|
93
|
+
Report Refresh Date,User Principal Name,Display Name,User State,State Change Date,Last Activity Date,Posted Count,Read Count,Liked Count,Assigned Products,Report Period
|
|
94
|
+
2022-11-09,77E5979DD60BA6EAA53E814DBEEEFA5F,4291DA7C39EE3263E97336B42734A667,,,,0,0,0,MICROSOFT 365 E5 DEVELOPER (WITHOUT WINDOWS AND AUDIO CONFERENCING),7
|
|
95
|
+
```
|
|
@@ -70,3 +70,10 @@ m365 yammer report deviceusagedistributionusercounts --period D7 --output json >
|
|
|
70
70
|
Report Refresh Date,Web,Windows Phone,Android Phone,iPhone,iPad,Other,Report Period
|
|
71
71
|
2022-11-09,77,5,1,7,6,108,7
|
|
72
72
|
```
|
|
73
|
+
|
|
74
|
+
=== "Markdown"
|
|
75
|
+
|
|
76
|
+
```md
|
|
77
|
+
Report Refresh Date,Web,Windows Phone,Android Phone,iPhone,iPad,Other,Report Period
|
|
78
|
+
2022-11-09,77,5,1,7,6,108,7
|
|
79
|
+
```
|
|
@@ -71,3 +71,10 @@ m365 yammer report deviceusageusercounts --period D7 --output json > "deviceusag
|
|
|
71
71
|
Report Refresh Date,Web,Windows Phone,Android Phone,iPhone,iPad,Other,Report Date,Report Period
|
|
72
72
|
2022-11-09,4,5,6,3,3,60,2022-11-09,7
|
|
73
73
|
```
|
|
74
|
+
|
|
75
|
+
=== "Markdown"
|
|
76
|
+
|
|
77
|
+
```md
|
|
78
|
+
Report Refresh Date,Web,Windows Phone,Android Phone,iPhone,iPad,Other,Report Date,Report Period
|
|
79
|
+
2022-11-09,4,5,6,3,3,60,2022-11-09,7
|
|
80
|
+
```
|