@pnp/cli-microsoft365 12.0.0-beta.bf446c8 → 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/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/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-set.js +53 -114
- package/dist/m365/spo/commands/page/page-unpublish.js +53 -0
- package/dist/m365/spo/commands.js +3 -1
- 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 +39 -0
- 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 +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -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 +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-remove.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-unarchive.mdx +76 -0
- 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-set.mdx +10 -8
- package/docs/docs/cmd/spo/page/page-unpublish.mdx +63 -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/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 +324 -3116
- package/package.json +17 -35
- package/dist/appInsights.js +0 -43
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import Global from '../../_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo folder unarchive
|
|
6
|
+
|
|
7
|
+
Unarchives a folder
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo folder unarchive [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --webUrl <webUrl>`
|
|
19
|
+
: The URL of the site where the folder is located.
|
|
20
|
+
|
|
21
|
+
`--url [url]`
|
|
22
|
+
: The server- or site-relative decoded URL of the folder to unarchive. Specify either `url` or `id`, but not both.
|
|
23
|
+
|
|
24
|
+
`-i, --id [id]`
|
|
25
|
+
: The unique ID (GUID) of the folder to unarchive. Specify either `url` or `id`, but not both.
|
|
26
|
+
|
|
27
|
+
`-f, --force`
|
|
28
|
+
: Don't prompt for confirmation.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<Global />
|
|
32
|
+
|
|
33
|
+
## Remarks
|
|
34
|
+
|
|
35
|
+
:::warning
|
|
36
|
+
|
|
37
|
+
Reactivation could take up to 24 hours. Folders that are reactivated cannot be archived again for **120 days**.
|
|
38
|
+
|
|
39
|
+
:::
|
|
40
|
+
|
|
41
|
+
## Permissions
|
|
42
|
+
|
|
43
|
+
<Tabs>
|
|
44
|
+
<TabItem value="Delegated">
|
|
45
|
+
|
|
46
|
+
| Resource | Permissions |
|
|
47
|
+
|------------|----------------|
|
|
48
|
+
| SharePoint | AllSites.Write |
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
<TabItem value="Application">
|
|
52
|
+
|
|
53
|
+
| Resource | Permissions |
|
|
54
|
+
|------------|---------------------|
|
|
55
|
+
| SharePoint | Sites.ReadWrite.All |
|
|
56
|
+
|
|
57
|
+
</TabItem>
|
|
58
|
+
</Tabs>
|
|
59
|
+
|
|
60
|
+
## Examples
|
|
61
|
+
|
|
62
|
+
Unarchive a folder without prompting for confirmation
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
m365 spo folder unarchive --webUrl https://contoso.sharepoint.com/sites/Marketing --id 7a8c9207-7745-4cda-b0e2-be2618ee3030 --force
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Unarchive a folder by URL with prompting for confirmation
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
m365 spo folder unarchive --webUrl https://contoso.sharepoint.com/sites/Marketing --url '/sites/Marketing/documents/general'
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Response
|
|
75
|
+
|
|
76
|
+
The command won't return a response on success.
|
|
@@ -30,9 +30,6 @@ m365 spo navigation node add [options]
|
|
|
30
30
|
`--parentNodeId [parentNodeId]`
|
|
31
31
|
: ID of the node below which the node should be added. Specify either `location` or `parentNodeId` but not both.
|
|
32
32
|
|
|
33
|
-
`--isExternal`
|
|
34
|
-
: Set, if the navigation node points to an external URL.
|
|
35
|
-
|
|
36
33
|
`--audienceIds [audienceIds]`
|
|
37
34
|
: Comma-separated list of group IDs that will be used for audience targeting. The limit is 10 ids per navigation node.
|
|
38
35
|
|
|
@@ -57,7 +54,7 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
57
54
|
Add a navigation node pointing to an external page to the quick launch.
|
|
58
55
|
|
|
59
56
|
```sh
|
|
60
|
-
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch --title "About us" --url https://contoso.com/about-us
|
|
57
|
+
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch --title "About us" --url https://contoso.com/about-us
|
|
61
58
|
```
|
|
62
59
|
|
|
63
60
|
Add a navigation node below an existing node and opens it in a new window.
|
|
@@ -72,6 +69,12 @@ Add a navigation node to the top navigation which is audience targetted and open
|
|
|
72
69
|
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location TopNavigationBar --title About --url /sites/team-s/sitepages/about.aspx --audienceIds "7aa4a1ca-4035-4f2f-bac7-7beada59b5ba,4bbf236f-a131-4019-b4a2-315902fcfa3a" --openInNewWindow
|
|
73
70
|
```
|
|
74
71
|
|
|
72
|
+
Add a linkless label to the quick launch.
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-a --location QuickLaunch --title Resources
|
|
76
|
+
```
|
|
77
|
+
|
|
75
78
|
## Response
|
|
76
79
|
|
|
77
80
|
<Tabs>
|
|
@@ -83,13 +86,18 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
83
86
|
"7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"
|
|
84
87
|
],
|
|
85
88
|
"CurrentLCID": 1033,
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
89
|
+
"CustomProperties": [],
|
|
90
|
+
"FriendlyUrlSegment": "",
|
|
91
|
+
"IsDeleted": false,
|
|
92
|
+
"IsHidden": false,
|
|
93
|
+
"IsTitleForExistingLanguage": false,
|
|
94
|
+
"Key": "2030",
|
|
95
|
+
"Nodes": [],
|
|
96
|
+
"NodeType": 0,
|
|
97
|
+
"OpenInNewWindow": true,
|
|
98
|
+
"SimpleUrl": "https://contoso.sharepoint.com",
|
|
91
99
|
"Title": "Navigation Link",
|
|
92
|
-
"
|
|
100
|
+
"Translations": []
|
|
93
101
|
}
|
|
94
102
|
```
|
|
95
103
|
|
|
@@ -97,45 +105,52 @@ m365 spo navigation node add --webUrl https://contoso.sharepoint.com/sites/team-
|
|
|
97
105
|
<TabItem value="Text">
|
|
98
106
|
|
|
99
107
|
```text
|
|
100
|
-
AudienceIds
|
|
101
|
-
CurrentLCID
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
108
|
+
AudienceIds : ["7aa4a1ca-4035-4f2f-bac7-7beada59b5ba"]
|
|
109
|
+
CurrentLCID : 1033
|
|
110
|
+
CustomProperties : []
|
|
111
|
+
FriendlyUrlSegment :
|
|
112
|
+
IsDeleted : false
|
|
113
|
+
IsHidden : false
|
|
114
|
+
IsTitleForExistingLanguage: false
|
|
115
|
+
Key : 2030
|
|
116
|
+
NodeType : 0
|
|
117
|
+
Nodes : []
|
|
118
|
+
OpenInNewWindow : true
|
|
119
|
+
SimpleUrl : https://contoso.sharepoint.com
|
|
120
|
+
Title : Navigation Link
|
|
121
|
+
Translations : []
|
|
109
122
|
```
|
|
110
123
|
|
|
111
124
|
</TabItem>
|
|
112
125
|
<TabItem value="CSV">
|
|
113
126
|
|
|
114
127
|
```csv
|
|
115
|
-
|
|
116
|
-
|
|
128
|
+
CurrentLCID,FriendlyUrlSegment,IsDeleted,IsHidden,IsTitleForExistingLanguage,Key,NodeType,OpenInNewWindow,SimpleUrl,Title
|
|
129
|
+
1033,,0,0,0,2030,0,1,https://contoso.sharepoint.com,Navigation Link
|
|
117
130
|
```
|
|
118
131
|
|
|
119
132
|
</TabItem>
|
|
120
133
|
<TabItem value="Markdown">
|
|
121
134
|
|
|
122
135
|
```md
|
|
123
|
-
# spo navigation node
|
|
136
|
+
# spo navigation node add --webUrl "https://contoso.sharepoint.com/sites/team-a" --location "TopNavigationBar" --title "Navigation Link" --url "https://contoso.sharepoint.com" --openInNewWindow "true"
|
|
124
137
|
|
|
125
|
-
Date:
|
|
138
|
+
Date: 10/7/2026
|
|
126
139
|
|
|
127
|
-
## Navigation Link
|
|
140
|
+
## Navigation Link
|
|
128
141
|
|
|
129
142
|
Property | Value
|
|
130
143
|
---------|-------
|
|
131
144
|
CurrentLCID | 1033
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
145
|
+
FriendlyUrlSegment |
|
|
146
|
+
IsDeleted | false
|
|
147
|
+
IsHidden | false
|
|
148
|
+
IsTitleForExistingLanguage | false
|
|
149
|
+
Key | 2030
|
|
150
|
+
NodeType | 0
|
|
151
|
+
OpenInNewWindow | true
|
|
152
|
+
SimpleUrl | https://contoso.sharepoint.com
|
|
137
153
|
Title | Navigation Link
|
|
138
|
-
Url | https://contoso.sharepoint.com
|
|
139
154
|
```
|
|
140
155
|
|
|
141
156
|
</TabItem>
|
|
@@ -18,6 +18,9 @@ m365 spo navigation node get [options]
|
|
|
18
18
|
`-u, --webUrl <webUrl>`
|
|
19
19
|
: Absolute URL of the site.
|
|
20
20
|
|
|
21
|
+
`-l, --location <location>`
|
|
22
|
+
: Navigation type where the node is located. Available options: `QuickLaunch`, `TopNavigationBar`.
|
|
23
|
+
|
|
21
24
|
`--id <id>`
|
|
22
25
|
: Id of the navigation node.
|
|
23
26
|
```
|
|
@@ -45,10 +48,16 @@ m365 spo navigation node get [options]
|
|
|
45
48
|
|
|
46
49
|
## Examples
|
|
47
50
|
|
|
48
|
-
Retrieve information for a specific navigation node.
|
|
51
|
+
Retrieve information for a specific navigation node from the quick launch.
|
|
49
52
|
|
|
50
53
|
```sh
|
|
51
|
-
m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2209
|
|
54
|
+
m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marketing --location QuickLaunch --id 2209
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Retrieve information for a specific navigation node from the top navigation.
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marketing --location TopNavigationBar --id 2209
|
|
52
61
|
```
|
|
53
62
|
|
|
54
63
|
## Response
|
|
@@ -58,31 +67,39 @@ m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marke
|
|
|
58
67
|
|
|
59
68
|
```json
|
|
60
69
|
{
|
|
61
|
-
"
|
|
70
|
+
"AudienceIds": [
|
|
71
|
+
"0d718612-8407-4d6b-833c-6891a553354f"
|
|
72
|
+
],
|
|
73
|
+
"CurrentLCID": 1033,
|
|
74
|
+
"CustomProperties": [],
|
|
75
|
+
"FriendlyUrlSegment": "",
|
|
76
|
+
"IsDeleted": false,
|
|
77
|
+
"IsHidden": false,
|
|
78
|
+
"IsTitleForExistingLanguage": false,
|
|
79
|
+
"Key": "2209",
|
|
80
|
+
"Nodes": [
|
|
62
81
|
{
|
|
63
|
-
"AudienceIds":
|
|
82
|
+
"AudienceIds": [],
|
|
64
83
|
"CurrentLCID": 1033,
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
84
|
+
"CustomProperties": [],
|
|
85
|
+
"FriendlyUrlSegment": "",
|
|
86
|
+
"IsDeleted": false,
|
|
87
|
+
"IsHidden": false,
|
|
88
|
+
"IsTitleForExistingLanguage": false,
|
|
89
|
+
"Key": "2210",
|
|
90
|
+
"Nodes": [],
|
|
91
|
+
"NodeType": 0,
|
|
92
|
+
"OpenInNewWindow": true,
|
|
93
|
+
"SimpleUrl": "https://microsoft365.com",
|
|
70
94
|
"Title": "Microsoft 365",
|
|
71
|
-
"
|
|
72
|
-
"Children": []
|
|
95
|
+
"Translations": []
|
|
73
96
|
}
|
|
74
97
|
],
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"CurrentLCID": 1033,
|
|
79
|
-
"Id": 2209,
|
|
80
|
-
"IsDocLib": true,
|
|
81
|
-
"IsExternal": false,
|
|
82
|
-
"IsVisible": true,
|
|
83
|
-
"ListTemplateType": 100,
|
|
98
|
+
"NodeType": 0,
|
|
99
|
+
"OpenInNewWindow": null,
|
|
100
|
+
"SimpleUrl": "/sites/Marketing/Lists/Work Status/AllItems.aspx",
|
|
84
101
|
"Title": "Work Status",
|
|
85
|
-
"
|
|
102
|
+
"Translations": []
|
|
86
103
|
}
|
|
87
104
|
```
|
|
88
105
|
|
|
@@ -90,46 +107,51 @@ m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marke
|
|
|
90
107
|
<TabItem value="Text">
|
|
91
108
|
|
|
92
109
|
```text
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
110
|
+
AudienceIds : ["0d718612-8407-4d6b-833c-6891a553354f"]
|
|
111
|
+
CurrentLCID : 1033
|
|
112
|
+
CustomProperties : []
|
|
113
|
+
FriendlyUrlSegment :
|
|
114
|
+
IsDeleted : false
|
|
115
|
+
IsHidden : false
|
|
116
|
+
IsTitleForExistingLanguage: false
|
|
117
|
+
Key : 2209
|
|
118
|
+
NodeType : 0
|
|
119
|
+
Nodes : [{"AudienceIds":[],"CurrentLCID":1033,"CustomProperties":[],"FriendlyUrlSegment":"","IsDeleted":false,"IsHidden":false,"IsTitleForExistingLanguage":false,"Key":"2210","Nodes":[],"NodeType":0,"OpenInNewWindow":true,"SimpleUrl":"https://microsoft365.com","Title":"Microsoft 365","Translations":[]}]
|
|
120
|
+
OpenInNewWindow : null
|
|
121
|
+
SimpleUrl : /sites/Marketing/Lists/Work Status/AllItems.aspx
|
|
122
|
+
Title : Work Status
|
|
123
|
+
Translations : []
|
|
103
124
|
```
|
|
104
125
|
|
|
105
126
|
</TabItem>
|
|
106
127
|
<TabItem value="CSV">
|
|
107
128
|
|
|
108
129
|
```csv
|
|
109
|
-
CurrentLCID,
|
|
110
|
-
1033,
|
|
130
|
+
CurrentLCID,FriendlyUrlSegment,IsDeleted,IsHidden,IsTitleForExistingLanguage,Key,NodeType,OpenInNewWindow,SimpleUrl,Title
|
|
131
|
+
1033,,0,0,0,2209,0,,/sites/Marketing/Lists/Work Status/AllItems.aspx,Work Status
|
|
111
132
|
```
|
|
112
133
|
|
|
113
134
|
</TabItem>
|
|
114
135
|
<TabItem value="Markdown">
|
|
115
136
|
|
|
116
137
|
```md
|
|
117
|
-
# spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/Marketing" --id "2209"
|
|
138
|
+
# spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/Marketing" --location "QuickLaunch" --id "2209"
|
|
118
139
|
|
|
119
|
-
Date:
|
|
140
|
+
Date: 10/7/2026
|
|
120
141
|
|
|
121
|
-
## Work Status
|
|
142
|
+
## Work Status
|
|
122
143
|
|
|
123
144
|
Property | Value
|
|
124
145
|
---------|-------
|
|
125
146
|
CurrentLCID | 1033
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
147
|
+
FriendlyUrlSegment |
|
|
148
|
+
IsDeleted | false
|
|
149
|
+
IsHidden | false
|
|
150
|
+
IsTitleForExistingLanguage | false
|
|
151
|
+
Key | 2209
|
|
152
|
+
NodeType | 0
|
|
153
|
+
SimpleUrl | /sites/Marketing/Lists/Work Status/AllItems.aspx
|
|
131
154
|
Title | Work Status
|
|
132
|
-
Url | /sites/Marketing/Lists/Work Status/AllItems.aspx
|
|
133
155
|
```
|
|
134
156
|
|
|
135
157
|
</TabItem>
|
|
@@ -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.
|
|
@@ -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
|
|
@@ -41,6 +41,23 @@ In order to use this command, you need to grant the Microsoft Entra application
|
|
|
41
41
|
|
|
42
42
|
:::
|
|
43
43
|
|
|
44
|
+
## Permissions
|
|
45
|
+
|
|
46
|
+
<Tabs>
|
|
47
|
+
<TabItem value="Delegated">
|
|
48
|
+
|
|
49
|
+
| Resource | Permissions |
|
|
50
|
+
|----------|--------------------|
|
|
51
|
+
| Yammer | user_impersonation |
|
|
52
|
+
|
|
53
|
+
</TabItem>
|
|
54
|
+
<TabItem value="Application">
|
|
55
|
+
|
|
56
|
+
This command does not support application permissions.
|
|
57
|
+
|
|
58
|
+
</TabItem>
|
|
59
|
+
</Tabs>
|
|
60
|
+
|
|
44
61
|
## Examples
|
|
45
62
|
|
|
46
63
|
Replies to a message with the ID 1231231231.
|
|
@@ -29,6 +29,23 @@ In order to use this command, you need to grant the Microsoft Entra application
|
|
|
29
29
|
|
|
30
30
|
:::
|
|
31
31
|
|
|
32
|
+
## Permissions
|
|
33
|
+
|
|
34
|
+
<Tabs>
|
|
35
|
+
<TabItem value="Delegated">
|
|
36
|
+
|
|
37
|
+
| Resource | Permissions |
|
|
38
|
+
|----------|--------------------|
|
|
39
|
+
| Yammer | user_impersonation |
|
|
40
|
+
|
|
41
|
+
</TabItem>
|
|
42
|
+
<TabItem value="Application">
|
|
43
|
+
|
|
44
|
+
This command does not support application permissions.
|
|
45
|
+
|
|
46
|
+
</TabItem>
|
|
47
|
+
</Tabs>
|
|
48
|
+
|
|
32
49
|
## Examples
|
|
33
50
|
|
|
34
51
|
Returns the Viva Engage message with the id 1239871123.
|