@pnp/cli-microsoft365 9.0.0-beta.f2c5f82 → 9.1.0-beta.4ee36d4
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +11 -12
- package/dist/Command.js +1 -3
- package/dist/cli/cli.js +57 -8
- package/dist/config.js +60 -5
- package/dist/m365/app/commands/permission/permission-add.js +9 -9
- package/dist/m365/base/SpoCommand.js +1 -1
- package/dist/m365/cli/commands/cli-consent.js +9 -5
- package/dist/m365/cli/commands/cli-doctor.js +2 -2
- package/dist/m365/cli/commands/cli-reconsent.js +2 -3
- package/dist/m365/cli/commands/config/config-set.js +12 -3
- package/dist/m365/commands/login.js +38 -14
- package/dist/m365/commands/setup.js +256 -33
- package/dist/m365/commands/status.js +2 -2
- package/dist/m365/connection/commands/connection-list.js +4 -4
- package/dist/m365/entra/commands/app/app-add.js +52 -288
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +13 -13
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +18 -18
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -1
- package/dist/m365/entra/commands/group/group-user-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
- package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
- package/dist/m365/entra/commands/m365group/m365group-user-list.js +9 -6
- package/dist/m365/onenote/commands/notebook/notebook-add.js +132 -0
- package/dist/m365/onenote/commands.js +1 -0
- package/dist/m365/outlook/commands/message/message-get.js +11 -11
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +1 -1
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +10 -1
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +1 -0
- package/dist/m365/spo/commands/file/file-copy.js +34 -55
- package/dist/m365/spo/commands/folder/folder-set.js +4 -0
- package/dist/m365/spo/commands/list/list-list.js +4 -1
- package/dist/m365/spo/commands/site/site-appcatalog-remove.js +24 -48
- package/dist/m365/spo/commands/site/site-get.js +12 -16
- package/dist/m365/spo/commands/site/site-remove.js +7 -1
- package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +22 -2
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/viva/commands/engage/engage-group-list.js +5 -0
- package/dist/m365/viva/commands/engage/engage-group-user-add.js +5 -0
- package/dist/m365/viva/commands/engage/engage-group-user-remove.js +5 -0
- package/dist/m365/viva/commands/engage/engage-message-add.js +5 -0
- package/dist/m365/viva/commands/engage/engage-message-get.js +5 -0
- package/dist/m365/viva/commands/engage/engage-message-like-set.js +5 -0
- package/dist/m365/viva/commands/engage/engage-message-list.js +5 -0
- package/dist/m365/viva/commands/engage/engage-message-remove.js +5 -0
- package/dist/m365/viva/commands/engage/engage-network-list.js +5 -0
- package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +8 -0
- package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +8 -0
- package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +8 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +8 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +8 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +8 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +8 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +8 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +8 -0
- package/dist/m365/viva/commands/engage/engage-search.js +5 -0
- package/dist/m365/viva/commands/engage/engage-user-get.js +5 -0
- package/dist/m365/viva/commands/engage/engage-user-list.js +5 -0
- package/dist/m365/viva/commands/engage/yammerCommands.js +25 -0
- package/dist/settingsNames.js +7 -1
- package/dist/utils/entraApp.js +283 -0
- package/dist/utils/spo.js +0 -74
- package/docs/docs/_clisettings.mdx +6 -0
- package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
- package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +12 -12
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +14 -14
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +5 -5
- package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
- package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
- package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
- package/docs/docs/cmd/onenote/notebook/notebook-add.mdx +169 -0
- package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
- package/docs/docs/cmd/setup.mdx +16 -3
- package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +12 -11
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +5 -6
- package/docs/docs/cmd/spo/file/file-copy.mdx +12 -119
- package/docs/docs/cmd/spo/folder/folder-set.mdx +6 -0
- package/docs/docs/cmd/spo/list/list-list.mdx +7 -5
- package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +2 -11
- package/docs/docs/cmd/spo/site/site-remove.mdx +3 -0
- package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +49 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -126,7 +126,8 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
|
|
|
126
126
|
"ParserDisabled": false,
|
|
127
127
|
"ServerTemplateCanCreateFolders": false,
|
|
128
128
|
"TemplateFeatureId": "00000000-0000-0000-0000-000000000000",
|
|
129
|
-
"Title": "Theme Gallery"
|
|
129
|
+
"Title": "Theme Gallery",
|
|
130
|
+
"Url": "/_catalogs/theme"
|
|
130
131
|
}
|
|
131
132
|
]
|
|
132
133
|
```
|
|
@@ -135,17 +136,17 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
|
|
|
135
136
|
<TabItem value="Text">
|
|
136
137
|
|
|
137
138
|
```text
|
|
138
|
-
Id
|
|
139
|
+
Id Url
|
|
139
140
|
------------------------------------ ----------------
|
|
140
|
-
66e5148c-7060-4479-88e7-636d79579148
|
|
141
|
+
66e5148c-7060-4479-88e7-636d79579148 /_catalogs/theme
|
|
141
142
|
```
|
|
142
143
|
|
|
143
144
|
</TabItem>
|
|
144
145
|
<TabItem value="CSV">
|
|
145
146
|
|
|
146
147
|
```csv
|
|
147
|
-
Id,
|
|
148
|
-
66e5148c-7060-4479-88e7-636d79579148
|
|
148
|
+
Id,Url
|
|
149
|
+
Theme Gallery,/_catalogs/theme,66e5148c-7060-4479-88e7-636d79579148
|
|
149
150
|
```
|
|
150
151
|
|
|
151
152
|
</TabItem>
|
|
@@ -210,6 +211,7 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
|
|
|
210
211
|
ServerTemplateCanCreateFolders | true
|
|
211
212
|
TemplateFeatureId | 00000000-0000-0000-0000-000000000000
|
|
212
213
|
Title | Theme Gallery
|
|
214
|
+
Url | //\_catalogs/theme
|
|
213
215
|
```
|
|
214
216
|
|
|
215
217
|
</TabItem>
|
|
@@ -14,10 +14,7 @@ m365 spo site appcatalog remove [options]
|
|
|
14
14
|
|
|
15
15
|
```md definition-list
|
|
16
16
|
`-u, --siteUrl <siteUrl>`
|
|
17
|
-
: URL of the site collection containing the app catalog to disable
|
|
18
|
-
|
|
19
|
-
`-f, --force`
|
|
20
|
-
: Don't prompt for confirmation.
|
|
17
|
+
: URL of the site collection containing the app catalog to disable
|
|
21
18
|
```
|
|
22
19
|
|
|
23
20
|
<Global />
|
|
@@ -34,18 +31,12 @@ To use this command you have to have permissions to access the tenant admin site
|
|
|
34
31
|
|
|
35
32
|
## Examples
|
|
36
33
|
|
|
37
|
-
Remove the site collection app catalog from specified site
|
|
34
|
+
Remove the site collection app catalog from specified site
|
|
38
35
|
|
|
39
36
|
```sh
|
|
40
37
|
m365 spo site appcatalog remove --siteUrl https://contoso.sharepoint/sites/site
|
|
41
38
|
```
|
|
42
39
|
|
|
43
|
-
Remove the site collection app catalog from specified site without prompting for confirmation.
|
|
44
|
-
|
|
45
|
-
```sh
|
|
46
|
-
m365 spo site appcatalog remove --siteUrl https://contoso.sharepoint/sites/site --force
|
|
47
|
-
```
|
|
48
|
-
|
|
49
40
|
## Response
|
|
50
41
|
|
|
51
42
|
The command won't return a response on success.
|
|
@@ -22,6 +22,9 @@ m365 spo site remove [options]
|
|
|
22
22
|
`--fromRecycleBin`
|
|
23
23
|
: Set to remove the site from the recycle bin.
|
|
24
24
|
|
|
25
|
+
`--wait`
|
|
26
|
+
: (deprecated) Wait for the site to be removed before completing the command.
|
|
27
|
+
|
|
25
28
|
`-f, --force`
|
|
26
29
|
: Don't prompt for confirmation.
|
|
27
30
|
```
|
|
@@ -17,6 +17,9 @@ m365 spo tenant recyclebinitem restore [options]
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-u, --siteUrl <siteUrl>`
|
|
19
19
|
: URL of the site.
|
|
20
|
+
|
|
21
|
+
`--wait`
|
|
22
|
+
: (deprecated) Wait for the site collection to be restored before completing the command.
|
|
20
23
|
```
|
|
21
24
|
|
|
22
25
|
<Global />
|
|
@@ -31,7 +34,7 @@ To use this command you must be a Global or SharePoint administrator.
|
|
|
31
34
|
|
|
32
35
|
## Examples
|
|
33
36
|
|
|
34
|
-
|
|
37
|
+
Restore a deleted site collection from tenant recycle bin
|
|
35
38
|
|
|
36
39
|
```sh
|
|
37
40
|
m365 spo tenant recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/team
|
|
@@ -39,4 +42,48 @@ m365 spo tenant recyclebinitem restore --siteUrl https://contoso.sharepoint.com/
|
|
|
39
42
|
|
|
40
43
|
## Response
|
|
41
44
|
|
|
42
|
-
|
|
45
|
+
<Tabs>
|
|
46
|
+
<TabItem value="JSON">
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"HasTimedout": false,
|
|
51
|
+
"IsComplete": true,
|
|
52
|
+
"PollingInterval": 15000
|
|
53
|
+
}
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
<TabItem value="Text">
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
HasTimedout : false
|
|
61
|
+
IsComplete : true
|
|
62
|
+
PollingInterval: 15000
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
<TabItem value="CSV">
|
|
67
|
+
|
|
68
|
+
```csv
|
|
69
|
+
HasTimedout,IsComplete,PollingInterval
|
|
70
|
+
,1,15000
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
</TabItem>
|
|
74
|
+
<TabItem value="Markdown">
|
|
75
|
+
|
|
76
|
+
```md
|
|
77
|
+
# spo tenant recyclebinitem restore --siteUrl "https://contoso.sharepoint.com/teams/team1"
|
|
78
|
+
|
|
79
|
+
Date: 2023-06-22
|
|
80
|
+
|
|
81
|
+
Property | Value
|
|
82
|
+
---------|-------
|
|
83
|
+
HasTimedout | false
|
|
84
|
+
IsComplete | true
|
|
85
|
+
PollingInterval | 15000
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
</TabItem>
|
|
89
|
+
</Tabs>
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pnp/cli-microsoft365",
|
|
9
|
-
"version": "9.
|
|
9
|
+
"version": "9.1.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-common": "^14.14.0",
|
package/package.json
CHANGED