@pnp/cli-microsoft365 11.5.0-beta.960ec81 → 11.5.0-beta.d906a19

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 (32) hide show
  1. package/.devproxy/api-specs/sharepoint.yaml +16 -0
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.22.2.js +21 -0
  5. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  6. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.22.2.js +55 -0
  7. package/dist/m365/spfx/commands/project/project-upgrade.js +3 -2
  8. package/dist/m365/spfx/commands/spfx-doctor.js +23 -8
  9. package/dist/m365/spo/commands/brandcenter/brandcenter-settings-list.js +39 -0
  10. package/dist/m365/spo/commands/site/site-hubsite-connect.js +26 -30
  11. package/dist/m365/spo/commands/site/site-hubsite-disconnect.js +26 -28
  12. package/dist/m365/spo/commands.js +1 -0
  13. package/dist/m365/teams/commands/callrecord/callrecord-get.js +52 -0
  14. package/dist/m365/teams/commands.js +1 -0
  15. package/docs/docs/cmd/graph/openextension/openextension-add.mdx +18 -0
  16. package/docs/docs/cmd/graph/openextension/openextension-get.mdx +18 -0
  17. package/docs/docs/cmd/graph/openextension/openextension-list.mdx +18 -0
  18. package/docs/docs/cmd/graph/openextension/openextension-remove.mdx +18 -0
  19. package/docs/docs/cmd/graph/openextension/openextension-set.mdx +18 -0
  20. package/docs/docs/cmd/outlook/message/message-get.mdx +19 -0
  21. package/docs/docs/cmd/outlook/message/message-list.mdx +19 -0
  22. package/docs/docs/cmd/outlook/message/message-move.mdx +21 -0
  23. package/docs/docs/cmd/outlook/message/message-remove.mdx +21 -0
  24. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  25. package/docs/docs/cmd/spo/brandcenter/brandcenter-settings-list.mdx +151 -0
  26. package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +32 -2
  27. package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +32 -2
  28. package/docs/docs/cmd/teams/callrecord/callrecord-get.mdx +493 -0
  29. package/docs/docs/cmd/teams/callrecord/callrecord-list.mdx +16 -5
  30. package/eslint.config.mjs +2 -0
  31. package/npm-shrinkwrap.json +1215 -380
  32. package/package.json +15 -15
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import TabItem from '@theme/TabItem';
3
+ import Tabs from '@theme/Tabs';
2
4
 
3
5
  # outlook message move
4
6
 
@@ -31,6 +33,25 @@ m365 outlook message move [options]
31
33
 
32
34
  <Global />
33
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |-----------------|---------------------------|
43
+ | Microsoft Graph | Mail.ReadWrite |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |-----------------|--------------------------------|
50
+ | Microsoft Graph | Mail.ReadWrite |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
34
55
  ## Examples
35
56
 
36
57
  Move the specified message to another folder specified by ID
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import TabItem from '@theme/TabItem';
3
+ import Tabs from '@theme/Tabs';
2
4
 
3
5
  # outlook message remove
4
6
 
@@ -28,6 +30,25 @@ m365 outlook message remove [options]
28
30
 
29
31
  <Global />
30
32
 
33
+ ## Permissions
34
+
35
+ <Tabs>
36
+ <TabItem value="Delegated">
37
+
38
+ | Resource | Permissions |
39
+ |-----------------|---------------------------|
40
+ | Microsoft Graph | Mail.ReadWrite |
41
+
42
+ </TabItem>
43
+ <TabItem value="Application">
44
+
45
+ | Resource | Permissions |
46
+ |-----------------|--------------------------------|
47
+ | Microsoft Graph | Mail.ReadWrite |
48
+
49
+ </TabItem>
50
+ </Tabs>
51
+
31
52
  ## Remarks
32
53
 
33
54
  :::warning
@@ -45,7 +45,7 @@ m365 spfx project upgrade [options]
45
45
 
46
46
  ## Remarks
47
47
 
48
- The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.21.1).
48
+ The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.22.2).
49
49
 
50
50
  This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
51
51
 
@@ -0,0 +1,151 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spo brandcenter settings list
6
+
7
+ Lists the brand center configuration
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spo brandcenter settings 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
+ ## Examples
39
+
40
+ List all brand center config
41
+
42
+ ```sh
43
+ m365 spo brandcenter settings list
44
+ ```
45
+
46
+ ## Response
47
+
48
+ <Tabs>
49
+ <TabItem value="JSON">
50
+
51
+ ```json
52
+ {
53
+ "BrandColorsListId": "00000000-0000-0000-0000-000000000000",
54
+ "BrandColorsListUrl": {
55
+ "DecodedUrl": "https://contoso.sharepoint.com/sites/BrandGuide/_catalogs/brandcolors"
56
+ },
57
+ "BrandFontLibraryId": "23af51de-856c-4d00-aa11-0d03af0e46e3",
58
+ "BrandFontLibraryUrl": {
59
+ "DecodedUrl": "https://contoso.sharepoint.com/sites/BrandGuide/Fonts"
60
+ },
61
+ "IsBrandCenterSiteFeatureEnabled": true,
62
+ "IsPublicCdnEnabled": true,
63
+ "OrgAssets": {
64
+ "CentralAssetRepositoryLibraries": null,
65
+ "Domain": {
66
+ "DecodedUrl": "https://contoso.sharepoint.com"
67
+ },
68
+ "OrgAssetsLibraries": {
69
+ "OrgAssetsLibraries": [
70
+ {
71
+ "DisplayName": "Fonts",
72
+ "FileType": "",
73
+ "LibraryUrl": {
74
+ "DecodedUrl": "sites/BrandGuide/Fonts"
75
+ },
76
+ "ListId": "23af51de-856c-4d00-aa11-0d03af0e46e3",
77
+ "OrgAssetFlags": 0,
78
+ "OrgAssetType": 8,
79
+ "ThumbnailUrl": null,
80
+ "UniqueId": "00000000-0000-0000-0000-000000000000"
81
+ }
82
+ ],
83
+ "Items": [
84
+ {
85
+ "DisplayName": "Fonts",
86
+ "FileType": "",
87
+ "LibraryUrl": {
88
+ "DecodedUrl": "sites/BrandGuide/Fonts"
89
+ },
90
+ "ListId": "23af51de-856c-4d00-aa11-0d03af0e46e3",
91
+ "OrgAssetFlags": 0,
92
+ "OrgAssetType": 8,
93
+ "ThumbnailUrl": null,
94
+ "UniqueId": "00000000-0000-0000-0000-000000000000"
95
+ }
96
+ ]
97
+ },
98
+ "SiteId": "52b46e48-9c0c-40cb-a955-13eb6c717ff3",
99
+ "Url": {
100
+ "DecodedUrl": "/sites/BrandGuide"
101
+ },
102
+ "WebId": "206988d5-e133-4a24-819d-24101f3407ce"
103
+ },
104
+ "SiteId": "52b46e48-9c0c-40cb-a955-13eb6c717ff3",
105
+ "SiteUrl": "https://contoso.sharepoint.com/sites/BrandGuide"
106
+ }
107
+ ```
108
+
109
+ </TabItem>
110
+ <TabItem value="Text">
111
+
112
+ ```txt
113
+ BrandColorsListId : 00000000-0000-0000-0000-000000000000
114
+ BrandColorsListUrl : {"DecodedUrl": "https://contoso.sharepoint.com/sites/BrandGuide/_catalogs/brandcolors"}
115
+ BrandFontLibraryId : 23af51de-856c-4d00-aa11-0d03af0e46e3
116
+ BrandFontLibraryUrl : {"DecodedUrl":"https://contoso.sharepoint.com/sites/BrandGuide/Fonts"}
117
+ IsBrandCenterSiteFeatureEnabled: true
118
+ IsPublicCdnEnabled : true
119
+ OrgAssets : {"CentralAssetRepositoryLibraries":null,"Domain":{"DecodedUrl":"https://contoso.sharepoint.com"},"OrgAssetsLibraries":{"OrgAssetsLibraries":[{"DisplayName":"Fonts","FileType":"","LibraryUrl":{"DecodedUrl":"sites/BrandGuide/Fonts"},"ListId":"23af51de-856c-4d00-aa11-0d03af0e46e3","OrgAssetFlags":0,"OrgAssetType":8,"ThumbnailUrl":null,"UniqueId":"00000000-0000-0000-0000-000000000000"}],"Items":[{"DisplayName":"Fonts","FileType":"","LibraryUrl":{"DecodedUrl":"sites/BrandGuide/Fonts"},"ListId":"23af51de-856c-4d00-aa11-0d03af0e46e3","OrgAssetFlags":0,"OrgAssetType":8,"ThumbnailUrl":null,"UniqueId":"00000000-0000-0000-0000-000000000000"}]},"SiteId":"52b46e48-9c0c-40cb-a955-13eb6c717ff3","Url":{"DecodedUrl":"/sites/BrandGuide"},"WebId":"206988d5-e133-4a24-819d-24101f3407ce"}
120
+ SiteId : 52b46e48-9c0c-40cb-a955-13eb6c717ff3
121
+ SiteUrl : https://contoso.sharepoint.com/sites/BrandGuide
122
+ ```
123
+
124
+ </TabItem>
125
+ <TabItem value="CSV">
126
+
127
+ ```csv
128
+ BrandColorsListId,BrandFontLibraryId,IsBrandCenterSiteFeatureEnabled,IsPublicCdnEnabled,SiteId,SiteUrl
129
+ 00000000-0000-0000-0000-000000000000,23af51de-856c-4d00-aa11-0d03af0e46e3,1,1,52b46e48-9c0c-40cb-a955-13eb6c717ff3,https://contoso.sharepoint.com/sites/BrandGuide
130
+ ```
131
+
132
+ </TabItem>
133
+ <TabItem value="Markdown">
134
+
135
+ ```md
136
+ # spo brandcenter settings list
137
+
138
+ Date: 12/1/2025
139
+
140
+ Property | Value
141
+ ---------|-------
142
+ BrandColorsListId | 00000000-0000-0000-0000-000000000000
143
+ BrandFontLibraryId | 23af51de-856c-4d00-aa11-0d03af0e46e3
144
+ IsBrandCenterSiteFeatureEnabled | true
145
+ IsPublicCdnEnabled | true
146
+ SiteId | 52b46e48-9c0c-40cb-a955-13eb6c717ff3
147
+ SiteUrl | https://contoso.sharepoint.com/sites/BrandGuide
148
+ ```
149
+
150
+ </TabItem>
151
+ </Tabs>
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo site hubsite connect
4
6
 
@@ -14,10 +16,13 @@ m365 spo site hubsite connect [options]
14
16
 
15
17
  ```md definition-list
16
18
  `-u, --siteUrl <siteUrl>`
17
- : The URL of the site collection to connect to the hub site
19
+ : The URL of the site collection to connect to the hub site.
18
20
 
19
21
  `-i, --id <id>`
20
- : The ID of the hub site to which to connect the site collection
22
+ : The ID of the hub site to which to connect the site collection.
23
+
24
+ `--asAdmin`
25
+ : Connect the site to a hub site as SharePoint admin.
21
26
  ```
22
27
 
23
28
  <Global />
@@ -28,6 +33,25 @@ If the specified site collection is already connected to a hub site, it will be
28
33
 
29
34
  If the specified `id` doesn't point to a valid hub site, you will get a `ResourceNotFoundException` error.
30
35
 
36
+ ## Permissions
37
+
38
+ <Tabs>
39
+ <TabItem value="Delegated">
40
+
41
+ | Resource | Permissions |
42
+ |------------|----------------------|
43
+ | SharePoint | AllSites.FullControl |
44
+
45
+ </TabItem>
46
+ <TabItem value="Application">
47
+
48
+ | Resource | Permissions |
49
+ |------------|-----------------------|
50
+ | SharePoint | Sites.FullControl.All |
51
+
52
+ </TabItem>
53
+ </Tabs>
54
+
31
55
  ## Examples
32
56
 
33
57
  Connect a specific site collection to a hub site
@@ -36,6 +60,12 @@ Connect a specific site collection to a hub site
36
60
  m365 spo site hubsite connect --siteUrl https://contoso.sharepoint.com/sites/contoso-sales --id 255a50b2-527f-4413-8485-57f4c17a24d1
37
61
  ```
38
62
 
63
+ Connect a specific site collection to a hub site as SharePoint admin
64
+
65
+ ```sh
66
+ m365 spo site hubsite connect --siteUrl https://contoso.sharepoint.com/sites/contoso-sales --id 255a50b2-527f-4413-8485-57f4c17a24d1 --asAdmin
67
+ ```
68
+
39
69
  ## Response
40
70
 
41
71
  The command won't return a response on success.
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo site hubsite disconnect
4
6
 
@@ -14,14 +16,36 @@ m365 spo site hubsite disconnect [options]
14
16
 
15
17
  ```md definition-list
16
18
  `-u, --siteUrl <siteUrl>`
17
- : URL of the site collection to disconnect from its hub site
19
+ : URL of the site collection to disconnect from its hub site.
20
+
21
+ `--asAdmin`
22
+ : Disconnect the site from a hub site as SharePoint admin.
18
23
 
19
24
  `-f, --force`
20
- : Don't prompt for confirmation
25
+ : Don't prompt for confirmation.
21
26
  ```
22
27
 
23
28
  <Global />
24
29
 
30
+ ## Permissions
31
+
32
+ <Tabs>
33
+ <TabItem value="Delegated">
34
+
35
+ | Resource | Permissions |
36
+ |------------|----------------------|
37
+ | SharePoint | AllSites.FullControl |
38
+
39
+ </TabItem>
40
+ <TabItem value="Application">
41
+
42
+ | Resource | Permissions |
43
+ |------------|-----------------------|
44
+ | SharePoint | Sites.FullControl.All |
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
25
49
  ## Examples
26
50
 
27
51
  Disconnect a specific site collection from its hub site. Will prompt for confirmation before disconnecting from the hub site.
@@ -30,6 +54,12 @@ Disconnect a specific site collection from its hub site. Will prompt for confirm
30
54
  m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales
31
55
  ```
32
56
 
57
+ Disconnect a specific site collection from its hub site as SharePoint admin.
58
+
59
+ ```sh
60
+ m365 spo site hubsite disconnect --siteUrl https://contoso.sharepoint.com/sites/sales --asAdmin
61
+ ```
62
+
33
63
  Disconnect a specific site collection from its hub site without prompting for confirmation.
34
64
 
35
65
  ```sh