@pnp/cli-microsoft365 12.0.0-beta.c9bd7f3 → 12.0.0-beta.d0b29c1
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/generate-openapi-spec.json +1 -1
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/googleAnalytics.js +96 -0
- package/dist/m365/entra/commands/m365group/m365group-remove.js +2 -8
- package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.24.0-rc.0.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012021_TSC_excludeDirectories.js +43 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN027002_OVERRIDES_qs.js +33 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN027003_OVERRIDES_uuid.js +33 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.24.0-rc.0.js +77 -0
- package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
- package/dist/m365/spo/commands/app/app-add.js +35 -56
- package/dist/m365/spo/commands/app/app-deploy.js +41 -59
- package/dist/m365/spo/commands/app/app-get.js +40 -56
- package/dist/m365/spo/commands/app/app-install.js +20 -41
- package/dist/m365/spo/commands/app/app-instance-list.js +12 -24
- package/dist/m365/spo/commands/app/app-list.js +26 -44
- package/dist/m365/spo/commands/app/app-remove.js +32 -52
- package/dist/m365/spo/commands/app/app-retract.js +32 -51
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +35 -54
- package/dist/m365/spo/commands/app/app-uninstall.js +21 -44
- package/dist/m365/spo/commands/app/app-upgrade.js +20 -41
- package/dist/m365/spo/commands/feature/feature-disable.js +20 -50
- package/dist/m365/spo/commands/feature/feature-enable.js +22 -50
- package/dist/m365/spo/commands/feature/feature-list.js +11 -36
- package/dist/m365/spo/commands/field/field-add.js +33 -62
- package/dist/m365/spo/commands/field/field-get.js +30 -57
- package/dist/m365/spo/commands/field/field-list.js +21 -46
- package/dist/m365/spo/commands/field/field-remove.js +32 -63
- package/dist/m365/spo/commands/field/field-set.js +34 -66
- package/dist/m365/spo/commands/file/file-get.js +4 -3
- package/dist/m365/spo/commands/folder/folder-unarchive.js +90 -0
- package/dist/m365/spo/commands/hubsite/hubsite-connect.js +38 -63
- package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +11 -27
- package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +25 -47
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +25 -37
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +12 -24
- package/dist/m365/spo/commands/hubsite/hubsite-register.js +10 -18
- package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +14 -32
- package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +12 -29
- package/dist/m365/spo/commands/hubsite/hubsite-set.js +19 -46
- package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +11 -27
- package/dist/m365/spo/commands/listitem/listitem-get.js +1 -12
- package/dist/m365/spo/commands/navigation/navigation-node-add.js +74 -120
- package/dist/m365/spo/commands/navigation/navigation-node-get.js +4 -13
- package/dist/m365/spo/commands/navigation/navigation-node-list.js +6 -4
- package/dist/m365/spo/commands/navigation/navigation-node-set.js +53 -114
- package/dist/m365/spo/commands/page/page-unpublish.js +53 -0
- package/dist/m365/spo/commands/site/site-remove.js +3 -9
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +1 -1
- package/dist/m365/spo/commands/web/web-rule-get.js +47 -0
- package/dist/m365/spo/commands/web/web-rule-list.js +113 -0
- package/dist/m365/spo/commands/web/web-rule-remove.js +54 -0
- package/dist/m365/spo/commands.js +6 -1
- package/dist/m365/teams/commands/channel/channel-add.js +46 -57
- package/dist/m365/teams/commands/channel/channel-get.js +41 -48
- package/dist/m365/teams/commands/channel/channel-list.js +28 -42
- package/dist/m365/teams/commands/channel/channel-member-add.js +53 -54
- package/dist/m365/teams/commands/channel/channel-member-list.js +47 -55
- package/dist/m365/teams/commands/channel/channel-member-remove.js +62 -62
- package/dist/m365/teams/commands/channel/channel-member-set.js +61 -65
- package/dist/m365/teams/commands/channel/channel-remove.js +47 -49
- package/dist/m365/teams/commands/channel/channel-set.js +47 -54
- package/dist/m365/teams/commands/chat/chat-get.js +30 -45
- package/dist/m365/teams/commands/chat/chat-list.js +22 -42
- package/dist/m365/teams/commands/chat/chat-member-add.js +43 -64
- package/dist/m365/teams/commands/chat/chat-member-list.js +10 -23
- package/dist/m365/teams/commands/chat/chat-member-remove.js +28 -50
- package/dist/m365/teams/commands/chat/chat-message-send.js +32 -55
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +10 -28
- package/dist/telemetry.js +7 -11
- package/dist/utils/spo.js +40 -3
- package/dist/utils/urlUtil.js +2 -2
- package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +0 -3
- package/docs/docs/cmd/spo/file/file-archive.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkin.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-checkout.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-copy.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-get.mdx +6 -6
- package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +3 -3
- package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +22 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +24 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +22 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +22 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +24 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +22 -1
- package/docs/docs/cmd/spo/file/file-unarchive.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-keep.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-archive.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-get.mdx +2 -2
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-add.mdx +22 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-clear.mdx +23 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +22 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-remove.mdx +24 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-set.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-unarchive.mdx +76 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +0 -6
- package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +45 -30
- package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +64 -42
- package/docs/docs/cmd/spo/navigation/navigation-node-list.mdx +37 -27
- package/docs/docs/cmd/spo/navigation/navigation-node-set.mdx +10 -8
- package/docs/docs/cmd/spo/page/page-unpublish.mdx +63 -0
- package/docs/docs/cmd/spo/site/site-remove.mdx +0 -3
- package/docs/docs/cmd/spo/web/web-rule-get.mdx +108 -0
- package/docs/docs/cmd/spo/web/web-rule-list.mdx +189 -0
- package/docs/docs/cmd/spo/web/web-rule-remove.mdx +65 -0
- package/docs/docs/cmd/spp/model/model-get.mdx +1 -1
- package/docs/docs/cmd/spp/model/model-remove.mdx +1 -1
- package/docs/docs/cmd/teams/tab/tab-add.mdx +19 -0
- package/docs/docs/cmd/teams/tab/tab-get.mdx +19 -0
- package/docs/docs/cmd/teams/tab/tab-list.mdx +19 -0
- package/docs/docs/cmd/teams/tab/tab-remove.mdx +21 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-add.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-get.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-list.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-remove.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-profilecardproperty-set.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.mdx +19 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.mdx +19 -0
- package/docs/docs/cmd/viva/engage/engage-message-add.mdx +17 -0
- package/docs/docs/cmd/viva/engage/engage-message-get.mdx +17 -0
- package/docs/docs/cmd/viva/engage/engage-message-list.mdx +17 -0
- package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +19 -0
- package/npm-shrinkwrap.json +702 -3230
- package/package.json +20 -38
- package/dist/appInsights.js +0 -43
|
@@ -16,6 +16,9 @@ m365 spo navigation node set [options]
|
|
|
16
16
|
`-u, --webUrl <webUrl>`
|
|
17
17
|
: Absolute URL of the site.
|
|
18
18
|
|
|
19
|
+
`-l, --location <location>`
|
|
20
|
+
: Navigation type where the node is located. Available options: `QuickLaunch`, `TopNavigationBar`.
|
|
21
|
+
|
|
19
22
|
`--id <id>`
|
|
20
23
|
: Id of the navigation node.
|
|
21
24
|
|
|
@@ -26,10 +29,7 @@ m365 spo navigation node set [options]
|
|
|
26
29
|
: New URL of the navigation node. Specify an empty string `""` to update the navigation label to a linkless label.
|
|
27
30
|
|
|
28
31
|
`--audienceIds [audienceIds]`
|
|
29
|
-
: Comma-separated list of group IDs that will be used for audience targeting.
|
|
30
|
-
|
|
31
|
-
`--isExternal [isExternal]`
|
|
32
|
-
: Whether the navigation node points to an external URL. Valid values: `true` or `false`.
|
|
32
|
+
: Comma-separated list of group IDs that will be used for audience targeting. Specify an empty string `""` to clear this value. The limit is 10 ids per navigation node.
|
|
33
33
|
|
|
34
34
|
`--openInNewWindow [openInNewWindow]`
|
|
35
35
|
: Open the URL in a new window. Valid values: `true` or `false`.
|
|
@@ -41,30 +41,32 @@ m365 spo navigation node set [options]
|
|
|
41
41
|
|
|
42
42
|
To enable/disable audience targeting for the navigation bar, use the [`spo web set`](../web/web-set.mdx) command.
|
|
43
43
|
|
|
44
|
+
SharePoint doesn't allow changing the URL of a navigation node pointing to a page in the current site into an external URL. In that case, the URL isn't updated and no error is returned. To point such a node to an external URL, remove the node using [`spo navigation node remove`](./navigation-node-remove.mdx) and add it again using [`spo navigation node add`](./navigation-node-add.mdx).
|
|
45
|
+
|
|
44
46
|
## Examples
|
|
45
47
|
|
|
46
48
|
Updates the title of a navigation node
|
|
47
49
|
|
|
48
50
|
```sh
|
|
49
|
-
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --title "Pictures"
|
|
51
|
+
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --location TopNavigationBar --id 2209 --title "Pictures"
|
|
50
52
|
```
|
|
51
53
|
|
|
52
54
|
Updates the URL of a navigation node
|
|
53
55
|
|
|
54
56
|
```sh
|
|
55
|
-
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --url "https://www.microsoft.com"
|
|
57
|
+
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --location QuickLaunch --id 2209 --url "https://www.microsoft.com"
|
|
56
58
|
```
|
|
57
59
|
|
|
58
60
|
Updates audience targeting of a navigation node with 3 groups
|
|
59
61
|
|
|
60
62
|
```sh
|
|
61
|
-
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --audienceIds "61f78c73-f71a-471e-a3b9-15daa936e200,9524e6b4-e663-44fe-b179-210c963e37e7,c42b8756-494d-4141-a575-45f01320e26a"
|
|
63
|
+
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --location QuickLaunch --id 2209 --audienceIds "61f78c73-f71a-471e-a3b9-15daa936e200,9524e6b4-e663-44fe-b179-210c963e37e7,c42b8756-494d-4141-a575-45f01320e26a"
|
|
62
64
|
```
|
|
63
65
|
|
|
64
66
|
Updates the navigation node so that it opens in a new window
|
|
65
67
|
|
|
66
68
|
```sh
|
|
67
|
-
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --openInNewWindow true
|
|
69
|
+
m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --location QuickLaunch --id 2209 --openInNewWindow true
|
|
68
70
|
```
|
|
69
71
|
|
|
70
72
|
## Response
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo page unpublish
|
|
6
|
+
|
|
7
|
+
Unpublishes a modern page
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo page unpublish [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
|
+
: URL of the site where the page is located.
|
|
20
|
+
|
|
21
|
+
`-n, --name <name>`
|
|
22
|
+
: Name of the page.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## Permissions
|
|
29
|
+
|
|
30
|
+
<Tabs>
|
|
31
|
+
<TabItem value="Delegated">
|
|
32
|
+
|
|
33
|
+
| Resource | Permissions |
|
|
34
|
+
|------------|----------------|
|
|
35
|
+
| SharePoint | AllSites.Write |
|
|
36
|
+
|
|
37
|
+
</TabItem>
|
|
38
|
+
<TabItem value="Application">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|------------|---------------------|
|
|
42
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
43
|
+
|
|
44
|
+
</TabItem>
|
|
45
|
+
</Tabs>
|
|
46
|
+
|
|
47
|
+
## Examples
|
|
48
|
+
|
|
49
|
+
Unpublish a modern page
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
m365 spo page unpublish --webUrl https://contoso.sharepoint.com/sites/Marketing --name "Style guide.aspx"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Unpublish a modern page in a subfolder
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
m365 spo page unpublish --webUrl https://contoso.sharepoint.com/sites/Marketing --name "/Styles/Guide.aspx"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Response
|
|
62
|
+
|
|
63
|
+
The command won't return a response on success.
|
|
@@ -19,9 +19,6 @@ m365 spo site remove [options]
|
|
|
19
19
|
`--permanent`
|
|
20
20
|
: Permanently remove the site without leaving it in the recycle bin.
|
|
21
21
|
|
|
22
|
-
`--skipRecycleBin`
|
|
23
|
-
: Deprecated: use `--permanent` instead.
|
|
24
|
-
|
|
25
22
|
`--fromRecycleBin`
|
|
26
23
|
: Set to remove the site from the recycle bin.
|
|
27
24
|
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo web rule get
|
|
6
|
+
|
|
7
|
+
Retrieves information about a specific alert from a SharePoint list
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo web rule get [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 rule.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
<Global />
|
|
26
|
+
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|-----------------|----------------------|
|
|
34
|
+
| SharePoint | AllSites.FullControl |
|
|
35
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
36
|
+
|
|
37
|
+
</TabItem>
|
|
38
|
+
<TabItem value="Application">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|-----------------------|
|
|
42
|
+
| SharePoint | Sites.FullControl.All |
|
|
43
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
44
|
+
|
|
45
|
+
</TabItem>
|
|
46
|
+
</Tabs>
|
|
47
|
+
|
|
48
|
+
## Examples
|
|
49
|
+
|
|
50
|
+
Retrieve a rule by ID
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
m365 spo web rule get --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Response
|
|
57
|
+
|
|
58
|
+
<Tabs>
|
|
59
|
+
<TabItem value="JSON">
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"AlertFrequency": 0,
|
|
64
|
+
"AlertTemplateName": "SPAlertTemplateType.DocumentLibrary",
|
|
65
|
+
"AlertType": 0,
|
|
66
|
+
"AlwaysNotify": false,
|
|
67
|
+
"DeliveryChannels": 1,
|
|
68
|
+
"EventType": -1,
|
|
69
|
+
"Filter": "",
|
|
70
|
+
"ID": "7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e",
|
|
71
|
+
"Status": 0,
|
|
72
|
+
"Title": "Marketing documents",
|
|
73
|
+
"UserId": 8,
|
|
74
|
+
"List": {
|
|
75
|
+
"Id": "39d9e102-9e8f-4e74-8f17-84a92f972fcf",
|
|
76
|
+
"Title": "Documents",
|
|
77
|
+
"RootFolder": {
|
|
78
|
+
"ServerRelativeUrl": "/sites/Marketing/Shared Documents"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"User": {
|
|
82
|
+
"Id": 8,
|
|
83
|
+
"UserPrincipalName": "jane.doe@contoso.com"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
</TabItem>
|
|
89
|
+
<TabItem value="Text">
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
AlertFrequency : 0
|
|
93
|
+
AlertTemplateName: SPAlertTemplateType.DocumentLibrary
|
|
94
|
+
AlertType : 0
|
|
95
|
+
AlwaysNotify : false
|
|
96
|
+
DeliveryChannels : 1
|
|
97
|
+
EventType : -1
|
|
98
|
+
Filter :
|
|
99
|
+
ID : 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
100
|
+
Status : 0
|
|
101
|
+
Title : Marketing documents
|
|
102
|
+
UserId : 8
|
|
103
|
+
List : {"Id":"39d9e102-9e8f-4e74-8f17-84a92f972fcf","Title":"Documents","RootFolder":{"ServerRelativeUrl":"/sites/Marketing/Shared Documents"}}
|
|
104
|
+
User : {"Id":8,"UserPrincipalName":"jane.doe@contoso.com"}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
</TabItem>
|
|
108
|
+
</Tabs>
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo web rule list
|
|
6
|
+
|
|
7
|
+
Lists all SharePoint list alerts
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo web rule list [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
|
+
: The URL of the SharePoint site.
|
|
20
|
+
|
|
21
|
+
`--listId [listId]`
|
|
22
|
+
: The ID of the SharePoint list. Specify either `listId`, `listUrl`, or `listTitle`, but not more than one.
|
|
23
|
+
|
|
24
|
+
`--listUrl [listUrl]`
|
|
25
|
+
: The URL of the SharePoint list. Specify either `listId`, `listUrl`, or `listTitle`, but not more than one.
|
|
26
|
+
|
|
27
|
+
`--listTitle [listTitle]`
|
|
28
|
+
: The title of the SharePoint list. Specify either `listId`, `listUrl`, or `listTitle`, but not more than one.
|
|
29
|
+
|
|
30
|
+
`--userName [userName]`
|
|
31
|
+
: The user name to filter alerts for. Specify either `userName` or `userId`, but not both.
|
|
32
|
+
|
|
33
|
+
`--userId [userId]`
|
|
34
|
+
: The user ID to filter alerts for. Specify either `userName` or `userId`, but not both.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<Global />
|
|
38
|
+
|
|
39
|
+
## Permissions
|
|
40
|
+
|
|
41
|
+
<Tabs>
|
|
42
|
+
<TabItem value="Delegated">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|----------------------|
|
|
46
|
+
| SharePoint | AllSites.FullControl |
|
|
47
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
<TabItem value="Application">
|
|
51
|
+
|
|
52
|
+
| Resource | Permissions |
|
|
53
|
+
|-----------------|-----------------------|
|
|
54
|
+
| SharePoint | Sites.FullControl.All |
|
|
55
|
+
| Microsoft Graph | User.ReadBasic.All |
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
</Tabs>
|
|
59
|
+
|
|
60
|
+
## Examples
|
|
61
|
+
|
|
62
|
+
List all alerts for a SharePoint site:
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
List alerts for a SharePoint list by listUrl:
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --listUrl /sites/Marketing/lists/Tasks
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
List alerts for a specific user by userId:
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --userId 7cbb4c8d-8e4d-4d2e-9c6f-3f1d8b2e6a0e
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
List alerts for a specific list by title and user by username:
|
|
81
|
+
|
|
82
|
+
```sh
|
|
83
|
+
m365 spo web rule list --webUrl https://contoso.sharepoint.com/sites/Marketing --listTitle "Tasks" --userName jane.doe@contoso.com
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Response
|
|
87
|
+
|
|
88
|
+
<Tabs>
|
|
89
|
+
<TabItem value="JSON">
|
|
90
|
+
|
|
91
|
+
```json
|
|
92
|
+
[
|
|
93
|
+
{
|
|
94
|
+
"AlertFrequency": 0,
|
|
95
|
+
"AlertTemplateName": "SPAlertTemplateType.DocumentLibrary",
|
|
96
|
+
"AlertType": 1,
|
|
97
|
+
"AlwaysNotify": false,
|
|
98
|
+
"DeliveryChannels": 1,
|
|
99
|
+
"EventType": -1,
|
|
100
|
+
"Filter": "",
|
|
101
|
+
"ID": "c52b4bf0-add0-4323-b670-f765bb46337b",
|
|
102
|
+
"Properties": [
|
|
103
|
+
{
|
|
104
|
+
"Key": "dispformurl",
|
|
105
|
+
"Value": "Shared Documents/Forms/DispForm.aspx",
|
|
106
|
+
"ValueType": "Edm.String"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"Status": 0,
|
|
110
|
+
"Title": "Documents: ProjectPlan.docx",
|
|
111
|
+
"UserId": 9,
|
|
112
|
+
"Item": {
|
|
113
|
+
"Id": 37326,
|
|
114
|
+
"FileRef": "/sites/marketing/Shared Documents/ProjectPlan.docx",
|
|
115
|
+
"GUID": "ef5cc60b-71c0-4357-a291-14274234efde"
|
|
116
|
+
},
|
|
117
|
+
"List": {
|
|
118
|
+
"Id": "6b4f195c-02da-47f4-8237-065b96258cf3",
|
|
119
|
+
"Title": "Documents",
|
|
120
|
+
"RootFolder": {
|
|
121
|
+
"ServerRelativeUrl": "/sites/marketing/Shared Documents"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"User": {
|
|
125
|
+
"Id": 9,
|
|
126
|
+
"IsHiddenInUI": false,
|
|
127
|
+
"LoginName": "i:0#.f|membership|jane.doe@contoso.onmicrosoft.com",
|
|
128
|
+
"Title": "Jane Doe",
|
|
129
|
+
"PrincipalType": 1,
|
|
130
|
+
"Email": "jane.doe@contoso.onmicrosoft.com",
|
|
131
|
+
"Expiration": "",
|
|
132
|
+
"IsEmailAuthenticationGuestUser": false,
|
|
133
|
+
"IsShareByEmailGuestUser": false,
|
|
134
|
+
"IsSiteAdmin": false,
|
|
135
|
+
"UserId": {
|
|
136
|
+
"NameId": "10037ffeaed549a5",
|
|
137
|
+
"NameIdIssuer": "urn:federation:microsoftonline"
|
|
138
|
+
},
|
|
139
|
+
"UserPrincipalName": "jane.doe@contoso.onmicrosoft.com"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
</TabItem>
|
|
146
|
+
<TabItem value="Text">
|
|
147
|
+
|
|
148
|
+
```txt
|
|
149
|
+
ID Title UserPrincipalName
|
|
150
|
+
------------------------------------ --------------------------- --------------------
|
|
151
|
+
fa5115ee-0c72-4d17-9fda-ee2451ba1c6d Documents: ProjectPlan.docx jane.doe@contoso.com
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
</TabItem>
|
|
155
|
+
<TabItem value="CSV">
|
|
156
|
+
|
|
157
|
+
```csv
|
|
158
|
+
AlertFrequency,AlertTemplateName,AlertType,AlwaysNotify,DeliveryChannels,EventType,Filter,ID,Status,Title,UserId,UserPrincipalName
|
|
159
|
+
0,SPAlertTemplateType.DocumentLibrary,1,0,1,-1,,fa5115ee-0c72-4d17-9fda-ee2451ba1c6d,0,Documents: ProjectPlan.docx,6,jane.doe@contoso.com
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
</TabItem>
|
|
163
|
+
<TabItem value="Markdown">
|
|
164
|
+
|
|
165
|
+
```md
|
|
166
|
+
# spo web rule list --webUrl "https://contoso.sharepoint.com/sites/marketing" --listUrl "/sites/marketing/Shared Documents"
|
|
167
|
+
|
|
168
|
+
Date: 10/6/2025
|
|
169
|
+
|
|
170
|
+
## Documents: ProjectPlan.docx (c52b4bf0-add0-4323-b670-f765bb46337b)
|
|
171
|
+
|
|
172
|
+
Property | Value
|
|
173
|
+
---------|-------
|
|
174
|
+
AlertFrequency | 0
|
|
175
|
+
AlertTemplateName | SPAlertTemplateType.DocumentLibrary
|
|
176
|
+
AlertType | 1
|
|
177
|
+
AlwaysNotify | false
|
|
178
|
+
DeliveryChannels | 1
|
|
179
|
+
EventType | -1
|
|
180
|
+
Filter |
|
|
181
|
+
ID | c52b4bf0-add0-4323-b670-f765bb46337b
|
|
182
|
+
Status | 0
|
|
183
|
+
Title | Documents: ProjectPlan.docx
|
|
184
|
+
UserId | 9
|
|
185
|
+
UserPrincipalName | jane.doe@contoso.com
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
</TabItem>
|
|
189
|
+
</Tabs>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo web rule remove
|
|
6
|
+
|
|
7
|
+
Removes an alert from a SharePoint list
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo web rule 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 rule 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 rule 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.
|
|
@@ -32,7 +32,7 @@ m365 spp model get [options]
|
|
|
32
32
|
|
|
33
33
|
## Examples
|
|
34
34
|
|
|
35
|
-
Retrieve information about a SharePoint Premium document understanding model, using model
|
|
35
|
+
Retrieve information about a SharePoint Premium document understanding model, using model unique ID.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 spp model get --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"
|
|
@@ -40,7 +40,7 @@ The model must be removed from all libraries before it can be deleted.
|
|
|
40
40
|
|
|
41
41
|
## Examples
|
|
42
42
|
|
|
43
|
-
Delete a SharePoint Premium document understanding model using the model’s
|
|
43
|
+
Delete a SharePoint Premium document understanding model using the model’s unique ID.
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
46
|
m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"
|
|
@@ -46,6 +46,25 @@ m365 teams tab add [options]
|
|
|
46
46
|
|
|
47
47
|
The corresponding app must already be installed in the team.
|
|
48
48
|
|
|
49
|
+
## Permissions
|
|
50
|
+
|
|
51
|
+
<Tabs>
|
|
52
|
+
<TabItem value="Delegated">
|
|
53
|
+
|
|
54
|
+
| Resource | Permissions |
|
|
55
|
+
|-----------------|-----------------|
|
|
56
|
+
| Microsoft Graph | TeamsTab.Create |
|
|
57
|
+
|
|
58
|
+
</TabItem>
|
|
59
|
+
<TabItem value="Application">
|
|
60
|
+
|
|
61
|
+
| Resource | Permissions |
|
|
62
|
+
|-----------------|-----------------|
|
|
63
|
+
| Microsoft Graph | TeamsTab.Create |
|
|
64
|
+
|
|
65
|
+
</TabItem>
|
|
66
|
+
</Tabs>
|
|
67
|
+
|
|
49
68
|
## Examples
|
|
50
69
|
|
|
51
70
|
Add teams tab for website.
|
|
@@ -40,6 +40,25 @@ m365 teams tab get [options]
|
|
|
40
40
|
|
|
41
41
|
You can only retrieve tabs for teams of which you are a member.
|
|
42
42
|
|
|
43
|
+
## Permissions
|
|
44
|
+
|
|
45
|
+
<Tabs>
|
|
46
|
+
<TabItem value="Delegated">
|
|
47
|
+
|
|
48
|
+
| Resource | Permissions |
|
|
49
|
+
|-----------------|--------------------------------------------------------------|
|
|
50
|
+
| Microsoft Graph | Channel.ReadBasic.All, Team.ReadBasic.All, TeamsTab.Read.All |
|
|
51
|
+
|
|
52
|
+
</TabItem>
|
|
53
|
+
<TabItem value="Application">
|
|
54
|
+
|
|
55
|
+
| Resource | Permissions |
|
|
56
|
+
|-----------------|--------------------------------------------------------------|
|
|
57
|
+
| Microsoft Graph | Channel.ReadBasic.All, Team.ReadBasic.All, TeamsTab.Read.All |
|
|
58
|
+
|
|
59
|
+
</TabItem>
|
|
60
|
+
</Tabs>
|
|
61
|
+
|
|
43
62
|
## Examples
|
|
44
63
|
|
|
45
64
|
Get a Microsoft Teams Tab with the specified ID.
|
|
@@ -30,6 +30,25 @@ You can only retrieve tabs for teams of which you are a member.
|
|
|
30
30
|
|
|
31
31
|
Tabs _Conversations_ and _Files_ are present in every team and therefore not included in the list of available tabs.
|
|
32
32
|
|
|
33
|
+
## Permissions
|
|
34
|
+
|
|
35
|
+
<Tabs>
|
|
36
|
+
<TabItem value="Delegated">
|
|
37
|
+
|
|
38
|
+
| Resource | Permissions |
|
|
39
|
+
|-----------------|-------------------|
|
|
40
|
+
| Microsoft Graph | TeamsTab.Read.All |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|-----------------|-------------------|
|
|
47
|
+
| Microsoft Graph | TeamsTab.Read.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
33
52
|
## Examples
|
|
34
53
|
|
|
35
54
|
List all tabs in a Microsoft Teams channel.
|
|
@@ -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
|
# teams tab remove
|
|
4
6
|
|
|
@@ -28,6 +30,25 @@ m365 teams tab 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 | TeamsTab.ReadWriteForTeam |
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
| Resource | Permissions |
|
|
46
|
+
|-----------------|-------------------------------|
|
|
47
|
+
| Microsoft Graph | TeamsTab.ReadWriteForTeam.All |
|
|
48
|
+
|
|
49
|
+
</TabItem>
|
|
50
|
+
</Tabs>
|
|
51
|
+
|
|
31
52
|
## Examples
|
|
32
53
|
|
|
33
54
|
Removes a tab from the specified channel. Will prompt for confirmation
|
|
@@ -44,6 +44,25 @@ When adding an attribute to a profile card, it takes up to 24 hours for the addi
|
|
|
44
44
|
|
|
45
45
|
:::
|
|
46
46
|
|
|
47
|
+
## Permissions
|
|
48
|
+
|
|
49
|
+
<Tabs>
|
|
50
|
+
<TabItem value="Delegated">
|
|
51
|
+
|
|
52
|
+
| Resource | Permissions |
|
|
53
|
+
|-----------------|------------------------------|
|
|
54
|
+
| Microsoft Graph | PeopleSettings.ReadWrite.All |
|
|
55
|
+
|
|
56
|
+
</TabItem>
|
|
57
|
+
<TabItem value="Application">
|
|
58
|
+
|
|
59
|
+
| Resource | Permissions |
|
|
60
|
+
|-----------------|------------------------------|
|
|
61
|
+
| Microsoft Graph | PeopleSettings.ReadWrite.All |
|
|
62
|
+
|
|
63
|
+
</TabItem>
|
|
64
|
+
</Tabs>
|
|
65
|
+
|
|
47
66
|
## Examples
|
|
48
67
|
|
|
49
68
|
Add the UPN as a profile property to the profile cards properties
|
|
@@ -29,6 +29,25 @@ To use this command you must be either **Tenant Administrator** or **Global Admi
|
|
|
29
29
|
|
|
30
30
|
:::
|
|
31
31
|
|
|
32
|
+
## Permissions
|
|
33
|
+
|
|
34
|
+
<Tabs>
|
|
35
|
+
<TabItem value="Delegated">
|
|
36
|
+
|
|
37
|
+
| Resource | Permissions |
|
|
38
|
+
|-----------------|-------------------------|
|
|
39
|
+
| Microsoft Graph | PeopleSettings.Read.All |
|
|
40
|
+
|
|
41
|
+
</TabItem>
|
|
42
|
+
<TabItem value="Application">
|
|
43
|
+
|
|
44
|
+
| Resource | Permissions |
|
|
45
|
+
|-----------------|-------------------------|
|
|
46
|
+
| Microsoft Graph | PeopleSettings.Read.All |
|
|
47
|
+
|
|
48
|
+
</TabItem>
|
|
49
|
+
</Tabs>
|
|
50
|
+
|
|
32
51
|
## Examples
|
|
33
52
|
|
|
34
53
|
Retrieve information about a specific profile card property
|