@pnp/cli-microsoft365 11.10.0-beta.6b0583b → 11.10.0-beta.df8d498
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/.devcontainer/Dockerfile +1 -1
- package/.devproxy/api-specs/sharepoint-admin.yaml +50 -0
- package/Dockerfile +1 -1
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +4 -2
- package/dist/m365/outlook/commands/event/event-get.js +77 -0
- package/dist/m365/outlook/commands.js +1 -0
- package/dist/m365/planner/commands/roster/roster-add.js +5 -0
- package/dist/m365/planner/commands/roster/roster-get.js +8 -18
- package/dist/m365/planner/commands/roster/roster-member-add.js +29 -45
- package/dist/m365/planner/commands/roster/roster-member-get.js +28 -44
- package/dist/m365/planner/commands/roster/roster-member-list.js +8 -18
- package/dist/m365/planner/commands/roster/roster-member-remove.js +30 -48
- package/dist/m365/planner/commands/roster/roster-plan-list.js +28 -46
- package/dist/m365/planner/commands/roster/roster-remove.js +9 -27
- package/dist/m365/planner/commands/task/task-add.js +97 -111
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +10 -23
- package/dist/m365/planner/commands/task/task-checklistitem-list.js +16 -26
- package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -23
- package/dist/m365/planner/commands/task/task-get.js +46 -69
- package/dist/m365/planner/commands/task/task-list.js +33 -69
- package/dist/m365/planner/commands/task/task-reference-add.js +15 -35
- package/dist/m365/planner/commands/task/task-reference-list.js +8 -18
- package/dist/m365/planner/commands/task/task-reference-remove.js +26 -36
- package/dist/m365/planner/commands/task/task-remove.js +47 -71
- package/dist/m365/planner/commands/task/task-set.js +92 -113
- package/dist/m365/pp/commands/website/Webrole.js +2 -0
- package/dist/m365/pp/commands/website/website-remove.js +80 -0
- package/dist/m365/pp/commands/website/website-webrole-list.js +61 -0
- package/dist/m365/pp/commands.js +3 -1
- package/dist/m365/purview/commands/auditlog/auditlog-list.js +36 -60
- package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +34 -53
- package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +10 -23
- package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +11 -32
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +9 -24
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +10 -23
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +11 -32
- package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +21 -35
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +40 -82
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +10 -23
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +11 -32
- package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +35 -78
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +19 -44
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +16 -39
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +16 -39
- package/dist/m365/purview/commands/threatassessment/threatassessment-add.js +44 -67
- package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +11 -33
- package/dist/m365/purview/commands/threatassessment/threatassessment-list.js +10 -33
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.23.2.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.23.2.js +55 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
- package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
- package/dist/m365/spo/commands/web/{web-alert-list.js → web-rule-list.js} +7 -4
- package/dist/m365/spo/commands/web/{web-alert-remove.js → web-rule-remove.js} +7 -4
- package/dist/m365/spo/commands.js +2 -0
- package/dist/utils/powerPlatform.js +20 -0
- package/docs/docs/cmd/outlook/event/event-get.mdx +280 -0
- package/docs/docs/cmd/pp/website/website-remove.mdx +89 -0
- package/docs/docs/cmd/pp/website/website-webrole-list.mdx +139 -0
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.mdx +21 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +19 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +19 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-remove.mdx +21 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +21 -0
- package/docs/docs/cmd/spo/cdn/cdn-get.mdx +19 -0
- package/docs/docs/cmd/spo/cdn/cdn-origin-add.mdx +21 -0
- package/docs/docs/cmd/spo/cdn/cdn-origin-list.mdx +19 -0
- package/docs/docs/cmd/spo/cdn/cdn-origin-remove.mdx +21 -0
- package/docs/docs/cmd/spo/cdn/cdn-policy-list.mdx +19 -0
- package/docs/docs/cmd/spo/cdn/cdn-policy-set.mdx +21 -0
- package/docs/docs/cmd/spo/cdn/cdn-set.mdx +21 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-add.mdx +19 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +19 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +19 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-remove.mdx +21 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-set.mdx +21 -0
- package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +19 -0
- package/docs/docs/cmd/spo/field/field-add.mdx +19 -0
- package/docs/docs/cmd/spo/field/field-get.mdx +19 -0
- package/docs/docs/cmd/spo/field/field-list.mdx +19 -0
- package/docs/docs/cmd/spo/field/field-remove.mdx +21 -0
- package/docs/docs/cmd/spo/field/field-set.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +19 -0
- package/docs/docs/cmd/spo/homesite/homesite-add.mdx +21 -2
- package/docs/docs/cmd/spo/homesite/homesite-get.mdx +19 -0
- package/docs/docs/cmd/spo/homesite/homesite-list.mdx +19 -0
- package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +24 -3
- package/docs/docs/cmd/spo/homesite/homesite-set.mdx +21 -2
- package/docs/docs/cmd/spo/hubsite/hubsite-connect.mdx +21 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-data-get.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.mdx +21 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-register.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-grant.mdx +21 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-rights-revoke.mdx +21 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-set.mdx +19 -0
- package/docs/docs/cmd/spo/hubsite/hubsite-unregister.mdx +21 -0
- package/docs/docs/cmd/spo/web/{web-alert-list.mdx → web-rule-list.mdx} +13 -7
- package/docs/docs/cmd/spo/web/{web-alert-remove.mdx → web-rule-remove.mdx} +10 -4
- package/npm-shrinkwrap.json +1361 -648
- package/package.json +15 -15
|
@@ -30,6 +30,25 @@ m365 spo hubsite get [options]
|
|
|
30
30
|
|
|
31
31
|
<Global />
|
|
32
32
|
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|------------|---------------|
|
|
40
|
+
| SharePoint | AllSites.Read |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|------------|----------------|
|
|
47
|
+
| SharePoint | Sites.Read.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
33
52
|
## Examples
|
|
34
53
|
|
|
35
54
|
Get information about the hub site with specific ID.
|
|
@@ -25,6 +25,25 @@ m365 spo hubsite list [options]
|
|
|
25
25
|
|
|
26
26
|
When using the text or csv output type, the command lists only the values of the `ID`, `SiteUrl` and `Title` properties of the hub site. With the output type as JSON, all available properties are included in the command output.
|
|
27
27
|
|
|
28
|
+
## Permissions
|
|
29
|
+
|
|
30
|
+
<Tabs>
|
|
31
|
+
<TabItem value="Delegated">
|
|
32
|
+
|
|
33
|
+
| Resource | Permissions |
|
|
34
|
+
|------------|---------------|
|
|
35
|
+
| SharePoint | AllSites.Read |
|
|
36
|
+
|
|
37
|
+
</TabItem>
|
|
38
|
+
<TabItem value="Application">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|------------|----------------|
|
|
42
|
+
| SharePoint | Sites.Read.All |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
</Tabs>
|
|
46
|
+
|
|
28
47
|
## Examples
|
|
29
48
|
|
|
30
49
|
List hub sites in the current tenant
|
|
@@ -31,6 +31,25 @@ To use this command you must be a Global or SharePoint administrator.
|
|
|
31
31
|
|
|
32
32
|
If the specified site collection is already registered as a hub site, you will get a `This site is already a HubSite.` error.
|
|
33
33
|
|
|
34
|
+
## Permissions
|
|
35
|
+
|
|
36
|
+
<Tabs>
|
|
37
|
+
<TabItem value="Delegated">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|------------|----------------------|
|
|
41
|
+
| SharePoint | AllSites.FullControl |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
<TabItem value="Application">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|------------|-----------------------|
|
|
48
|
+
| SharePoint | Sites.FullControl.All |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
</Tabs>
|
|
52
|
+
|
|
34
53
|
## Examples
|
|
35
54
|
|
|
36
55
|
Register the site collection with URL _https://contoso.sharepoint.com/sites/sales_ as a hub site
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo hubsite rights grant
|
|
4
6
|
|
|
@@ -33,6 +35,25 @@ To use this command you must be a Global or SharePoint administrator.
|
|
|
33
35
|
|
|
34
36
|
:::
|
|
35
37
|
|
|
38
|
+
## Permissions
|
|
39
|
+
|
|
40
|
+
<Tabs>
|
|
41
|
+
<TabItem value="Delegated">
|
|
42
|
+
|
|
43
|
+
| Resource | Permissions |
|
|
44
|
+
|------------|----------------------|
|
|
45
|
+
| SharePoint | AllSites.FullControl |
|
|
46
|
+
|
|
47
|
+
</TabItem>
|
|
48
|
+
<TabItem value="Application">
|
|
49
|
+
|
|
50
|
+
| Resource | Permissions |
|
|
51
|
+
|------------|-----------------------|
|
|
52
|
+
| SharePoint | Sites.FullControl.All |
|
|
53
|
+
|
|
54
|
+
</TabItem>
|
|
55
|
+
</Tabs>
|
|
56
|
+
|
|
36
57
|
## Examples
|
|
37
58
|
|
|
38
59
|
Grant user with specific alias, permission to join sites to the hub site with specific URL.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo hubsite rights revoke
|
|
4
6
|
|
|
@@ -33,6 +35,25 @@ To use this command you must be a Global or SharePoint administrator.
|
|
|
33
35
|
|
|
34
36
|
:::
|
|
35
37
|
|
|
38
|
+
## Permissions
|
|
39
|
+
|
|
40
|
+
<Tabs>
|
|
41
|
+
<TabItem value="Delegated">
|
|
42
|
+
|
|
43
|
+
| Resource | Permissions |
|
|
44
|
+
|------------|----------------------|
|
|
45
|
+
| SharePoint | AllSites.FullControl |
|
|
46
|
+
|
|
47
|
+
</TabItem>
|
|
48
|
+
<TabItem value="Application">
|
|
49
|
+
|
|
50
|
+
| Resource | Permissions |
|
|
51
|
+
|------------|-----------------------|
|
|
52
|
+
| SharePoint | Sites.FullControl.All |
|
|
53
|
+
|
|
54
|
+
</TabItem>
|
|
55
|
+
</Tabs>
|
|
56
|
+
|
|
36
57
|
## Examples
|
|
37
58
|
|
|
38
59
|
Revoke rights to join sites to the hub site with specific URL. from user with specific alias. Will prompt for confirmation before revoking the rights.
|
|
@@ -40,6 +40,25 @@ To use this command you must be a Global or SharePoint administrator.
|
|
|
40
40
|
|
|
41
41
|
If the specified `id` doesn't refer to an existing hub site, you will get an `Unknown Error` error.
|
|
42
42
|
|
|
43
|
+
## Permissions
|
|
44
|
+
|
|
45
|
+
<Tabs>
|
|
46
|
+
<TabItem value="Delegated">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|------------|----------------------|
|
|
50
|
+
| SharePoint | AllSites.FullControl |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
<TabItem value="Application">
|
|
54
|
+
|
|
55
|
+
| Resource | Permissions |
|
|
56
|
+
|------------|-----------------------|
|
|
57
|
+
| SharePoint | Sites.FullControl.All |
|
|
58
|
+
|
|
59
|
+
</TabItem>
|
|
60
|
+
</Tabs>
|
|
61
|
+
|
|
43
62
|
## Examples
|
|
44
63
|
|
|
45
64
|
Update hub site's title.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spo hubsite unregister
|
|
4
6
|
|
|
@@ -32,6 +34,25 @@ To use this command you must be a Global or SharePoint administrator.
|
|
|
32
34
|
|
|
33
35
|
If the specified site collection is not registered as a hub site, you will get a `hubSiteId` error.
|
|
34
36
|
|
|
37
|
+
## Permissions
|
|
38
|
+
|
|
39
|
+
<Tabs>
|
|
40
|
+
<TabItem value="Delegated">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|------------|----------------------|
|
|
44
|
+
| SharePoint | AllSites.FullControl |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
<TabItem value="Application">
|
|
48
|
+
|
|
49
|
+
| Resource | Permissions |
|
|
50
|
+
|------------|-----------------------|
|
|
51
|
+
| SharePoint | Sites.FullControl.All |
|
|
52
|
+
|
|
53
|
+
</TabItem>
|
|
54
|
+
</Tabs>
|
|
55
|
+
|
|
35
56
|
## Examples
|
|
36
57
|
|
|
37
58
|
Unregister the site collection with specific URL. as a hub site. Will prompt for confirmation before unregistering the hub site.
|
|
@@ -2,14 +2,20 @@ import Global from '../../_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo web
|
|
5
|
+
# spo web rule list
|
|
6
6
|
|
|
7
7
|
Lists all SharePoint list alerts
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo web
|
|
12
|
+
m365 spo web rule list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
m365 spo web alert list
|
|
13
19
|
```
|
|
14
20
|
|
|
15
21
|
## Options
|
|
@@ -60,25 +66,25 @@ m365 spo web alert list [options]
|
|
|
60
66
|
List all alerts for a SharePoint site:
|
|
61
67
|
|
|
62
68
|
```sh
|
|
63
|
-
m365 spo web
|
|
69
|
+
m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing
|
|
64
70
|
```
|
|
65
71
|
|
|
66
72
|
List alerts for a SharePoint list by listUrl:
|
|
67
73
|
|
|
68
74
|
```sh
|
|
69
|
-
m365 spo web
|
|
75
|
+
m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/Marketing/lists/Tasks
|
|
70
76
|
```
|
|
71
77
|
|
|
72
78
|
List alerts for a specific user by userId:
|
|
73
79
|
|
|
74
80
|
```sh
|
|
75
|
-
m365 spo web
|
|
81
|
+
m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --userId 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
76
82
|
```
|
|
77
83
|
|
|
78
84
|
List alerts for a specific list by title and user by username:
|
|
79
85
|
|
|
80
86
|
```sh
|
|
81
|
-
m365 spo web
|
|
87
|
+
m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle "Tasks" --userName jane.doe@contoso.com
|
|
82
88
|
```
|
|
83
89
|
|
|
84
90
|
## Response
|
|
@@ -161,7 +167,7 @@ m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing
|
|
|
161
167
|
<TabItem value="Markdown">
|
|
162
168
|
|
|
163
169
|
```md
|
|
164
|
-
# spo web
|
|
170
|
+
# spo web rule list --webUrl "https://contoso.sharepoint.com/sites/marketing" --listUrl "/sites/marketing/Shared Documents"
|
|
165
171
|
|
|
166
172
|
Date: 10/6/2025
|
|
167
173
|
|
|
@@ -2,14 +2,20 @@ import Global from '../../_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo web
|
|
5
|
+
# spo web rule remove
|
|
6
6
|
|
|
7
7
|
Removes an alert from a SharePoint list
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo web
|
|
12
|
+
m365 spo web rule remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Alias
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
m365 spo web alert remove
|
|
13
19
|
```
|
|
14
20
|
|
|
15
21
|
## Options
|
|
@@ -51,13 +57,13 @@ m365 spo web alert remove [options]
|
|
|
51
57
|
Remove an alert by ID
|
|
52
58
|
|
|
53
59
|
```sh
|
|
54
|
-
m365 spo web
|
|
60
|
+
m365 spo web rule remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
55
61
|
```
|
|
56
62
|
|
|
57
63
|
Remove another alert without confirmation
|
|
58
64
|
|
|
59
65
|
```sh
|
|
60
|
-
m365 spo web
|
|
66
|
+
m365 spo web rule remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2b6f1c8a-3e6a-4c7e-b8c0-7bf4c8e6d7f1 --force
|
|
61
67
|
```
|
|
62
68
|
|
|
63
69
|
## Response
|