@pnp/cli-microsoft365 11.1.0-beta.43467d2 → 11.1.0-beta.4b2e767
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 +18 -0
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/m365/commands/logout.js +5 -1
- package/dist/m365/entra/commands/license/license-list.js +5 -0
- package/dist/m365/pp/commands/gateway/gateway-list.js +5 -0
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +5 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.16.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.19.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.20.0.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.21.0.js +2 -0
- package/dist/m365/spo/commands/{site/site-alert-list.js → web/web-alert-list.js} +4 -4
- package/dist/m365/spo/commands/web/web-alert-remove.js +59 -0
- package/dist/m365/spo/commands.js +2 -1
- package/docs/docs/cmd/booking/business/business-get.mdx +18 -1
- package/docs/docs/cmd/booking/business/business-list.mdx +18 -1
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-add.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +21 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-get.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-list.mdx +19 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +21 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-remove.mdx +21 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-roleassignment-add.mdx +19 -0
- package/docs/docs/cmd/entra/app/app-add.mdx +18 -0
- package/docs/docs/cmd/entra/app/app-get.mdx +19 -1
- package/docs/docs/cmd/entra/app/app-list.mdx +18 -1
- package/docs/docs/cmd/entra/app/app-remove.mdx +20 -0
- package/docs/docs/cmd/entra/app/app-set.mdx +20 -0
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-clear.mdx +14 -0
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +19 -0
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-remove.mdx +14 -0
- package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-restore.mdx +21 -0
- package/docs/docs/cmd/entra/organization/organization-list.mdx +19 -2
- package/docs/docs/cmd/outlook/mail/mail-send.mdx +21 -0
- package/docs/docs/cmd/outlook/mailbox/mailbox-settings-get.mdx +20 -1
- package/docs/docs/cmd/outlook/mailbox/mailbox-settings-set.mdx +20 -1
- package/docs/docs/cmd/outlook/room/room-list.mdx +19 -0
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.mdx +19 -0
- package/docs/docs/cmd/purview/threatassessment/threatassessment-add.mdx +12 -0
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +19 -0
- package/docs/docs/cmd/purview/threatassessment/threatassessment-list.mdx +19 -0
- package/docs/docs/cmd/spo/{site/site-alert-list.mdx → web/web-alert-list.mdx} +7 -7
- package/docs/docs/cmd/spo/web/web-alert-remove.mdx +65 -0
- package/npm-shrinkwrap.json +136 -1
- package/package.json +4 -3
|
@@ -31,6 +31,24 @@ m365 entra appregistration list [options]
|
|
|
31
31
|
|
|
32
32
|
Using the `--properties` option, you can specify a comma-separated list of app properties to retrieve from the Microsoft Graph. If you don't specify any properties, the command will output the default properties returned by Graph.
|
|
33
33
|
|
|
34
|
+
## Permissions
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|-----------------|----------------------|
|
|
40
|
+
| Microsoft Graph | Application.Read.All |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|-----------------|----------------------|
|
|
47
|
+
| Microsoft Graph | Application.Read.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
34
52
|
## Examples
|
|
35
53
|
|
|
36
54
|
Retrieve a list of Entra app registrations.
|
|
@@ -202,4 +220,3 @@ m365 entra app list --properties "appId,displayName"
|
|
|
202
220
|
|
|
203
221
|
</TabItem>
|
|
204
222
|
</Tabs>
|
|
205
|
-
|
|
@@ -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
|
# entra app remove
|
|
4
6
|
|
|
@@ -40,6 +42,24 @@ For best performance use the `objectId` option to reference the Entra applicatio
|
|
|
40
42
|
|
|
41
43
|
If the command finds multiple Entra application registrations with the specified app name, it will prompt you to disambiguate which app it should use, listing the discovered object IDs.
|
|
42
44
|
|
|
45
|
+
## Permissions
|
|
46
|
+
<Tabs>
|
|
47
|
+
<TabItem value="Delegated">
|
|
48
|
+
|
|
49
|
+
| Resource | Permissions |
|
|
50
|
+
|-----------------|---------------------------|
|
|
51
|
+
| Microsoft Graph | Application.ReadWrite.All |
|
|
52
|
+
|
|
53
|
+
</TabItem>
|
|
54
|
+
<TabItem value="Application">
|
|
55
|
+
|
|
56
|
+
| Resource | Permissions |
|
|
57
|
+
|-----------------|-------------------------------|
|
|
58
|
+
| Microsoft Graph | Application.ReadWrite.OwnedBy |
|
|
59
|
+
|
|
60
|
+
</TabItem>
|
|
61
|
+
</Tabs>
|
|
62
|
+
|
|
43
63
|
## Examples
|
|
44
64
|
|
|
45
65
|
Remove the Entra application registration by its app (client) ID.
|
|
@@ -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
|
# entra app set
|
|
4
6
|
|
|
@@ -63,6 +65,24 @@ If the command finds multiple Entra application registrations with the specified
|
|
|
63
65
|
|
|
64
66
|
When a certificate is specified it will be added to the list of certificates of the app without changing existing certificates.
|
|
65
67
|
|
|
68
|
+
## Permissions
|
|
69
|
+
<Tabs>
|
|
70
|
+
<TabItem value="Delegated">
|
|
71
|
+
|
|
72
|
+
| Resource | Permissions |
|
|
73
|
+
|-----------------|---------------------------|
|
|
74
|
+
| Microsoft Graph | Application.ReadWrite.All |
|
|
75
|
+
|
|
76
|
+
</TabItem>
|
|
77
|
+
<TabItem value="Application">
|
|
78
|
+
|
|
79
|
+
| Resource | Permissions |
|
|
80
|
+
|-----------------|-------------------------------|
|
|
81
|
+
| Microsoft Graph | Application.ReadWrite.OwnedBy |
|
|
82
|
+
|
|
83
|
+
</TabItem>
|
|
84
|
+
</Tabs>
|
|
85
|
+
|
|
66
86
|
## Examples
|
|
67
87
|
|
|
68
88
|
Update the app URI of the Entra application registration specified by its object ID
|
|
@@ -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
|
# entra m365group recyclebinitem clear
|
|
4
6
|
|
|
@@ -19,6 +21,18 @@ m365 entra m365group recyclebinitem clear [options]
|
|
|
19
21
|
|
|
20
22
|
<Global />
|
|
21
23
|
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|-----------------|---------------------|
|
|
31
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
</Tabs>
|
|
35
|
+
|
|
22
36
|
## Examples
|
|
23
37
|
|
|
24
38
|
Removes all deleted Microsoft 365 Groups in the tenant. Will prompt for confirmation before permanently removing groups.
|
|
@@ -24,6 +24,25 @@ m365 entra m365group recyclebinitem list [options]
|
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
26
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|-----------------|----------------|
|
|
34
|
+
| Microsoft Graph | Group.Read.All |
|
|
35
|
+
|
|
36
|
+
</TabItem>
|
|
37
|
+
<TabItem value="Application">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|----------------|
|
|
41
|
+
| Microsoft Graph | Group.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
27
46
|
## Examples
|
|
28
47
|
|
|
29
48
|
List all deleted Microsoft 365 Groups in the tenant
|
|
@@ -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
|
# entra m365group recyclebinitem remove
|
|
4
6
|
|
|
@@ -28,6 +30,18 @@ m365 entra m365group recyclebinitem 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 | Group.ReadWrite.All |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
</Tabs>
|
|
44
|
+
|
|
31
45
|
## Examples
|
|
32
46
|
|
|
33
47
|
Removes the Microsoft 365 Group with specific ID
|
|
@@ -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
|
# entra m365group recyclebinitem restore
|
|
4
6
|
|
|
@@ -25,6 +27,25 @@ m365 entra m365group recyclebinitem restore [options]
|
|
|
25
27
|
|
|
26
28
|
<Global />
|
|
27
29
|
|
|
30
|
+
## Permissions
|
|
31
|
+
|
|
32
|
+
<Tabs>
|
|
33
|
+
<TabItem value="Delegated">
|
|
34
|
+
|
|
35
|
+
| Resource | Permissions |
|
|
36
|
+
|-----------------|---------------------|
|
|
37
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
38
|
+
|
|
39
|
+
</TabItem>
|
|
40
|
+
<TabItem value="Application">
|
|
41
|
+
|
|
42
|
+
| Resource | Permissions |
|
|
43
|
+
|-----------------|---------------------|
|
|
44
|
+
| Microsoft Graph | Group.ReadWrite.All |
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
28
49
|
## Examples
|
|
29
50
|
|
|
30
51
|
Restores the Microsoft 365 Group with specific ID
|
|
@@ -21,7 +21,24 @@ m365 entra organization list [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|-----------------|----------------------------------|
|
|
31
|
+
| Microsoft Graph | User.Read, Organization.Read.All |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|-----------------|----------------------------|
|
|
38
|
+
| Microsoft Graph | Organization.Read.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
25
42
|
|
|
26
43
|
:::info
|
|
27
44
|
|
|
@@ -151,4 +168,4 @@ m365 entra organization list --properties 'id,displayName,tenantType'
|
|
|
151
168
|
|
|
152
169
|
## More information
|
|
153
170
|
|
|
154
|
-
- Organization: https://learn.microsoft.com/graph/api/organization-list
|
|
171
|
+
- Organization: https://learn.microsoft.com/graph/api/organization-list
|
|
@@ -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
|
# outlook mail send
|
|
4
6
|
|
|
@@ -49,6 +51,25 @@ m365 outlook mail send [options]
|
|
|
49
51
|
|
|
50
52
|
<Global />
|
|
51
53
|
|
|
54
|
+
## Permissions
|
|
55
|
+
|
|
56
|
+
<Tabs>
|
|
57
|
+
<TabItem value="Delegated">
|
|
58
|
+
|
|
59
|
+
| Resource | Permissions |
|
|
60
|
+
|-----------------|-------------|
|
|
61
|
+
| Microsoft Graph | Mail.Send |
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
<TabItem value="Application">
|
|
65
|
+
|
|
66
|
+
| Resource | Permissions |
|
|
67
|
+
|-----------------|-------------|
|
|
68
|
+
| Microsoft Graph | Mail.Send |
|
|
69
|
+
|
|
70
|
+
</TabItem>
|
|
71
|
+
</Tabs>
|
|
72
|
+
|
|
52
73
|
## Remarks
|
|
53
74
|
|
|
54
75
|
### Attachments
|
|
@@ -24,6 +24,25 @@ m365 outlook mailbox settings get [options]
|
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
26
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|-----------------|----------------------|
|
|
34
|
+
| Microsoft Graph | MailboxSettings.Read |
|
|
35
|
+
|
|
36
|
+
</TabItem>
|
|
37
|
+
<TabItem value="Application">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|----------------------|
|
|
41
|
+
| Microsoft Graph | MailboxSettings.Read |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
27
46
|
## Examples
|
|
28
47
|
|
|
29
48
|
Get mailbox settings of the signed-in user
|
|
@@ -128,4 +147,4 @@ m365 outlook mailbox settings get --userId 1caf7dcd-7e83-4c3a-94f7-932a1299c844
|
|
|
128
147
|
```
|
|
129
148
|
|
|
130
149
|
</TabItem>
|
|
131
|
-
</Tabs>
|
|
150
|
+
</Tabs>
|
|
@@ -75,6 +75,25 @@ m365 outlook mailbox settings set [options]
|
|
|
75
75
|
|
|
76
76
|
<Global />
|
|
77
77
|
|
|
78
|
+
## Permissions
|
|
79
|
+
|
|
80
|
+
<Tabs>
|
|
81
|
+
<TabItem value="Delegated">
|
|
82
|
+
|
|
83
|
+
| Resource | Permissions |
|
|
84
|
+
|-----------------|---------------------------|
|
|
85
|
+
| Microsoft Graph | MailboxSettings.ReadWrite |
|
|
86
|
+
|
|
87
|
+
</TabItem>
|
|
88
|
+
<TabItem value="Application">
|
|
89
|
+
|
|
90
|
+
| Resource | Permissions |
|
|
91
|
+
|-----------------|---------------------------|
|
|
92
|
+
| Microsoft Graph | MailboxSettings.ReadWrite |
|
|
93
|
+
|
|
94
|
+
</TabItem>
|
|
95
|
+
</Tabs>
|
|
96
|
+
|
|
78
97
|
## Examples
|
|
79
98
|
|
|
80
99
|
Update date, time format and time zone of the signed-in user.
|
|
@@ -163,4 +182,4 @@ The command returns the updated properties of the user mailbox settings.
|
|
|
163
182
|
```
|
|
164
183
|
|
|
165
184
|
</TabItem>
|
|
166
|
-
</Tabs>
|
|
185
|
+
</Tabs>
|
|
@@ -21,6 +21,25 @@ m365 outlook room list [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|-----------------|----------------|
|
|
31
|
+
| Microsoft Graph | Place.Read.All |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|-----------------|----------------|
|
|
38
|
+
| Microsoft Graph | Place.Read.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
24
43
|
## Examples
|
|
25
44
|
|
|
26
45
|
Get all the rooms.
|
|
@@ -16,6 +16,25 @@ m365 outlook roomlist list [options]
|
|
|
16
16
|
|
|
17
17
|
<Global />
|
|
18
18
|
|
|
19
|
+
## Permissions
|
|
20
|
+
|
|
21
|
+
<Tabs>
|
|
22
|
+
<TabItem value="Delegated">
|
|
23
|
+
|
|
24
|
+
| Resource | Permissions |
|
|
25
|
+
|-----------------|----------------|
|
|
26
|
+
| Microsoft Graph | Place.Read.All |
|
|
27
|
+
|
|
28
|
+
</TabItem>
|
|
29
|
+
<TabItem value="Application">
|
|
30
|
+
|
|
31
|
+
| Resource | Permissions |
|
|
32
|
+
|-----------------|----------------|
|
|
33
|
+
| Microsoft Graph | Place.Read.All |
|
|
34
|
+
|
|
35
|
+
</TabItem>
|
|
36
|
+
</Tabs>
|
|
37
|
+
|
|
19
38
|
## Examples
|
|
20
39
|
|
|
21
40
|
Get all roomlists in your tenant.
|
|
@@ -33,6 +33,18 @@ m365 purview threatassessment add [options]
|
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
35
35
|
|
|
36
|
+
## Permissions
|
|
37
|
+
|
|
38
|
+
<Tabs>
|
|
39
|
+
<TabItem value="Delegated">
|
|
40
|
+
|
|
41
|
+
| Resource | Permissions |
|
|
42
|
+
|-----------------|--------------------------------|
|
|
43
|
+
| Microsoft Graph | ThreatAssessment.ReadWrite.All |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
</Tabs>
|
|
47
|
+
|
|
36
48
|
## Remarks
|
|
37
49
|
|
|
38
50
|
:::info
|
|
@@ -24,6 +24,25 @@ m365 purview threatassessment get [options]
|
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
26
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|-----------------|--------------------------------|
|
|
34
|
+
| Microsoft Graph | ThreatAssessment.ReadWrite.All |
|
|
35
|
+
|
|
36
|
+
</TabItem>
|
|
37
|
+
<TabItem value="Application">
|
|
38
|
+
|
|
39
|
+
| Resource | Permissions |
|
|
40
|
+
|-----------------|--------------------------------|
|
|
41
|
+
| Microsoft Graph | ThreatAssessment.Read.All |
|
|
42
|
+
|
|
43
|
+
</TabItem>
|
|
44
|
+
</Tabs>
|
|
45
|
+
|
|
27
46
|
## Examples
|
|
28
47
|
|
|
29
48
|
Get a threat assessment.
|
|
@@ -21,6 +21,25 @@ m365 purview threatassessment list [options]
|
|
|
21
21
|
|
|
22
22
|
<Global />
|
|
23
23
|
|
|
24
|
+
## Permissions
|
|
25
|
+
|
|
26
|
+
<Tabs>
|
|
27
|
+
<TabItem value="Delegated">
|
|
28
|
+
|
|
29
|
+
| Resource | Permissions |
|
|
30
|
+
|-----------------|--------------------------------|
|
|
31
|
+
| Microsoft Graph | ThreatAssessment.ReadWrite.All |
|
|
32
|
+
|
|
33
|
+
</TabItem>
|
|
34
|
+
<TabItem value="Application">
|
|
35
|
+
|
|
36
|
+
| Resource | Permissions |
|
|
37
|
+
|-----------------|--------------------------------|
|
|
38
|
+
| Microsoft Graph | ThreatAssessment.Read.All |
|
|
39
|
+
|
|
40
|
+
</TabItem>
|
|
41
|
+
</Tabs>
|
|
42
|
+
|
|
24
43
|
## Examples
|
|
25
44
|
|
|
26
45
|
Get a list of threat assessments
|
|
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
|
|
|
2
2
|
import Tabs from '@theme/Tabs';
|
|
3
3
|
import TabItem from '@theme/TabItem';
|
|
4
4
|
|
|
5
|
-
# spo
|
|
5
|
+
# spo web alert list
|
|
6
6
|
|
|
7
7
|
Lists all SharePoint list alerts
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365 spo
|
|
12
|
+
m365 spo web alert list [options]
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Options
|
|
@@ -60,25 +60,25 @@ m365 spo site alert list [options]
|
|
|
60
60
|
List all alerts for a SharePoint site:
|
|
61
61
|
|
|
62
62
|
```sh
|
|
63
|
-
m365 spo
|
|
63
|
+
m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
List alerts for a SharePoint list by listUrl:
|
|
67
67
|
|
|
68
68
|
```sh
|
|
69
|
-
m365 spo
|
|
69
|
+
m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/Marketing/lists/Tasks
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
List alerts for a specific user by userId:
|
|
73
73
|
|
|
74
74
|
```sh
|
|
75
|
-
m365 spo
|
|
75
|
+
m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --userId 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
List alerts for a specific list by title and user by username:
|
|
79
79
|
|
|
80
80
|
```sh
|
|
81
|
-
m365 spo
|
|
81
|
+
m365 spo web alert list --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle "Tasks" --userName jane.doe@contoso.com
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
## Response
|
|
@@ -161,7 +161,7 @@ m365 spo site alert list --webUrl https://contoso.sharepoint.com/sites/Marketing
|
|
|
161
161
|
<TabItem value="Markdown">
|
|
162
162
|
|
|
163
163
|
```md
|
|
164
|
-
# spo
|
|
164
|
+
# spo web alert list --webUrl "https://contoso.sharepoint.com/sites/marketing" --listUrl "/sites/marketing/Shared Documents"
|
|
165
165
|
|
|
166
166
|
Date: 10/6/2025
|
|
167
167
|
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo web alert remove
|
|
6
|
+
|
|
7
|
+
Removes an alert from a SharePoint list
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo web alert remove [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
|
+
: The URL of the SharePoint site.
|
|
20
|
+
|
|
21
|
+
`--id <id>`
|
|
22
|
+
: The ID of the alert.
|
|
23
|
+
|
|
24
|
+
`-f, --force`
|
|
25
|
+
: Don't prompt for confirmation.
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
<Global />
|
|
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
|
+
|
|
49
|
+
## Examples
|
|
50
|
+
|
|
51
|
+
Remove an alert by ID
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
m365 spo web alert remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Remove another alert without confirmation
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
m365 spo web alert remove --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2b6f1c8a-3e6a-4c7e-b8c0-7bf4c8e6d7f1 --force
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Response
|
|
64
|
+
|
|
65
|
+
The command won't return a response on success.
|