@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.
Files changed (112) 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/config.js +1 -0
  5. package/dist/m365/context/commands/option/option-list.js +6 -1
  6. package/dist/m365/entra/commands/resourcenamespace/resourcenamespace-list.js +6 -0
  7. package/dist/m365/entra/commands/user/user-license-add.js +2 -1
  8. package/dist/m365/entra/commands/user/user-license-list.js +4 -9
  9. package/dist/m365/entra/commands/user/user-license-remove.js +2 -1
  10. package/dist/m365/external/commands/connection/connection-list.js +6 -0
  11. package/dist/m365/outlook/commands/calendar/calendar-add.js +85 -0
  12. package/dist/m365/outlook/commands/calendar/calendar-get.js +71 -0
  13. package/dist/m365/outlook/commands/calendar/calendar-remove.js +100 -0
  14. package/dist/m365/outlook/commands/calendar/calendar-set.js +132 -0
  15. package/dist/m365/outlook/commands/calendargroup/calendargroup-get.js +114 -0
  16. package/dist/m365/outlook/commands/calendargroup/calendargroup-set.js +115 -0
  17. package/dist/m365/outlook/commands/event/event-cancel.js +103 -0
  18. package/dist/m365/outlook/commands/event/event-list.js +115 -0
  19. package/dist/m365/outlook/commands/event/event-remove.js +104 -0
  20. package/dist/m365/outlook/commands.js +9 -0
  21. package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +643 -0
  22. package/dist/m365/spfx/commands/project/DeployWorkflow.js +2 -2
  23. package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +13 -1
  24. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.0-rc.0.js +19 -0
  25. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  26. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +16 -1
  27. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002021_DEVDEP_rushstack_eslint_config.js +2 -2
  28. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002032_DEVDEP_typescript_eslint_parser.js +2 -2
  29. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015008_FILE_eslintrc_js.js +1 -1
  30. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN015016_FILE_eslint_config_js.js +10 -0
  31. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.0-rc.0.js +84 -0
  32. package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
  33. package/dist/m365/spfx/commands/spfx-doctor.js +5 -631
  34. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +13 -1
  35. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +24 -3
  36. package/dist/m365/spo/commands/brandcenter/brandcenter-colors-list.js +59 -0
  37. package/dist/m365/spo/commands/file/file-archive.js +83 -0
  38. package/dist/m365/spo/commands/propertybag/propertybag-set.js +3 -9
  39. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +20 -0
  40. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +27 -2
  41. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +5 -1
  42. package/dist/m365/spo/commands.js +2 -0
  43. package/dist/m365/teams/commands/chat/chat-message-list.js +43 -4
  44. package/dist/request.js +0 -16
  45. package/dist/utils/calendar.js +37 -0
  46. package/dist/utils/calendarGroup.js +22 -0
  47. package/dist/utils/entraApp.js +9 -2
  48. package/dist/utils/spfx.js +59 -0
  49. package/docs/docs/cmd/entra/license/license-list.mdx +19 -0
  50. package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +19 -0
  51. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +19 -0
  52. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +21 -0
  53. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +19 -0
  54. package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +21 -0
  55. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +21 -0
  56. package/docs/docs/cmd/entra/roledefinition/roledefinition-add.mdx +19 -0
  57. package/docs/docs/cmd/entra/roledefinition/roledefinition-get.mdx +19 -0
  58. package/docs/docs/cmd/entra/roledefinition/roledefinition-list.mdx +19 -0
  59. package/docs/docs/cmd/entra/roledefinition/roledefinition-remove.mdx +21 -0
  60. package/docs/docs/cmd/entra/roledefinition/roledefinition-set.mdx +21 -0
  61. package/docs/docs/cmd/entra/siteclassification/siteclassification-disable.mdx +21 -0
  62. package/docs/docs/cmd/entra/siteclassification/siteclassification-enable.mdx +21 -0
  63. package/docs/docs/cmd/entra/siteclassification/siteclassification-get.mdx +19 -0
  64. package/docs/docs/cmd/entra/siteclassification/siteclassification-set.mdx +20 -0
  65. package/docs/docs/cmd/entra/user/user-groupmembership-list.mdx +19 -0
  66. package/docs/docs/cmd/entra/user/user-guest-add.mdx +19 -0
  67. package/docs/docs/cmd/entra/user/user-license-add.mdx +19 -0
  68. package/docs/docs/cmd/entra/user/user-license-list.mdx +18 -1
  69. package/docs/docs/cmd/entra/user/user-license-remove.mdx +21 -0
  70. package/docs/docs/cmd/entra/user/user-password-validate.mdx +12 -0
  71. package/docs/docs/cmd/entra/user/user-recyclebinitem-clear.mdx +21 -0
  72. package/docs/docs/cmd/entra/user/user-recyclebinitem-list.mdx +19 -0
  73. package/docs/docs/cmd/entra/user/user-recyclebinitem-remove.mdx +21 -0
  74. package/docs/docs/cmd/entra/user/user-recyclebinitem-restore.mdx +19 -0
  75. package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +19 -0
  76. package/docs/docs/cmd/entra/user/user-session-revoke.mdx +21 -0
  77. package/docs/docs/cmd/entra/user/user-signin-list.mdx +19 -0
  78. package/docs/docs/cmd/exo/approleassignment/approleassignment-add.mdx +19 -0
  79. package/docs/docs/cmd/external/connection/connection-add.mdx +21 -0
  80. package/docs/docs/cmd/external/connection/connection-doctor.mdx +19 -0
  81. package/docs/docs/cmd/external/connection/connection-get.mdx +19 -0
  82. package/docs/docs/cmd/external/connection/connection-list.mdx +19 -0
  83. package/docs/docs/cmd/external/connection/connection-remove.mdx +21 -0
  84. package/docs/docs/cmd/external/connection/connection-schema-add.mdx +21 -0
  85. package/docs/docs/cmd/external/connection/connection-urltoitemresolver-add.mdx +21 -0
  86. package/docs/docs/cmd/external/item/item-add.mdx +19 -0
  87. package/docs/docs/cmd/file/convert/convert-pdf.mdx +21 -0
  88. package/docs/docs/cmd/file/file-add.mdx +21 -0
  89. package/docs/docs/cmd/file/file-copy.mdx +21 -0
  90. package/docs/docs/cmd/file/file-list.mdx +19 -0
  91. package/docs/docs/cmd/file/file-move.mdx +21 -0
  92. package/docs/docs/cmd/outlook/calendar/calendar-add.mdx +165 -0
  93. package/docs/docs/cmd/outlook/calendar/calendar-get.mdx +165 -0
  94. package/docs/docs/cmd/outlook/calendar/calendar-remove.mdx +86 -0
  95. package/docs/docs/cmd/outlook/calendar/calendar-set.mdx +178 -0
  96. package/docs/docs/cmd/outlook/calendargroup/calendargroup-get.mdx +125 -0
  97. package/docs/docs/cmd/outlook/calendargroup/calendargroup-set.mdx +83 -0
  98. package/docs/docs/cmd/outlook/event/event-cancel.mdx +85 -0
  99. package/docs/docs/cmd/outlook/event/event-list.mdx +245 -0
  100. package/docs/docs/cmd/outlook/event/event-remove.mdx +85 -0
  101. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  102. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +14 -11
  103. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +9 -6
  104. package/docs/docs/cmd/spo/brandcenter/brandcenter-colors-list.mdx +115 -0
  105. package/docs/docs/cmd/spo/file/file-archive.mdx +68 -0
  106. package/docs/docs/cmd/spo/propertybag/propertybag-set.mdx +1 -1
  107. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.mdx +13 -10
  108. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +7 -4
  109. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +3 -0
  110. package/docs/docs/cmd/teams/chat/chat-message-list.mdx +23 -2
  111. package/npm-shrinkwrap.json +0 -7
  112. 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 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>
@@ -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
- SharePoint Online supports setting property bag values only in classic sites. On modern sites you will get a _Site has NoScript enabled, and setting property bag values is not supported_ error.
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 application customizer as a tenant-wide extension
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 application customizer.
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 application customizer.
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 application customizer is registered on.
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` 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.
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 application customizer. To configure an application customizer on a specific site, view our dedicated [spo applicationcustomizer add](../applicationcustomizer/applicationcustomizer-add.mdx) command.
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 application customizer that's deployed tenant wide
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 799883f5-7962-4384-a10a-105adaec6ffc
63
+ m365 spo tenant applicationcustomizer add --title "Some customizer" --clientSideComponentId 799883f5-7962-4384-a10a-105adaec6ffc
61
64
  ```
62
65
 
63
- Adds an application customizer that is configured for all communication sites.
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 799883f5-7962-4384-a10a-105adaec6ffc --webTemplate "SITEPAGEPUBLISHING#0"
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 application customizer is registered on.
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 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:
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 (--clientSideComponentProperties) has escaped double quotes `'{\"someProperty\":\"Some value\"}'` compared to execution from bash `'{"someProperty": "Some value"}'`.
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` 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.
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
- `--endDateTime [endDateTime]`
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 --endDateTime 2022-11-01T00:00:00Z
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
@@ -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.b67a258",
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>",