@pnp/cli-microsoft365 11.7.0-beta.b67a258 → 11.7.0-beta.ba78c1f
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/.devproxy/api-specs/sharepoint.yaml +53 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/config.js +1 -0
- package/dist/m365/context/commands/option/option-list.js +6 -1
- package/dist/m365/entra/commands/resourcenamespace/resourcenamespace-list.js +6 -0
- package/dist/m365/entra/commands/user/user-license-add.js +2 -1
- package/dist/m365/entra/commands/user/user-license-list.js +4 -9
- package/dist/m365/entra/commands/user/user-license-remove.js +2 -1
- package/dist/m365/external/commands/connection/connection-list.js +6 -0
- package/dist/m365/outlook/commands/calendar/calendar-add.js +85 -0
- package/dist/m365/outlook/commands/calendar/calendar-get.js +71 -0
- package/dist/m365/outlook/commands/calendar/calendar-remove.js +100 -0
- package/dist/m365/outlook/commands/calendar/calendar-set.js +132 -0
- package/dist/m365/outlook/commands/calendargroup/calendargroup-get.js +114 -0
- package/dist/m365/outlook/commands/calendargroup/calendargroup-set.js +115 -0
- package/dist/m365/outlook/commands/event/event-cancel.js +103 -0
- package/dist/m365/outlook/commands/event/event-list.js +115 -0
- package/dist/m365/outlook/commands/event/event-remove.js +104 -0
- package/dist/m365/outlook/commands.js +9 -0
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +643 -0
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +2 -2
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +13 -1
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.0-rc.0.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +16 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +2 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015016_FILE_eslint_config_js.js +10 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.0-rc.0.js +84 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
- package/dist/m365/spfx/commands/spfx-doctor.js +5 -631
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +13 -1
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +24 -3
- package/dist/m365/spo/commands/brandcenter/brandcenter-colors-list.js +59 -0
- package/dist/m365/spo/commands/file/file-archive.js +83 -0
- package/dist/m365/spo/commands/propertybag/propertybag-set.js +3 -9
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +20 -0
- package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +27 -2
- package/dist/m365/spo/commands/tenant/tenant-settings-set.js +5 -1
- package/dist/m365/spo/commands.js +2 -0
- package/dist/m365/teams/commands/chat/chat-message-list.js +43 -4
- package/dist/request.js +0 -16
- package/dist/utils/calendar.js +37 -0
- package/dist/utils/calendarGroup.js +22 -0
- package/dist/utils/entraApp.js +9 -2
- package/dist/utils/spfx.js +59 -0
- package/docs/docs/cmd/entra/license/license-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +21 -0
- package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +21 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +19 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +19 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +19 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +21 -0
- package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +21 -0
- package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +21 -0
- package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +21 -0
- package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +19 -0
- package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +20 -0
- package/docs/docs/cmd/entra/user/user-groupmembership-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-guest-add.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-license-add.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-license-list.mdx +18 -1
- package/docs/docs/cmd/entra/user/user-license-remove.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-password-validate.mdx +12 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +19 -0
- package/docs/docs/cmd/entra/user/user-session-revoke.mdx +21 -0
- package/docs/docs/cmd/entra/user/user-signin-list.mdx +19 -0
- package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +19 -0
- package/docs/docs/cmd/external/connection/connection-add.mdx +21 -0
- package/docs/docs/cmd/external/connection/connection-doctor.mdx +19 -0
- package/docs/docs/cmd/external/connection/connection-get.mdx +19 -0
- package/docs/docs/cmd/external/connection/connection-list.mdx +19 -0
- package/docs/docs/cmd/external/connection/connection-remove.mdx +21 -0
- package/docs/docs/cmd/external/connection/connection-schema-add.mdx +21 -0
- package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +21 -0
- package/docs/docs/cmd/external/item/item-add.mdx +19 -0
- package/docs/docs/cmd/file/convert/convert-pdf.mdx +21 -0
- package/docs/docs/cmd/file/file-add.mdx +21 -0
- package/docs/docs/cmd/file/file-copy.mdx +21 -0
- package/docs/docs/cmd/file/file-list.mdx +19 -0
- package/docs/docs/cmd/file/file-move.mdx +21 -0
- package/docs/docs/cmd/outlook/calendar/calendar-add.mdx +165 -0
- package/docs/docs/cmd/outlook/calendar/calendar-get.mdx +165 -0
- package/docs/docs/cmd/outlook/calendar/calendar-remove.mdx +86 -0
- package/docs/docs/cmd/outlook/calendar/calendar-set.mdx +178 -0
- package/docs/docs/cmd/outlook/calendargroup/calendargroup-get.mdx +125 -0
- package/docs/docs/cmd/outlook/calendargroup/calendargroup-set.mdx +83 -0
- package/docs/docs/cmd/outlook/event/event-cancel.mdx +85 -0
- package/docs/docs/cmd/outlook/event/event-list.mdx +245 -0
- package/docs/docs/cmd/outlook/event/event-remove.mdx +85 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +14 -11
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +9 -6
- package/docs/docs/cmd/spo/brandcenter/brandcenter-colors-list.mdx +115 -0
- package/docs/docs/cmd/spo/file/file-archive.mdx +68 -0
- package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +13 -10
- package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +7 -4
- package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +3 -0
- package/docs/docs/cmd/teams/chat/chat-message-list.mdx +23 -2
- package/npm-shrinkwrap.json +0 -7
- package/package.json +2 -1
|
@@ -2,7 +2,7 @@ import Global from '../../_global.mdx';
|
|
|
2
2
|
|
|
3
3
|
# spo applicationcustomizer add
|
|
4
4
|
|
|
5
|
-
Add an
|
|
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
|
|
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
|
|
23
|
+
: Client-side component ID of the Application Customizer (GUID).
|
|
24
24
|
|
|
25
25
|
`--description [description]`
|
|
26
|
-
: Description of the
|
|
26
|
+
: Description of the Application Customizer.
|
|
27
27
|
|
|
28
28
|
`--clientSideComponentProperties [clientSideComponentProperties]`
|
|
29
|
-
: JSON string with
|
|
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
|
|
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
|
|
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`
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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`
|
|
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
|
|
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
|
|
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
|
|
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>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo file archive
|
|
6
|
+
|
|
7
|
+
Archives a file
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo file archive [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
|
+
: The URL of the site where the file is located.
|
|
20
|
+
|
|
21
|
+
`--url [url]`
|
|
22
|
+
: The server- or site-relative decoded URL of the file to archive. Specify either `url` or `id`, but not both.
|
|
23
|
+
|
|
24
|
+
`-i, --id [id]`
|
|
25
|
+
: The UniqueId (GUID) of the file to archive. Specify either `url` or `id`, but not both.
|
|
26
|
+
|
|
27
|
+
`-f, --force`
|
|
28
|
+
: Don't prompt for confirmation.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<Global />
|
|
32
|
+
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|------------|----------------|
|
|
40
|
+
| SharePoint | AllSites.Write |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|------------|---------------------|
|
|
47
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
52
|
+
## Examples
|
|
53
|
+
|
|
54
|
+
Archive a file by id without prompting for confirmation
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 spo file archive --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7a8c9207-7745-4cda-b0e2-be2618ee3030 --force
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Archive a file by URL with prompting for confirmation
|
|
61
|
+
|
|
62
|
+
```sh
|
|
63
|
+
m365 spo file archive --webUrl https://contoso.sharepoint.com/sites/Marketing --url '/sites/Marketing/shared documents/document.docx'
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Response
|
|
67
|
+
|
|
68
|
+
The command won't return a response on success.
|
|
@@ -30,7 +30,7 @@ m365 spo propertybag set [options]
|
|
|
30
30
|
|
|
31
31
|
## Remarks
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
If a site has NoScript enabled, setting property bag values may result in an _Access is denied_ error. To resolve this, you can configure a tenant-wide property to allow property bag updates on NoScript sites.
|
|
34
34
|
|
|
35
35
|
## Examples
|
|
36
36
|
|
|
@@ -2,7 +2,7 @@ import Global from '../../_global.mdx';
|
|
|
2
2
|
|
|
3
3
|
# spo tenant applicationcustomizer add
|
|
4
4
|
|
|
5
|
-
Add an
|
|
5
|
+
Add an Application Customizer as a tenant-wide extension
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
@@ -17,13 +17,16 @@ m365 spo tenant applicationcustomizer add [options]
|
|
|
17
17
|
: The title of the Application Customizer.
|
|
18
18
|
|
|
19
19
|
`-i, --clientSideComponentId <clientSideComponentId>`
|
|
20
|
-
: The Client Side Component Id (GUID) of the
|
|
20
|
+
: The Client Side Component Id (GUID) of the Application Customizer.
|
|
21
21
|
|
|
22
22
|
`-p, --clientSideComponentProperties [clientSideComponentProperties]`
|
|
23
|
-
: The Client Side Component properties of the
|
|
23
|
+
: The Client Side Component properties of the Application Customizer.
|
|
24
|
+
|
|
25
|
+
`--hostProperties [hostProperties]`
|
|
26
|
+
: Set the host properties of the Application Customizer.
|
|
24
27
|
|
|
25
28
|
`-w, --webTemplate [webTemplate]`
|
|
26
|
-
: Optionally add a web template (e.g. STS#3, SITEPAGEPUBLISHING#0, etc) as a filter for what kind of sites the
|
|
29
|
+
: Optionally add a web template (e.g. STS#3, SITEPAGEPUBLISHING#0, etc) as a filter for what kind of sites the Application Customizer is registered on.
|
|
27
30
|
```
|
|
28
31
|
|
|
29
32
|
<Global />
|
|
@@ -40,7 +43,7 @@ Note, how the clientSideComponentProperties option has escaped double quotes `'{
|
|
|
40
43
|
|
|
41
44
|
:::warning[Escaping JSON in PowerShell]
|
|
42
45
|
|
|
43
|
-
When using the `--clientSideComponentProperties`
|
|
46
|
+
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.
|
|
44
47
|
|
|
45
48
|
:::
|
|
46
49
|
|
|
@@ -50,20 +53,20 @@ To use this command, you need to be a SharePoint Admin.
|
|
|
50
53
|
|
|
51
54
|
:::
|
|
52
55
|
|
|
53
|
-
This command can be used for configuring a tenant-wide
|
|
56
|
+
This command can be used for configuring a tenant-wide Application Customizer. To configure an Application Customizer on a specific site, view our dedicated [spo applicationcustomizer add](../applicationcustomizer/applicationcustomizer-add.mdx) command.
|
|
54
57
|
|
|
55
58
|
## Examples
|
|
56
59
|
|
|
57
|
-
Adds an
|
|
60
|
+
Adds an Application Customizer that's deployed tenant wide
|
|
58
61
|
|
|
59
62
|
```sh
|
|
60
|
-
m365 spo tenant applicationcustomizer add --title "Some customizer" --clientSideComponentId
|
|
63
|
+
m365 spo tenant applicationcustomizer add --title "Some customizer" --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc
|
|
61
64
|
```
|
|
62
65
|
|
|
63
|
-
Adds an
|
|
66
|
+
Adds an Application Customizer that is configured for all communication sites.
|
|
64
67
|
|
|
65
68
|
```sh
|
|
66
|
-
m365 spo tenant applicationcustomizer add --title "Some customizer" --clientSideComponentId
|
|
69
|
+
m365 spo tenant applicationcustomizer add --title "Some customizer" --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc --webTemplate "SITEPAGEPUBLISHING#0"
|
|
67
70
|
```
|
|
68
71
|
|
|
69
72
|
## Response
|
|
@@ -31,25 +31,28 @@ m365 spo tenant applicationcustomizer set [options]
|
|
|
31
31
|
`-p, --clientSideComponentProperties [clientSideComponentProperties]`
|
|
32
32
|
: The Client Side Component properties of the Application Customizer.
|
|
33
33
|
|
|
34
|
+
`--hostProperties [hostProperties]`
|
|
35
|
+
: Set the host properties of the Application Customizer. Set to an empty string to clear the value.
|
|
36
|
+
|
|
34
37
|
`-w, --webTemplate [webTemplate]`
|
|
35
|
-
: Optionally add a web template (e.g. STS#3, SITEPAGEPUBLISHING#0, etc) as a filter for what kind of sites the
|
|
38
|
+
: Optionally add a web template (e.g. STS#3, SITEPAGEPUBLISHING#0, etc) as a filter for what kind of sites the Application Customizer is registered on.
|
|
36
39
|
```
|
|
37
40
|
|
|
38
41
|
<Global />
|
|
39
42
|
|
|
40
43
|
## Remarks
|
|
41
44
|
|
|
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 clientSideComponentProperties
|
|
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` and `hostProperties` options that have JSON values because the command shell treats quotes differently. For example, this is how Application Customizer can be updated from the Windows cmd.exe:
|
|
43
46
|
|
|
44
47
|
```sh
|
|
45
48
|
m365 spo tenant applicationcustomizer set --id 3 --clientSideComponentProperties '{\"someProperty\":\"Some value\"}'
|
|
46
49
|
```
|
|
47
50
|
|
|
48
|
-
Note, how the clientSideComponentProperties option
|
|
51
|
+
Note, how the `--clientSideComponentProperties` option has escaped double quotes `'{\"someProperty\":\"Some value\"}'` compared to execution from bash `'{"someProperty": "Some value"}'`.
|
|
49
52
|
|
|
50
53
|
:::warning[Escaping JSON in PowerShell]
|
|
51
54
|
|
|
52
|
-
When using the `--clientSideComponentProperties`
|
|
55
|
+
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.
|
|
53
56
|
|
|
54
57
|
:::
|
|
55
58
|
|
|
@@ -267,6 +267,9 @@ m365 spo tenant settings set [options]
|
|
|
267
267
|
|
|
268
268
|
`--SyncAadB2BManagementPolicy [SyncAadB2BManagementPolicy]`
|
|
269
269
|
: Syncs Azure B2B Management Policies. Allowed values `true`, `false`. For more information, see [SharePoint and OneDrive integration with Microsoft Entra B2B](https://aka.ms/spo-b2b-integration).
|
|
270
|
+
|
|
271
|
+
`--AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled [AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled]`
|
|
272
|
+
: Enables or disables web property bag updates when DenyAddAndCustomizePages is enabled. Allowed values `true`, `false`.
|
|
270
273
|
```
|
|
271
274
|
|
|
272
275
|
<Global />
|
|
@@ -18,8 +18,17 @@ m365 teams chat message list [options]
|
|
|
18
18
|
`-i, --chatId <chatId>`
|
|
19
19
|
: The ID of the chat conversation.
|
|
20
20
|
|
|
21
|
-
`--
|
|
21
|
+
`--createdEndDateTime [createdEndDateTime]`
|
|
22
22
|
: Time indicating the exclusive end of a time range when the message was created.
|
|
23
|
+
|
|
24
|
+
`--endDateTime [endDateTime]`
|
|
25
|
+
: (deprecated. Use `createdEndDateTime` instead) Time indicating the exclusive end of a time range when the message was created.
|
|
26
|
+
|
|
27
|
+
`--modifiedStartDateTime [modifiedStartDateTime]`
|
|
28
|
+
: Time indicating the inclusive start of a time range when the message was last modified. Cannot be combined with `createdEndDateTime`.
|
|
29
|
+
|
|
30
|
+
`--modifiedEndDateTime [modifiedEndDateTime]`
|
|
31
|
+
: Time indicating the exclusive end of a time range when the message was last modified. Cannot be combined with `createdEndDateTime`.
|
|
23
32
|
```
|
|
24
33
|
|
|
25
34
|
<Global />
|
|
@@ -54,7 +63,19 @@ m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread
|
|
|
54
63
|
List messages from a Microsoft Teams chat conversation created before November 1, 2022
|
|
55
64
|
|
|
56
65
|
```sh
|
|
57
|
-
m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --
|
|
66
|
+
m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --createdEndDateTime 2022-11-01T00:00:00Z
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
List messages from a Microsoft Teams chat conversation modified after October 1, 2025
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --modifiedStartDateTime 2025-10-01T00:00:00Z
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
List messages from a Microsoft Teams chat conversation modified between October 1, 2025 and November 1, 2025
|
|
76
|
+
|
|
77
|
+
```sh
|
|
78
|
+
m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2 --modifiedStartDateTime 2025-10-01T00:00:00Z --modifiedEndDateTime 2025-11-01T00:00:00Z
|
|
58
79
|
```
|
|
59
80
|
|
|
60
81
|
## Response
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1129,7 +1129,6 @@
|
|
|
1129
1129
|
"resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz",
|
|
1130
1130
|
"integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==",
|
|
1131
1131
|
"license": "Apache-2.0",
|
|
1132
|
-
"peer": true,
|
|
1133
1132
|
"engines": {
|
|
1134
1133
|
"node": ">=8.0.0"
|
|
1135
1134
|
}
|
|
@@ -2831,7 +2830,6 @@
|
|
|
2831
2830
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz",
|
|
2832
2831
|
"integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==",
|
|
2833
2832
|
"license": "MIT",
|
|
2834
|
-
"peer": true,
|
|
2835
2833
|
"dependencies": {
|
|
2836
2834
|
"undici-types": "~7.16.0"
|
|
2837
2835
|
}
|
|
@@ -2975,7 +2973,6 @@
|
|
|
2975
2973
|
"integrity": "sha512-rLoGZIf9afaRBYsPUMtvkDWykwXwUPL60HebR4JgTI8mxfFe2cQTu3AGitANp4b9B2QlVru6WzjgB2IzJKiCSA==",
|
|
2976
2974
|
"dev": true,
|
|
2977
2975
|
"license": "MIT",
|
|
2978
|
-
"peer": true,
|
|
2979
2976
|
"dependencies": {
|
|
2980
2977
|
"@typescript-eslint/scope-manager": "8.58.0",
|
|
2981
2978
|
"@typescript-eslint/types": "8.58.0",
|
|
@@ -3241,7 +3238,6 @@
|
|
|
3241
3238
|
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
|
|
3242
3239
|
"integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
|
|
3243
3240
|
"license": "MIT",
|
|
3244
|
-
"peer": true,
|
|
3245
3241
|
"bin": {
|
|
3246
3242
|
"acorn": "bin/acorn"
|
|
3247
3243
|
},
|
|
@@ -4154,7 +4150,6 @@
|
|
|
4154
4150
|
"resolved": "https://registry.npmjs.org/diagnostic-channel/-/diagnostic-channel-1.1.1.tgz",
|
|
4155
4151
|
"integrity": "sha512-r2HV5qFkUICyoaKlBEpLKHjxMXATUf/l+h8UZPGBHGLy4DDiY2sOLcIctax4eRnTw5wH2jTMExLntGPJ8eOJxw==",
|
|
4156
4152
|
"license": "MIT",
|
|
4157
|
-
"peer": true,
|
|
4158
4153
|
"dependencies": {
|
|
4159
4154
|
"semver": "^7.5.3"
|
|
4160
4155
|
}
|
|
@@ -4349,7 +4344,6 @@
|
|
|
4349
4344
|
"integrity": "sha512-S9jlY/ELKEUwwQnqWDO+f+m6sercqOPSqXM5Go94l7DOmxHVDgmSFGWEzeE/gwgTAr0W103BWt0QLe/7mabIvA==",
|
|
4350
4345
|
"dev": true,
|
|
4351
4346
|
"license": "MIT",
|
|
4352
|
-
"peer": true,
|
|
4353
4347
|
"dependencies": {
|
|
4354
4348
|
"@eslint-community/eslint-utils": "^4.8.0",
|
|
4355
4349
|
"@eslint-community/regexpp": "^4.12.2",
|
|
@@ -7508,7 +7502,6 @@
|
|
|
7508
7502
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
|
7509
7503
|
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
|
7510
7504
|
"license": "Apache-2.0",
|
|
7511
|
-
"peer": true,
|
|
7512
7505
|
"bin": {
|
|
7513
7506
|
"tsc": "bin/tsc",
|
|
7514
7507
|
"tsserver": "bin/tsserver"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "11.7.0-beta.
|
|
3
|
+
"version": "11.7.0-beta.ba78c1f",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -253,6 +253,7 @@
|
|
|
253
253
|
"van Brug, Herco <hercovanbrug@hotmail.com>",
|
|
254
254
|
"Van de Voorde, Tim <tim.vdv1995@hotmail.com>",
|
|
255
255
|
"van Dijk, Mark <mark@ichicraft.com>",
|
|
256
|
+
"Van Horn, Matt <mvanhorn@users.noreply.github.com>",
|
|
256
257
|
"van Hunen, Erwin <erwin.van.hunen@outlook.com>",
|
|
257
258
|
"van Iersel, Cas <cvaniersel@portiva.nl>",
|
|
258
259
|
"van Rousselt, Rick <rick.vanrousselt@outlook.com>",
|