@pnp/cli-microsoft365 12.0.0-beta.10c5833 → 12.0.0-beta.4ac11a7
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/Auth.js +15 -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/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/sitescript/sitescript-add.js +22 -37
- package/dist/m365/spo/commands/sitescript/sitescript-get.js +9 -26
- package/dist/m365/spo/commands/sitescript/sitescript-list.js +5 -0
- package/dist/m365/spo/commands/sitescript/sitescript-remove.js +9 -33
- package/dist/m365/spo/commands/sitescript/sitescript-set.js +29 -56
- package/dist/m365/spo/commands.js +3 -1
- package/dist/m365/spp/commands/contentcenter/contentcenter-list.js +5 -0
- package/dist/m365/spp/commands/model/model-get.js +25 -45
- package/dist/m365/spp/commands/model/model-list.js +12 -23
- package/dist/m365/spp/commands/model/model-remove.js +25 -45
- 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/login.mdx +15 -2
- 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/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 +702 -3230
- package/package.json +21 -38
- package/dist/appInsights.js +0 -43
|
@@ -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>
|
|
@@ -69,27 +69,35 @@ m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/Mark
|
|
|
69
69
|
"5786b8e8-c495-4734-b345-756733960730"
|
|
70
70
|
],
|
|
71
71
|
"CurrentLCID": 1033,
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"Children": [
|
|
72
|
+
"CustomProperties": [],
|
|
73
|
+
"FriendlyUrlSegment": "",
|
|
74
|
+
"IsDeleted": false,
|
|
75
|
+
"IsHidden": false,
|
|
76
|
+
"IsTitleForExistingLanguage": false,
|
|
77
|
+
"Key": "2032",
|
|
78
|
+
"Nodes": [
|
|
80
79
|
{
|
|
81
|
-
"AudienceIds":
|
|
80
|
+
"AudienceIds": [],
|
|
82
81
|
"CurrentLCID": 1033,
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
82
|
+
"CustomProperties": [],
|
|
83
|
+
"FriendlyUrlSegment": "",
|
|
84
|
+
"IsDeleted": false,
|
|
85
|
+
"IsHidden": false,
|
|
86
|
+
"IsTitleForExistingLanguage": false,
|
|
87
|
+
"Key": "2033",
|
|
88
|
+
"Nodes": [],
|
|
89
|
+
"NodeType": 0,
|
|
90
|
+
"OpenInNewWindow": true,
|
|
91
|
+
"SimpleUrl": "https://microsoft365.com",
|
|
88
92
|
"Title": "Microsoft 365",
|
|
89
|
-
"
|
|
90
|
-
"Children": []
|
|
93
|
+
"Translations": []
|
|
91
94
|
}
|
|
92
|
-
]
|
|
95
|
+
],
|
|
96
|
+
"NodeType": 0,
|
|
97
|
+
"OpenInNewWindow": false,
|
|
98
|
+
"SimpleUrl": "https://contoso.sharepoint.com",
|
|
99
|
+
"Title": "Navigation Link",
|
|
100
|
+
"Translations": []
|
|
93
101
|
}
|
|
94
102
|
]
|
|
95
103
|
```
|
|
@@ -98,7 +106,7 @@ m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/Mark
|
|
|
98
106
|
<TabItem value="Text">
|
|
99
107
|
|
|
100
108
|
```text
|
|
101
|
-
|
|
109
|
+
Key Title SimpleUrl
|
|
102
110
|
---- --------------- ------------------------------
|
|
103
111
|
2032 Navigation Link https://contoso.sharepoint.com
|
|
104
112
|
```
|
|
@@ -107,8 +115,8 @@ m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/Mark
|
|
|
107
115
|
<TabItem value="CSV">
|
|
108
116
|
|
|
109
117
|
```csv
|
|
110
|
-
|
|
111
|
-
2032,
|
|
118
|
+
CurrentLCID,FriendlyUrlSegment,IsDeleted,IsHidden,IsTitleForExistingLanguage,Key,NodeType,OpenInNewWindow,SimpleUrl,Title
|
|
119
|
+
1033,,0,0,0,2032,0,0,https://contoso.sharepoint.com,Navigation Link
|
|
112
120
|
```
|
|
113
121
|
|
|
114
122
|
</TabItem>
|
|
@@ -119,18 +127,20 @@ m365 spo navigation node list --webUrl https://contoso.sharepoint.com/sites/Mark
|
|
|
119
127
|
|
|
120
128
|
Date: 27/1/2023
|
|
121
129
|
|
|
122
|
-
##
|
|
130
|
+
## Navigation Link
|
|
123
131
|
|
|
124
132
|
Property | Value
|
|
125
133
|
---------|-------
|
|
126
134
|
CurrentLCID | 1033
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
135
|
+
FriendlyUrlSegment |
|
|
136
|
+
IsDeleted | false
|
|
137
|
+
IsHidden | false
|
|
138
|
+
IsTitleForExistingLanguage | false
|
|
139
|
+
Key | 2032
|
|
140
|
+
NodeType | 0
|
|
141
|
+
OpenInNewWindow | false
|
|
142
|
+
SimpleUrl | https://contoso.sharepoint.com
|
|
132
143
|
Title | Navigation Link
|
|
133
|
-
Url | https://contoso.sharepoint.com
|
|
134
144
|
```
|
|
135
145
|
|
|
136
146
|
</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.
|