@pnp/cli-microsoft365 8.1.0-beta.3dec9fa → 8.1.0-beta.bf59841

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.
Files changed (61) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/Auth.js +9 -9
  4. package/dist/Command.js +49 -2
  5. package/dist/cli/cli.js +60 -38
  6. package/dist/m365/commands/login.js +44 -96
  7. package/dist/m365/connection/commands/connection-remove.js +6 -2
  8. package/dist/m365/connection/commands/connection-set.js +4 -1
  9. package/dist/m365/connection/commands/connection-use.js +25 -4
  10. package/dist/m365/entra/commands/multitenant/multitenant-add.js +65 -0
  11. package/dist/m365/entra/commands/multitenant/multitenant-remove.js +118 -0
  12. package/dist/m365/entra/commands/multitenant/multitenant-set.js +72 -0
  13. package/dist/m365/entra/commands.js +3 -0
  14. package/dist/m365/spe/ContainerTypeProperties.js +2 -0
  15. package/dist/m365/spe/commands/containertype/containertype-list.js +49 -0
  16. package/dist/m365/spe/commands.js +2 -1
  17. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +16 -21
  18. package/dist/m365/spo/commands/commandset/commandset-get.js +31 -17
  19. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
  20. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
  21. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  22. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
  23. package/dist/m365/spo/commands/list/list-roleassignment-add.js +46 -21
  24. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +48 -46
  25. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +19 -5
  26. package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +20 -6
  27. package/dist/utils/formatting.js +16 -0
  28. package/dist/utils/spo.js +37 -6
  29. package/dist/utils/zod.js +124 -0
  30. package/docs/docs/cmd/connection/connection-use.mdx +8 -2
  31. package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +107 -0
  32. package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +58 -0
  33. package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +53 -0
  34. package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
  35. package/docs/docs/cmd/spe/containertype/containertype-list.mdx +102 -0
  36. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +87 -38
  37. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +22 -28
  38. package/docs/docs/cmd/spo/commandset/commandset-get.mdx +75 -24
  39. package/docs/docs/cmd/spo/commandset/commandset-list.mdx +26 -32
  40. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  41. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +2 -2
  42. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  43. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  44. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  45. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +2 -2
  46. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +15 -3
  47. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +15 -3
  48. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +4 -4
  49. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
  50. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +9 -9
  51. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +7 -7
  52. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
  53. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +79 -30
  54. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +20 -19
  55. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +84 -38
  56. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +20 -19
  57. package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
  58. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
  59. package/docs/docs/cmd/teams/meeting/meeting-list.mdx +7 -3
  60. package/npm-shrinkwrap.json +604 -843
  61. package/package.json +6 -2
@@ -14,7 +14,7 @@ m365 spo listitem roleassignment add [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --webUrl <webUrl>`
17
- : URL of the site where the listitem is located
17
+ : URL of the site where the list item is located
18
18
 
19
19
  `--listId [listId]`
20
20
  : ID of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
@@ -26,7 +26,7 @@ m365 spo listitem roleassignment add [options]
26
26
  : Relative URL of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
27
27
 
28
28
  `--listItemId <listItemId>`
29
- : Id of the listitem to assign the role to.
29
+ : Id of the list item to assign the role to.
30
30
 
31
31
  `--principalId [principalId]`
32
32
  : The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either `upn`, `groupName` or `principalId`.
@@ -35,7 +35,7 @@ m365 spo listitem roleassignment add [options]
35
35
  : The upn/email of user to assign role to. Specify either `upn`, `groupName` or `principalId`.
36
36
 
37
37
  `--groupName [groupName]`
38
- : The group name of Microsoft Entra or SharePoint group. Specify either `upn`, `groupName` or `principalId`.
38
+ : The group name of the SharePoint group Specify either `upn`, `groupName` or `principalId`.
39
39
 
40
40
  `--roleDefinitionId [roleDefinitionId]`
41
41
  : ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
@@ -48,37 +48,37 @@ m365 spo listitem roleassignment add [options]
48
48
 
49
49
  ## Examples
50
50
 
51
- Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
51
+ Add role assignment to specified list item in specified list located in specified site for specified principal id and specified role definition id.
52
52
 
53
53
  ```sh
54
54
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
55
55
  ```
56
56
 
57
- Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
57
+ Add role assignment to specified list item in specified list located in specified site for specified principal id and specified role definition id.
58
58
 
59
59
  ```sh
60
60
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "0CD891EF-AFCE-4E55-B836-FCE03286CCCF" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
61
61
  ```
62
62
 
63
- Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
63
+ Add role assignment to specified list item in specified list located in specified site for specified principal id and specified role definition id.
64
64
 
65
65
  ```sh
66
66
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listUrl "sites/documents" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
67
67
  ```
68
68
 
69
- Add role assignment to specified listitem in specified list located in specified site for specified upn and specified role definition id.
69
+ Add role assignment to specified list item in specified list located in specified site for specified upn and specified role definition id.
70
70
 
71
71
  ```sh
72
72
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --upn "someaccount@tenant.onmicrosoft.com" --roleDefinitionId 1073741829
73
73
  ```
74
74
 
75
- Add role assignment to specified listitem in specified list located in specified site for specified group and specified role definition id.
75
+ Add role assignment to specified list item in specified list located in specified site for specified group and specified role definition id.
76
76
 
77
77
  ```sh
78
78
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --groupName "someGroup" --roleDefinitionId 1073741829
79
79
  ```
80
80
 
81
- Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition name.
81
+ Add role assignment to specified list item in specified list located in specified site for specified principal id and specified role definition name.
82
82
 
83
83
  ```sh
84
84
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --principalId 11 --roleDefinitionName "Full Control"
@@ -14,7 +14,7 @@ m365 spo listitem roleassignment remove [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --webUrl <webUrl>`
17
- : URL of the site where the listitem is located.
17
+ : URL of the site where the list item is located.
18
18
 
19
19
  `-i, --listId [listId]`
20
20
  : ID of the list. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
@@ -26,7 +26,7 @@ m365 spo listitem roleassignment remove [options]
26
26
  : Relative URL of the list. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
27
27
 
28
28
  `--listItemId <listItemId>`
29
- : Id of the listitem to remove the role from.
29
+ : Id of the list item to remove the role from.
30
30
 
31
31
  `--principalId [principalId]`
32
32
  : SharePoint ID of principal it may be either user id or group id we want to remove permissions. Specify either `principalId`, `upn`, or `groupName` but not multiple.
@@ -35,7 +35,7 @@ m365 spo listitem roleassignment remove [options]
35
35
  : The upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
36
36
 
37
37
  `--groupName [groupName]`
38
- : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
38
+ : The group name of the SharePoint group Specify either `principalId`, `upn`, or `groupName` but not multiple.
39
39
 
40
40
  `-f, --force`
41
41
  : Don't prompt for confirming removing the role assignment.
@@ -45,26 +45,26 @@ m365 spo listitem roleassignment remove [options]
45
45
 
46
46
  ## Examples
47
47
 
48
- Remove roleassignment from listitem getting list by title based on group name
48
+ Remove roleassignment from list item getting list by title based on group name
49
49
 
50
50
  ```sh
51
51
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listTitle "someList" --listItemId 1 --groupName "saleGroup"
52
52
  ```
53
53
 
54
- Remove roleassignment from listitem getting list by title based on principal Id
54
+ Remove roleassignment from list item getting list by title based on principal Id
55
55
 
56
56
  ```sh
57
57
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listTitle "Events" --listItemId 1 --principalId 2
58
58
  ```
59
59
 
60
- Remove roleassignment from listitem getting list by url based on principal Id
60
+ Remove roleassignment from list item getting list by url based on principal Id
61
61
 
62
62
  ```sh
63
63
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --listItemId 1 --principalId 2
64
64
  ```
65
65
 
66
66
 
67
- Remove roleassignment from listitem getting list by url based on principal Id without prompting for confirmation
67
+ Remove roleassignment from list item getting list by url based on principal Id without prompting for confirmation
68
68
 
69
69
  ```sh
70
70
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --listItemId 1 --principalId 2 --force
@@ -19,7 +19,7 @@ m365 spo site recyclebinitem list [options]
19
19
  : URL of the site for which to retrieve the recycle bin items
20
20
 
21
21
  `--type [type]`
22
- : Type of items which should be retrieved (listItems, folders, files)
22
+ : Type of items which should be retrieved. Valid values: `listItems`, `folders`, `files`.
23
23
 
24
24
  `--secondary`
25
25
  : Use this switch to retrieve items from secondary recycle bin
@@ -23,6 +23,9 @@ m365 spo tenant applicationcustomizer get [options]
23
23
 
24
24
  `-c, --clientSideComponentId [clientSideComponentId]`
25
25
  : The Client Side Component Id (GUID) of the application customizer. Specify either `title`, `id`, or `clientSideComponentId`.
26
+
27
+ `-p, --tenantWideExtensionComponentProperties`
28
+ : Only output the tenant wide extension component properties.
26
29
  ```
27
30
 
28
31
  <Global />
@@ -53,26 +56,29 @@ This command can be used for retrieving an application customizer that's install
53
56
 
54
57
  ## Response
55
58
 
59
+ ### Standard response
60
+
56
61
  <Tabs>
57
62
  <TabItem value="JSON">
58
63
 
59
64
  ```json
60
65
  {
61
66
  "FileSystemObjectType": 0,
62
- "Id": 4,
67
+ "Id": 2,
63
68
  "ServerRedirectedEmbedUri": null,
64
69
  "ServerRedirectedEmbedUrl": "",
65
- "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
66
- "Title": "Some customizer",
67
- "Modified": "2023-01-11T15:47:38Z",
68
- "Created": "2023-01-11T15:47:38Z",
70
+ "ContentTypeId": "0x00DBF24546DE6018449BB43573F3581BF0",
71
+ "Title": "HelloWorld",
72
+ "Modified": "2024-05-16T21:59:09Z",
73
+ "Created": "2024-05-16T21:59:09Z",
69
74
  "AuthorId": 9,
70
75
  "EditorId": 9,
71
76
  "OData__UIVersionString": "1.0",
72
77
  "Attachments": false,
73
- "GUID": "14125658-a9bc-4ddf-9c75-1b5767c9a337",
78
+ "GUID": "dfc6a646-742b-4d9d-9fcf-892a972298ff",
79
+ "OData__ColorTag": null,
74
80
  "ComplianceAssetId": null,
75
- "TenantWideExtensionComponentId": "7096cded-b83d-4eab-96f0-df477ed7c0bc",
81
+ "TenantWideExtensionComponentId": "9a8b100c-246b-4592-9454-67826523e159",
76
82
  "TenantWideExtensionComponentProperties": "{\"testMessage\":\"Test message\"}",
77
83
  "TenantWideExtensionWebTemplate": null,
78
84
  "TenantWideExtensionListTemplate": 0,
@@ -90,17 +96,18 @@ This command can be used for retrieving an application customizer that's install
90
96
  Attachments : false
91
97
  AuthorId : 9
92
98
  ComplianceAssetId : null
93
- ContentTypeId : 0x00693E2C487575B448BD420C12CEAE7EFE
94
- Created : 2023-01-11T15:47:38Z
99
+ ContentTypeId : 0x00DBF24546DE6018449BB43573F3581BF0
100
+ Created : 2024-05-16T21:59:09Z
95
101
  EditorId : 9
96
102
  FileSystemObjectType : 0
97
- GUID : 14125658-a9bc-4ddf-9c75-1b5767c9a337
98
- Id : 4
99
- Modified : 2023-01-11T15:47:38Z
103
+ GUID : dfc6a646-742b-4d9d-9fcf-892a972298ff
104
+ Id : 2
105
+ Modified : 2024-05-16T21:59:09Z
106
+ OData__ColorTag : null
100
107
  OData__UIVersionString : 1.0
101
108
  ServerRedirectedEmbedUri : null
102
109
  ServerRedirectedEmbedUrl :
103
- TenantWideExtensionComponentId : 7096cded-b83d-4eab-96f0-df477ed7c0bc
110
+ TenantWideExtensionComponentId : 9a8b100c-246b-4592-9454-67826523e159
104
111
  TenantWideExtensionComponentProperties: {"testMessage":"Test message"}
105
112
  TenantWideExtensionDisabled : false
106
113
  TenantWideExtensionHostProperties : null
@@ -108,51 +115,93 @@ This command can be used for retrieving an application customizer that's install
108
115
  TenantWideExtensionLocation : ClientSideExtension.ApplicationCustomizer
109
116
  TenantWideExtensionSequence : 0
110
117
  TenantWideExtensionWebTemplate : null
111
- Title : Some customizer
118
+ Title : HelloWorld
112
119
  ```
113
120
 
114
121
  </TabItem>
115
122
  <TabItem value="CSV">
116
123
 
117
124
  ```csv
118
- FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
119
- 0,4,,,0x00693E2C487575B448BD420C12CEAE7EFE,Some customizer,2023-01-11T15:47:38Z,2023-01-11T15:47:38Z,9,9,1.0,,14125658-a9bc-4ddf-9c75-1b5767c9a337,,7096cded-b83d-4eab-96f0-df477ed7c0bc,"{""testMessage"":""Test message""}",,0,ClientSideExtension.ApplicationCustomizer,0,,
125
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,OData__ColorTag,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
126
+ 0,2,,,0x00DBF24546DE6018449BB43573F3581BF0,HelloWorld,2024-05-16T21:59:09Z,2024-05-16T21:59:09Z,9,9,1.0,,dfc6a646-742b-4d9d-9fcf-892a972298ff,,,9a8b100c-246b-4592-9454-67826523e159,"{""testMessage"":""Test message""}",,0,ClientSideExtension.ApplicationCustomizer,0,,
120
127
  ```
121
128
 
122
129
  </TabItem>
123
130
  <TabItem value="Markdown">
124
131
 
125
132
  ```md
126
- # spo tenant applicationcustomizer get --title "Some customizer"
133
+ # spo tenant applicationcustomizer get --id "2"
127
134
 
128
- Date: 1/13/2023
135
+ Date: 17/05/2024
129
136
 
130
- ## Some customizer (4)
137
+ ## HelloWorld (2)
131
138
 
132
139
  Property | Value
133
140
  ---------|-------
134
141
  FileSystemObjectType | 0
135
- Id | 4
136
- ServerRedirectedEmbedUri | null
142
+ Id | 2
137
143
  ServerRedirectedEmbedUrl |
138
- ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
139
- Title | Some customizer
140
- Modified | 2023-01-11T15:47:38Z
141
- Created | 2023-01-11T15:47:38Z
144
+ ContentTypeId | 0x00DBF24546DE6018449BB43573F3581BF0
145
+ Title | HelloWorld
146
+ Modified | 2024-05-16T21:59:09Z
147
+ Created | 2024-05-16T21:59:09Z
142
148
  AuthorId | 9
143
149
  EditorId | 9
144
150
  OData\_\_UIVersionString | 1.0
145
151
  Attachments | false
146
- GUID | 14125658-a9bc-4ddf-9c75-1b5767c9a337
147
- ComplianceAssetId | null
148
- TenantWideExtensionComponentId | 7096cded-b83d-4eab-96f0-df477ed7c0bc
149
- TenantWideExtensionWebTemplate | null
152
+ GUID | dfc6a646-742b-4d9d-9fcf-892a972298ff
153
+ TenantWideExtensionComponentId | 9a8b100c-246b-4592-9454-67826523e159
154
+ TenantWideExtensionComponentProperties | {"testMessage":"Test message"}
150
155
  TenantWideExtensionListTemplate | 0
151
156
  TenantWideExtensionLocation | ClientSideExtension.ApplicationCustomizer
152
157
  TenantWideExtensionSequence | 0
153
- TenantWideExtensionHostProperties | null
154
158
  TenantWideExtensionDisabled | false
155
159
  ```
156
160
 
157
161
  </TabItem>
158
162
  </Tabs>
163
+
164
+ ### `tenantWideExtensionComponentProperties` response
165
+
166
+ <Tabs>
167
+ <TabItem value="JSON">
168
+
169
+ ```json
170
+ {
171
+ "sampleTextOne": "One item is selected in the list.",
172
+ "sampleTextTwo": "This command is always visible."
173
+ }
174
+ ```
175
+
176
+ </TabItem>
177
+ <TabItem value="Text">
178
+
179
+ ```txt
180
+ sampleTextOne: One item is selected in the list.
181
+ sampleTextTwo: This command is always visible.
182
+ ```
183
+
184
+ </TabItem>
185
+ <TabItem value="CSV">
186
+
187
+ ```csv
188
+ sampleTextOne,sampleTextTwo
189
+ One item is selected in the list.,This command is always visible.
190
+ ```
191
+
192
+ </TabItem>
193
+ <TabItem value="Markdown">
194
+
195
+ ```md
196
+ # spo tenant commandset get --id "1" --tenantWideExtensionComponentProperties "true"
197
+
198
+ Date: 16/05/2024
199
+
200
+ Property | Value
201
+ ---------|-------
202
+ sampleTextOne | One item is selected in the list.
203
+ sampleTextTwo | This command is always visible.
204
+ ```
205
+
206
+ </TabItem>
207
+ </Tabs>
@@ -37,21 +37,21 @@ m365 spo tenant applicationcustomizer list
37
37
  [
38
38
  {
39
39
  "FileSystemObjectType": 0,
40
- "Id": 8,
40
+ "Id": 2,
41
41
  "ServerRedirectedEmbedUri": null,
42
42
  "ServerRedirectedEmbedUrl": "",
43
- "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
43
+ "ContentTypeId": "0x00DBF24546DE6018449BB43573F3581BF0",
44
44
  "Title": "HelloWorld",
45
- "Modified": "2023-05-21T14:31:30Z",
46
- "Created": "2023-05-21T14:31:30Z",
45
+ "Modified": "2024-05-16T21:59:09Z",
46
+ "Created": "2024-05-16T21:59:09Z",
47
47
  "AuthorId": 9,
48
48
  "EditorId": 9,
49
49
  "OData__UIVersionString": "1.0",
50
50
  "Attachments": false,
51
- "GUID": "23951a41-f613-440e-8119-8f1e87df1d1a",
51
+ "GUID": "dfc6a646-742b-4d9d-9fcf-892a972298ff",
52
52
  "OData__ColorTag": null,
53
53
  "ComplianceAssetId": null,
54
- "TenantWideExtensionComponentId": "d54e75e7-af4d-455f-9101-a5d906692ecd",
54
+ "TenantWideExtensionComponentId": "9a8b100c-246b-4592-9454-67826523e159",
55
55
  "TenantWideExtensionComponentProperties": "{\"testMessage\":\"Test message\"}",
56
56
  "TenantWideExtensionWebTemplate": null,
57
57
  "TenantWideExtensionListTemplate": 0,
@@ -67,17 +67,17 @@ m365 spo tenant applicationcustomizer list
67
67
  <TabItem value="Text">
68
68
 
69
69
  ```text
70
- TenantWideExtensionComponentId: d54e75e7-af4d-455f-9101-a5d906692ecd
71
- TenantWideExtensionWebTemplate: null
72
- Title : HelloWorld
70
+ TenantWideExtensionComponentId TenantWideExtensionWebTemplate Title
71
+ ------------------------------------ ------------------------------ ----------
72
+ 9a8b100c-246b-4592-9454-67826523e159 null HelloWorld
73
73
  ```
74
74
 
75
75
  </TabItem>
76
76
  <TabItem value="CSV">
77
77
 
78
78
  ```csv
79
- FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
80
- 0,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,
79
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,OData__ColorTag,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
80
+ 0,2,,,0x00DBF24546DE6018449BB43573F3581BF0,HelloWorld,2024-05-16T21:59:09Z,2024-05-16T21:59:09Z,9,9,1.0,,dfc6a646-742b-4d9d-9fcf-892a972298ff,,,9a8b100c-246b-4592-9454-67826523e159,"{""testMessage"":""Test message""}",,0,ClientSideExtension.ApplicationCustomizer,0,,
81
81
  ```
82
82
 
83
83
  </TabItem>
@@ -86,25 +86,26 @@ m365 spo tenant applicationcustomizer list
86
86
  ```md
87
87
  # spo tenant applicationcustomizer list
88
88
 
89
- Date: 5/21/2023
89
+ Date: 17/05/2024
90
90
 
91
- ## HelloWorld (8)
91
+ ## HelloWorld (2)
92
92
 
93
93
  Property | Value
94
94
  ---------|-------
95
95
  FileSystemObjectType | 0
96
- Id | 8
96
+ Id | 2
97
97
  ServerRedirectedEmbedUrl |
98
- ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
98
+ ContentTypeId | 0x00DBF24546DE6018449BB43573F3581BF0
99
99
  Title | HelloWorld
100
- Modified | 2023-05-21T14:31:30Z
101
- Created | 2023-05-21T14:31:30Z
100
+ Modified | 2024-05-16T21:59:09Z
101
+ Created | 2024-05-16T21:59:09Z
102
102
  AuthorId | 9
103
103
  EditorId | 9
104
104
  OData\_\_UIVersionString | 1.0
105
105
  Attachments | false
106
- GUID | 23951a41-f613-440e-8119-8f1e87df1d1a
107
- TenantWideExtensionComponentId | d54e75e7-af4d-455f-9101-a5d906692ecd
106
+ GUID | dfc6a646-742b-4d9d-9fcf-892a972298ff
107
+ TenantWideExtensionComponentId | 9a8b100c-246b-4592-9454-67826523e159
108
+ TenantWideExtensionComponentProperties | {"testMessage":"Test message"}
108
109
  TenantWideExtensionListTemplate | 0
109
110
  TenantWideExtensionLocation | ClientSideExtension.ApplicationCustomizer
110
111
  TenantWideExtensionSequence | 0
@@ -23,6 +23,9 @@ m365 spo tenant commandset get [options]
23
23
 
24
24
  `-c, --clientSideComponentId [clientSideComponentId]`
25
25
  : The Client Side Component Id (GUID) of the ListView Command Set. Specify either `title`, `id`, or `clientSideComponentId`.
26
+
27
+ `-p, --tenantWideExtensionComponentProperties`
28
+ : Only output the tenant wide extension component properties.
26
29
  ```
27
30
 
28
31
  <Global />
@@ -53,30 +56,33 @@ m365 spo tenant commandset get --clientSideComponentId 7096cded-b83d-4eab-96f0-d
53
56
 
54
57
  ## Response
55
58
 
59
+ ### Standard response
60
+
56
61
  <Tabs>
57
62
  <TabItem value="JSON">
58
63
 
59
64
  ```json
60
65
  {
61
66
  "FileSystemObjectType": 0,
62
- "Id": 4,
67
+ "Id": 1,
63
68
  "ServerRedirectedEmbedUri": null,
64
69
  "ServerRedirectedEmbedUrl": "",
65
- "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
66
- "Title": "Some ListView Command Set",
67
- "Modified": "2023-01-11T15:47:38Z",
68
- "Created": "2023-01-11T15:47:38Z",
70
+ "ContentTypeId": "0x00DBF24546DE6018449BB43573F3581BF0",
71
+ "Title": "HelloWorld",
72
+ "Modified": "2024-05-16T21:28:51Z",
73
+ "Created": "2024-05-16T21:28:51Z",
69
74
  "AuthorId": 9,
70
75
  "EditorId": 9,
71
76
  "OData__UIVersionString": "1.0",
72
77
  "Attachments": false,
73
- "GUID": "14125658-a9bc-4ddf-9c75-1b5767c9a337",
78
+ "GUID": "bd123dcd-37b8-4981-aa4e-1aab50a66688",
79
+ "OData__ColorTag": null,
74
80
  "ComplianceAssetId": null,
75
- "TenantWideExtensionComponentId": "7096cded-b83d-4eab-96f0-df477ed7c0bc",
76
- "TenantWideExtensionComponentProperties": "{\"testMessage\":\"Test message\"}",
81
+ "TenantWideExtensionComponentId": "53dd6a38-1461-44e0-9bf0-14883316a316",
82
+ "TenantWideExtensionComponentProperties": "{\"sampleTextOne\":\"One item is selected in the list.\", \"sampleTextTwo\":\"This command is always visible.\"}",
77
83
  "TenantWideExtensionWebTemplate": null,
78
- "TenantWideExtensionListTemplate": 101,
79
- "TenantWideExtensionLocation": "ClientSideExtension.ListViewCommandSet.ContextMenu",
84
+ "TenantWideExtensionListTemplate": 100,
85
+ "TenantWideExtensionLocation": "ClientSideExtension.ListViewCommandSet.CommandBar",
80
86
  "TenantWideExtensionSequence": 0,
81
87
  "TenantWideExtensionHostProperties": null,
82
88
  "TenantWideExtensionDisabled": false
@@ -90,69 +96,109 @@ m365 spo tenant commandset get --clientSideComponentId 7096cded-b83d-4eab-96f0-d
90
96
  Attachments : false
91
97
  AuthorId : 9
92
98
  ComplianceAssetId : null
93
- ContentTypeId : 0x00693E2C487575B448BD420C12CEAE7EFE
94
- Created : 2023-01-11T15:47:38Z
99
+ ContentTypeId : 0x00DBF24546DE6018449BB43573F3581BF0
100
+ Created : 2024-05-16T21:28:51Z
95
101
  EditorId : 9
96
102
  FileSystemObjectType : 0
97
- GUID : 14125658-a9bc-4ddf-9c75-1b5767c9a337
98
- Id : 4
99
- Modified : 2023-01-11T15:47:38Z
103
+ GUID : bd123dcd-37b8-4981-aa4e-1aab50a66688
104
+ Id : 1
105
+ Modified : 2024-05-16T21:28:51Z
106
+ OData__ColorTag : null
100
107
  OData__UIVersionString : 1.0
101
108
  ServerRedirectedEmbedUri : null
102
109
  ServerRedirectedEmbedUrl :
103
- TenantWideExtensionComponentId : 7096cded-b83d-4eab-96f0-df477ed7c0bc
104
- TenantWideExtensionComponentProperties: {"testMessage":"Test message"}
110
+ TenantWideExtensionComponentId : 53dd6a38-1461-44e0-9bf0-14883316a316
111
+ TenantWideExtensionComponentProperties: {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
105
112
  TenantWideExtensionDisabled : false
106
113
  TenantWideExtensionHostProperties : null
107
- TenantWideExtensionListTemplate : 101
108
- TenantWideExtensionLocation : ClientSideExtension.ListViewCommandSet.ContextMenu
114
+ TenantWideExtensionListTemplate : 100
115
+ TenantWideExtensionLocation : ClientSideExtension.ListViewCommandSet.CommandBar
109
116
  TenantWideExtensionSequence : 0
110
117
  TenantWideExtensionWebTemplate : null
111
- Title : Some ListView Command Set
118
+ Title : HelloWorld
112
119
  ```
113
120
 
114
121
  </TabItem>
115
122
  <TabItem value="CSV">
116
123
 
117
124
  ```csv
118
- FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
119
- 0,4,,,0x00693E2C487575B448BD420C12CEAE7EFE,Some ListView Command Set,2023-01-11T15:47:38Z,2023-01-11T15:47:38Z,9,9,1.0,,14125658-a9bc-4ddf-9c75-1b5767c9a337,,7096cded-b83d-4eab-96f0-df477ed7c0bc,"{""testMessage"":""Test message""}",,101,ClientSideExtension.ListViewCommandSet.ContextMenu,0,,
125
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,OData__ColorTag,ComplianceAssetId,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionWebTemplate,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionHostProperties,TenantWideExtensionDisabled
126
+ 0,1,,,0x00DBF24546DE6018449BB43573F3581BF0,HelloWorld,2024-05-16T21:28:51Z,2024-05-16T21:28:51Z,9,9,1.0,,bd123dcd-37b8-4981-aa4e-1aab50a66688,,,53dd6a38-1461-44e0-9bf0-14883316a316,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",,100,ClientSideExtension.ListViewCommandSet.CommandBar,0,,
120
127
  ```
121
128
 
122
129
  </TabItem>
123
130
  <TabItem value="Markdown">
124
131
 
125
132
  ```md
126
- # spo tenant commandset get --title "Some ListView Command Set"
133
+ # spo tenant commandset get --id "1"
127
134
 
128
- Date: 1/13/2023
135
+ Date: 16/05/2024
129
136
 
130
- ## Some ListView Command Set (4)
137
+ ## HelloWorld (1)
131
138
 
132
139
  Property | Value
133
140
  ---------|-------
134
141
  FileSystemObjectType | 0
135
- Id | 4
136
- ServerRedirectedEmbedUri | null
142
+ Id | 1
137
143
  ServerRedirectedEmbedUrl |
138
- ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
139
- Title | Some customizer
140
- Modified | 2023-01-11T15:47:38Z
141
- Created | 2023-01-11T15:47:38Z
144
+ ContentTypeId | 0x00DBF24546DE6018449BB43573F3581BF0
145
+ Title | HelloWorld
146
+ Modified | 2024-05-16T21:28:51Z
147
+ Created | 2024-05-16T21:28:51Z
142
148
  AuthorId | 9
143
149
  EditorId | 9
144
150
  OData\_\_UIVersionString | 1.0
145
151
  Attachments | false
146
- GUID | 14125658-a9bc-4ddf-9c75-1b5767c9a337
147
- ComplianceAssetId | null
148
- TenantWideExtensionComponentId | 7096cded-b83d-4eab-96f0-df477ed7c0bc
149
- TenantWideExtensionWebTemplate | null
150
- TenantWideExtensionListTemplate | 101
151
- TenantWideExtensionLocation | ClientSideExtension.ListViewCommandSet.ContextMenu
152
+ GUID | bd123dcd-37b8-4981-aa4e-1aab50a66688
153
+ TenantWideExtensionComponentId | 53dd6a38-1461-44e0-9bf0-14883316a316
154
+ TenantWideExtensionComponentProperties | {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
155
+ TenantWideExtensionListTemplate | 100
156
+ TenantWideExtensionLocation | ClientSideExtension.ListViewCommandSet.CommandBar
152
157
  TenantWideExtensionSequence | 0
153
- TenantWideExtensionHostProperties | null
154
158
  TenantWideExtensionDisabled | false
155
159
  ```
156
160
 
157
161
  </TabItem>
158
162
  </Tabs>
163
+
164
+ ### `tenantWideExtensionComponentProperties` response
165
+
166
+ <Tabs>
167
+ <TabItem value="JSON">
168
+
169
+ ```json
170
+ {
171
+ "testMessage": "Test message"
172
+ }
173
+ ```
174
+
175
+ </TabItem>
176
+ <TabItem value="Text">
177
+
178
+ ```txt
179
+ testMessage: Test message
180
+ ```
181
+
182
+ </TabItem>
183
+ <TabItem value="CSV">
184
+
185
+ ```csv
186
+ testMessage
187
+ Test message
188
+ ```
189
+
190
+ </TabItem>
191
+ <TabItem value="Markdown">
192
+
193
+ ```md
194
+ # spo tenant applicationcustomizer get --id "2" --tenantWideExtensionComponentProperties "true"
195
+
196
+ Date: 17/05/2024
197
+
198
+ Property | Value
199
+ ---------|-------
200
+ testMessage | Test message
201
+ ```
202
+
203
+ </TabItem>
204
+ </Tabs>