@pnp/cli-microsoft365 11.7.0-beta.bd906c5 → 11.7.0

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 (51) hide show
  1. package/.devproxy/api-specs/sharepoint.yaml +53 -0
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/m365/context/commands/option/option-list.js +6 -1
  5. package/dist/m365/entra/commands/resourcenamespace/resourcenamespace-list.js +6 -0
  6. package/dist/m365/external/commands/connection/connection-list.js +6 -0
  7. package/dist/m365/outlook/commands/calendar/calendar-set.js +132 -0
  8. package/dist/m365/outlook/commands/calendargroup/calendargroup-get.js +114 -0
  9. package/dist/m365/outlook/commands.js +2 -0
  10. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +13 -1
  11. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +24 -3
  12. package/dist/m365/spo/commands/brandcenter/brandcenter-colors-list.js +59 -0
  13. package/dist/m365/spo/commands/file/file-archive.js +83 -0
  14. package/dist/m365/spo/commands/propertybag/propertybag-set.js +3 -9
  15. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +20 -0
  16. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +27 -2
  17. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +5 -1
  18. package/dist/m365/spo/commands.js +2 -0
  19. package/dist/request.js +0 -16
  20. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +21 -0
  21. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +19 -0
  22. package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +21 -0
  23. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +21 -0
  24. package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +19 -0
  25. package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +19 -0
  26. package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +19 -0
  27. package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +21 -0
  28. package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +21 -0
  29. package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +21 -0
  30. package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +21 -0
  31. package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +19 -0
  32. package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +20 -0
  33. package/docs/docs/cmd/external/connection/connection-add.mdx +21 -0
  34. package/docs/docs/cmd/external/connection/connection-doctor.mdx +19 -0
  35. package/docs/docs/cmd/external/connection/connection-get.mdx +19 -0
  36. package/docs/docs/cmd/external/connection/connection-list.mdx +19 -0
  37. package/docs/docs/cmd/external/connection/connection-remove.mdx +21 -0
  38. package/docs/docs/cmd/external/connection/connection-schema-add.mdx +21 -0
  39. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +21 -0
  40. package/docs/docs/cmd/external/item/item-add.mdx +19 -0
  41. package/docs/docs/cmd/outlook/calendar/calendar-set.mdx +178 -0
  42. package/docs/docs/cmd/outlook/calendargroup/calendargroup-get.mdx +125 -0
  43. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +14 -11
  44. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +9 -6
  45. package/docs/docs/cmd/spo/brandcenter/brandcenter-colors-list.mdx +115 -0
  46. package/docs/docs/cmd/spo/file/file-archive.mdx +68 -0
  47. package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
  48. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +13 -10
  49. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +7 -4
  50. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +3 -0
  51. package/package.json +2 -2
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # external connection schema add
4
6
 
@@ -31,6 +33,25 @@ m365 search externalconnection schema add
31
33
 
32
34
  <Global />
33
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |-----------------|--------------------------------------|
43
+ | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |-----------------|--------------------------------------|
50
+ | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
34
55
  ## Examples
35
56
 
36
57
  Adds a new schema to a specific external connection.
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # external connection urltoitemresolver add
4
6
 
@@ -30,6 +32,25 @@ m365 external connection urltoitemresolver add [options]
30
32
  ```
31
33
  <Global />
32
34
 
35
+ ## Permissions
36
+
37
+ <Tabs>
38
+ <TabItem value="Delegated">
39
+
40
+ | Resource | Permissions |
41
+ |-----------------|--------------------------------------|
42
+ | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy |
43
+
44
+ </TabItem>
45
+ <TabItem value="Application">
46
+
47
+ | Resource | Permissions |
48
+ |-----------------|--------------------------------------|
49
+ | Microsoft Graph | ExternalConnection.ReadWrite.OwnedBy |
50
+
51
+ </TabItem>
52
+ </Tabs>
53
+
33
54
  ## Examples
34
55
 
35
56
  Adds a URL to item resolver to an existing connection
@@ -58,6 +58,25 @@ You can use the following types:
58
58
 
59
59
  For more information about using these options, see the Microsoft Graph API documentation and documentation about Microsoft Graph connectors.
60
60
 
61
+ ## Permissions
62
+
63
+ <Tabs>
64
+ <TabItem value="Delegated">
65
+
66
+ | Resource | Permissions |
67
+ |-----------------|--------------------------------|
68
+ | Microsoft Graph | ExternalItem.ReadWrite.OwnedBy |
69
+
70
+ </TabItem>
71
+ <TabItem value="Application">
72
+
73
+ | Resource | Permissions |
74
+ |-----------------|--------------------------------|
75
+ | Microsoft Graph | ExternalItem.ReadWrite.OwnedBy |
76
+
77
+ </TabItem>
78
+ </Tabs>
79
+
61
80
  ## Examples
62
81
 
63
82
  Creates an external item with simple properties that everyone is allowed to access
@@ -0,0 +1,178 @@
1
+ import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # outlook calendar set
6
+
7
+ Updates a calendar for a user.
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 outlook calendar set [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --id <id>`
19
+ : ID of the calendar.
20
+
21
+ `-n, --name [name]`
22
+ : New name of the calendar.
23
+
24
+ `--userId [userId]`
25
+ : ID of the user. Specify either `userId` or `userName`, but not both.
26
+
27
+ `--userName [userName]`
28
+ : UPN of the user. Specify either `userId` or `userName`, but not both.
29
+
30
+ `--calendarGroupId [calendarGroupId]`
31
+ : ID of the calendar group where the calendar belongs. Specify either `calendarGroupId` or `calendarGroupName`, but not both.
32
+
33
+ `--calendarGroupName [calendarGroupName]`
34
+ : Name of the calendar group where the calendar belongs. Specify either `calendarGroupId` or `calendarGroupName`, but not both.
35
+
36
+ `--color [color]`
37
+ : The color of the calendar in the UI. Allowed values: `auto`, `lightBlue`, `lightGreen`, `lightOrange`, `lightGray`, `lightYellow`, `lightTeal`, `lightPink`, `lightBrown`, `lightRed`, `maxColor`.
38
+
39
+ `--isDefault [isDefault]`
40
+ : Mark whether the calendar is the user's default calendar. Allowed values: `true`, `false`.
41
+ ```
42
+
43
+ <Global />
44
+
45
+ ## Permissions
46
+
47
+ <Tabs>
48
+ <TabItem value="Delegated">
49
+
50
+ | Resource | Permissions |
51
+ |-----------------|-------------------------------------------------|
52
+ | Microsoft Graph | Calendars.ReadWrite, Calendars.ReadWrite.Shared |
53
+
54
+ </TabItem>
55
+ <TabItem value="Application">
56
+
57
+ | Resource | Permissions |
58
+ |-----------------|---------------------|
59
+ | Microsoft Graph | Calendars.ReadWrite |
60
+
61
+ </TabItem>
62
+ </Tabs>
63
+
64
+ :::note
65
+
66
+ When using delegated permissions, specifying `userId` or `userName` for a different user requires the `Calendars.ReadWrite.Shared` scope. When the specified user matches the signed-in user, no shared scope is needed.
67
+
68
+ :::
69
+
70
+ ## Examples
71
+
72
+ Update the name of a calendar for the signed-in user.
73
+
74
+ ```sh
75
+ m365 outlook calendar set --id 'AAMkAGI2TQpZAAA=' --name 'Team planning'
76
+ ```
77
+
78
+ Change the color of a specific calendar for a user by UPN.
79
+
80
+ ```sh
81
+ m365 outlook calendar set --id 'AAMkAGI2TQpZAAA=' --userName 'john.doe@contoso.com' --color 'lightGreen'
82
+ ```
83
+
84
+ Mark a calendar as the default calendar for a user.
85
+
86
+ ```sh
87
+ m365 outlook calendar set --id 'AAMkAGI2TQpZAAA=' --userId 'b743445a-112c-4fda-9afd-05943f9c7b36' --isDefault true
88
+ ```
89
+
90
+ Update a calendar within a specific calendar group by name.
91
+
92
+ ```sh
93
+ m365 outlook calendar set --id 'AAMkAGI2TQpZAAA=' --name 'Team planning' --calendarGroupName 'My Calendars'
94
+ ```
95
+
96
+ ## Response
97
+
98
+ <Tabs>
99
+ <TabItem value="JSON">
100
+
101
+ ```json
102
+ {
103
+ "id": "AAMkAGI2TQpZAAA=",
104
+ "name": "Team planning",
105
+ "color": "auto",
106
+ "hexColor": "",
107
+ "isDefaultCalendar": false,
108
+ "changeKey": "DxYSthXJXEWwAQSYQnXvIgAAIxGttg==",
109
+ "canShare": true,
110
+ "canViewPrivateItems": true,
111
+ "canEdit": true,
112
+ "allowedOnlineMeetingProviders": [
113
+ "teamsForBusiness"
114
+ ],
115
+ "defaultOnlineMeetingProvider": "teamsForBusiness",
116
+ "isTallyingResponses": true,
117
+ "isRemovable": false,
118
+ "owner": {
119
+ "name": "John Doe",
120
+ "address": "john.doe@contoso.com"
121
+ }
122
+ }
123
+ ```
124
+
125
+ </TabItem>
126
+ <TabItem value="Text">
127
+
128
+ ```text
129
+ allowedOnlineMeetingProviders: ["teamsForBusiness"]
130
+ canEdit : true
131
+ canShare : true
132
+ canViewPrivateItems : true
133
+ changeKey : DxYSthXJXEWwAQSYQnXvIgAAIxGttg==
134
+ color : auto
135
+ defaultOnlineMeetingProvider : teamsForBusiness
136
+ hexColor :
137
+ id : AAMkAGI2TQpZAAA=
138
+ isDefaultCalendar : false
139
+ isRemovable : false
140
+ isTallyingResponses : true
141
+ name : Team planning
142
+ owner : {"name":"John Doe","address":"john.doe@contoso.com"}
143
+ ```
144
+
145
+ </TabItem>
146
+ <TabItem value="CSV">
147
+
148
+ ```csv
149
+ id,name,color,hexColor,isDefaultCalendar,changeKey,canShare,canViewPrivateItems,canEdit,defaultOnlineMeetingProvider,isTallyingResponses,isRemovable
150
+ AAMkAGI2TQpZAAA=,Team planning,auto,,false,DxYSthXJXEWwAQSYQnXvIgAAIxGttg==,true,true,true,teamsForBusiness,true,false
151
+ ```
152
+
153
+ </TabItem>
154
+ <TabItem value="Markdown">
155
+
156
+ ```md
157
+ # outlook calendar set
158
+
159
+ Date: 4/2/2026
160
+
161
+ Property | Value
162
+ ---------|-------
163
+ id | AAMkAGI2TQpZAAA=
164
+ name | Team planning
165
+ color | auto
166
+ hexColor |
167
+ isDefaultCalendar | false
168
+ changeKey | DxYSthXJXEWwAQSYQnXvIgAAIxGttg==
169
+ canShare | true
170
+ canViewPrivateItems | true
171
+ canEdit | true
172
+ defaultOnlineMeetingProvider | teamsForBusiness
173
+ isTallyingResponses | true
174
+ isRemovable | false
175
+ ```
176
+
177
+ </TabItem>
178
+ </Tabs>
@@ -0,0 +1,125 @@
1
+ import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # outlook calendargroup get
6
+
7
+ Retrieves a calendar group for a user.
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 outlook calendargroup get [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `--id [id]`
19
+ : ID of the calendar group. Specify either `id` or `name`, but not both.
20
+
21
+ `--name [name]`
22
+ : Name of the calendar group. Specify either `id` or `name`, but not both.
23
+
24
+ `--userId [userId]`
25
+ : ID of the user. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
26
+
27
+ `--userName [userName]`
28
+ : UPN of the user. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
29
+ ```
30
+
31
+ <Global />
32
+
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |-----------------|------------------------------------------------------------|
40
+ | Microsoft Graph | Calendars.ReadBasic, Calendars.Read, Calendars.Read.Shared |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |-----------------|-------------------------------------|
47
+ | Microsoft Graph | Calendars.ReadBasic, Calendars.Read |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
52
+ :::note
53
+
54
+ When using delegated permissions, specifying `userId` or `userName` for a different user requires the `Calendars.Read.Shared` or `Calendars.ReadWrite.Shared` scope. When the specified user matches the signed-in user, no shared scope is needed.
55
+
56
+ :::
57
+
58
+ ## Examples
59
+
60
+ Get the calendar group specified by name for the signed-in user.
61
+
62
+ ```sh
63
+ m365 outlook calendargroup get --name "Personal Events"
64
+ ```
65
+
66
+ Get the calendar group specified by name for a user using application permissions.
67
+
68
+ ```sh
69
+ m365 outlook calendargroup get --name "Personal Events" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
70
+ ```
71
+
72
+ Get the calendar group specified by id for a user using application permissions.
73
+
74
+ ```sh
75
+ m365 outlook calendargroup get --id "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAAABuC34AAA=" --userId "44288f7d-7710-4293-8c8e-36f310ed2e6a"
76
+ ```
77
+
78
+ ## Response
79
+
80
+ <Tabs>
81
+ <TabItem value="JSON">
82
+
83
+ ```json
84
+ {
85
+ "id": "AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=",
86
+ "name": "My Calendars",
87
+ "changeKey": "nfZyf7VcrEKLNoU37KWlkQAAA0x0+w==",
88
+ "classId": "0006f0b7-0000-0000-c000-000000000046"
89
+ }
90
+ ```
91
+
92
+ </TabItem>
93
+ <TabItem value="Text">
94
+
95
+ ```text
96
+ id name
97
+ ----------------------------------------------------------------------------------------------------------------------- ----------------
98
+ AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA= My Calendars
99
+ ```
100
+
101
+ </TabItem>
102
+ <TabItem value="CSV">
103
+
104
+ ```csv
105
+ id,name
106
+ AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=,My Calendars
107
+ ```
108
+
109
+ </TabItem>
110
+ <TabItem value="Markdown">
111
+
112
+ ```md
113
+ # outlook calendargroup get
114
+
115
+ Date: 3/20/2026
116
+
117
+ Property | Value
118
+ ---------|-------
119
+ id | AAMkAGE0MGM1Y2M5LWEzMmUtNGVlNy05MjRlLTk0YmYyY2I5NTM3ZAAuAAAAAAC_0WfqSjt_SqLtNkuO-bj1AQAbfYq5lmBxQ6a4t1fGbeYAAAAAAEOAAA=
120
+ name | My Calendars
121
+ ```
122
+
123
+ </TabItem>
124
+ </Tabs>
125
+
@@ -2,7 +2,7 @@ import Global from '../../_global.mdx';
2
2
 
3
3
  # spo applicationcustomizer add
4
4
 
5
- Add an application customizer to a site
5
+ Add an Application Customizer to a site
6
6
 
7
7
  ## Usage
8
8
 
@@ -14,29 +14,32 @@ m365 spo applicationcustomizer add [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-t, --title <title>`
17
- : The title of the application customizer.
17
+ : The title of the Application Customizer.
18
18
 
19
19
  `-u, --webUrl <webUrl>`
20
20
  : URL of the site.
21
21
 
22
22
  `-i, --clientSideComponentId <clientSideComponentId>`
23
- : Client-side component ID of the application customizer (GUID).
23
+ : Client-side component ID of the Application Customizer (GUID).
24
24
 
25
25
  `--description [description]`
26
- : Description of the application customizer.
26
+ : Description of the Application Customizer.
27
27
 
28
28
  `--clientSideComponentProperties [clientSideComponentProperties]`
29
- : JSON string with application customizer properties.
29
+ : JSON string with Application Customizer properties.
30
+
31
+ `--hostProperties [hostProperties]`
32
+ : Set the host properties of the Application Customizer.
30
33
 
31
34
  `-s, --scope [scope]`
32
- : Scope of the application customizer. Allowed values: `Site`, `Web`. Defaults to `Site`.
35
+ : Scope of the Application Customizer. Allowed values: `Site`, `Web`. Defaults to `Site`.
33
36
  ```
34
37
 
35
38
  <Global />
36
39
 
37
40
  ## Remarks
38
41
 
39
- 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 an application customizer can be created from the Windows cmd.exe:
42
+ 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 an Application Customizer can be created from the Windows cmd.exe:
40
43
 
41
44
  ```sh
42
45
  m365 spo applicationcustomizer add --webUrl https://contoso.sharepoint.com/sites/test --title "YourAppCustomizer" --clientSideComponentId b41916e7-e69d-467f-b37f-ff8ecf8f99f2 --clientSideComponentProperties '{\"testMessage\":\"Test message\"}'
@@ -46,21 +49,21 @@ Note, how the clientSideComponentProperties option has escaped double quotes `'{
46
49
 
47
50
  :::warning[Escaping JSON in PowerShell]
48
51
 
49
- 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.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
52
+ When using the `--clientSideComponentProperties` or `--hostProperties` options it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
50
53
 
51
54
  :::
52
55
 
53
- This command can be used for configuring an application customizer on a specific site. To configure an application customizer tenant-wide, view our dedicated [spo tenant applicationcustomizer add](../tenant/tenant-applicationcustomizer-add.mdx) command.
56
+ This command can be used for configuring an Application Customizer on a specific site. To configure an Application Customizer tenant-wide, view our dedicated [spo tenant applicationcustomizer add](../tenant/tenant-applicationcustomizer-add.mdx) command.
54
57
 
55
58
  ## Examples
56
59
 
57
- Adds an application customizer to the sales site.
60
+ Adds an Application Customizer to the sales site.
58
61
 
59
62
  ```sh
60
63
  m365 spo applicationcustomizer add --title 'Some customizer' --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc --webUrl https://contoso.sharepoint.com/sites/sales
61
64
  ```
62
65
 
63
- Adds an application customizer to the sales site with some properties.
66
+ Adds an Application Customizer to the sales site with some properties.
64
67
 
65
68
  ```sh
66
69
  m365 spo applicationcustomizer add --title 'Some customizer' --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc --clientSideComponentProperties '{ "someProperty": "Some value" }' --webUrl https://contoso.sharepoint.com/sites/sales --scope 'Site'
@@ -29,11 +29,14 @@ m365 spo applicationcustomizer set [options]
29
29
  : The new title of the Application Customizer.
30
30
 
31
31
  `--description [description]`
32
- : Description of the application customizer. Specify an empty string to clear.
32
+ : Description of the Application Customizer. Specify an empty string to clear.
33
33
 
34
34
  `-p, --clientSideComponentProperties [clientSideComponentProperties]`
35
35
  : The Client Side Component properties of the Application Customizer.
36
36
 
37
+ `--hostProperties [hostProperties]`
38
+ : Set the host properties for the Application Customizer. Set to an empty string to clear the value.
39
+
37
40
  `-s, --scope [scope]`
38
41
  : The scope where to lookup the Application Customizer. Allowed values: `Site`, `Web`, and `All`. Defaults to `All`.
39
42
  ```
@@ -42,7 +45,7 @@ m365 spo applicationcustomizer set [options]
42
45
 
43
46
  ## Remarks
44
47
 
45
- 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 clientSideComponentProperties option that has JSON value because the command shell treats quotes differently. For example, this is how Application Customizer can be updated from the Windows cmd.exe:
48
+ 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 `clientSideComponentProperties` and `hostProperties` options that have JSON value because the command shell treats quotes differently. For example, this is how Application Customizer can be updated from the Windows cmd.exe:
46
49
 
47
50
  ```sh
48
51
  m365 spo applicationcustomizer set --webUrl https://contoso.sharepoint.com/sites/sales --id b41916e7-e69d-467f-b37f-ff8ecf8f99f2 --newTitle "Some customizer" --clientSideComponentProperties '{\"testMessage\":\"Test message\"}'
@@ -52,21 +55,21 @@ Note, how the clientSideComponentProperties option (--clientSideComponentPropert
52
55
 
53
56
  :::warning[Escaping JSON in PowerShell]
54
57
 
55
- 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.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
58
+ When using the `--clientSideComponentProperties` or `--hostProperties` options it's possible to enter a JSON string. In PowerShell 5 to 7.2 [specific escaping rules](./../../../user-guide/using-cli.mdx#escaping-double-quotes-in-powershell) apply due to an issue. Remember that you can also use [file tokens](./../../../user-guide/using-cli.mdx#passing-complex-content-into-cli-options) instead.
56
59
 
57
60
  :::
58
61
 
59
- This command can be used for updating an application customizer on a specific site. To update an application customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer set](../tenant/tenant-applicationcustomizer-set.mdx) command.
62
+ This command can be used for updating an Application Customizer on a specific site. To update an Application Customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer set](../tenant/tenant-applicationcustomizer-set.mdx) command.
60
63
 
61
64
  ## Examples
62
65
 
63
- Updates the title of an application customizer on the sales site.
66
+ Updates the title of an Application Customizer on the sales site.
64
67
 
65
68
  ```sh
66
69
  m365 spo applicationcustomizer set --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --newTitle "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales
67
70
  ```
68
71
 
69
- Updates the properties of an application customizer on the sales site.
72
+ Updates the properties of an Application Customizer on the sales site.
70
73
 
71
74
  ```sh
72
75
  m365 spo applicationcustomizer set --id 058140e3-0e37-44fc-a1d3-79c487d371a3 --clientSideComponentProperties '{ "testMessage": "Test message" }' --webUrl https://contoso.sharepoint.com/sites/sales
@@ -0,0 +1,115 @@
1
+ import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spo brandcenter colors list
6
+
7
+ Lists the brand center colors
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spo brandcenter colors list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ <Global />
18
+
19
+ ## Permissions
20
+
21
+ <Tabs>
22
+ <TabItem value="Delegated">
23
+
24
+ | Resource | Permissions |
25
+ |------------|---------------|
26
+ | SharePoint | AllSites.Read |
27
+
28
+ </TabItem>
29
+ <TabItem value="Application">
30
+
31
+ | Resource | Permissions |
32
+ |------------|----------------|
33
+ | SharePoint | Sites.Read.All |
34
+
35
+ </TabItem>
36
+ </Tabs>
37
+
38
+ ## Remarks
39
+
40
+ If the brand colors list has not been created yet in the Brand Center, the command will return an empty array.
41
+
42
+ ## Examples
43
+
44
+ List all brand center colors
45
+
46
+ ```sh
47
+ m365 spo brandcenter colors list
48
+ ```
49
+
50
+ ## Response
51
+
52
+ <Tabs>
53
+ <TabItem value="JSON">
54
+
55
+ ```json
56
+ [
57
+ {
58
+ "Title": "Primary",
59
+ "ColorCode": "#0078D4",
60
+ "IsVisible": true
61
+ },
62
+ {
63
+ "Title": "Secondary",
64
+ "ColorCode": "#FF4500",
65
+ "IsVisible": false
66
+ }
67
+ ]
68
+ ```
69
+
70
+ </TabItem>
71
+ <TabItem value="Text">
72
+
73
+ ```txt
74
+ Title ColorCode IsVisible
75
+ --------- --------- ---------
76
+ Primary #0078D4 true
77
+ Secondary #FF4500 false
78
+ ```
79
+
80
+ </TabItem>
81
+ <TabItem value="CSV">
82
+
83
+ ```csv
84
+ Title,ColorCode,IsVisible
85
+ Primary,#0078D4,true
86
+ Secondary,#FF4500,false
87
+ ```
88
+
89
+ </TabItem>
90
+ <TabItem value="Markdown">
91
+
92
+ ```md
93
+ # spo brandcenter colors list
94
+
95
+ Date: 4/4/2026
96
+
97
+ ## Primary
98
+
99
+ Property | Value
100
+ ---------|-------
101
+ Title | Primary
102
+ ColorCode | #0078D4
103
+ IsVisible | true
104
+
105
+ ## Secondary
106
+
107
+ Property | Value
108
+ ---------|-------
109
+ Title | Secondary
110
+ ColorCode | #FF4500
111
+ IsVisible | false
112
+ ```
113
+
114
+ </TabItem>
115
+ </Tabs>