spo navigation node get
Gets information about a specific navigation node.
Usage
m365 spo navigation node get [options]
Options
-u, --webUrl <webUrl>Absolute URL of the site.
--id <id>Id of the navigation node.
-h, --help [help]Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options,examples,remarks,permissions,response,full. Default isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| SharePoint | AllSites.Read |
| Resource | Permissions |
|---|---|
| SharePoint | Sites.Read.All |
Examples
Retrieve information for a specific navigation node.
m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/Marketing --id 2209
Response
- JSON
- Text
- CSV
- Markdown
{
"Children": [
{
"AudienceIds": null,
"CurrentLCID": 1033,
"Id": 2033,
"IsDocLib": true,
"IsExternal": true,
"IsVisible": true,
"ListTemplateType": 0,
"Title": "Microsoft 365",
"Url": "https://microsoft365.com",
"Children": []
}
],
"AudienceIds": [
"0d718612-8407-4d6b-833c-6891a553354f"
],
"CurrentLCID": 1033,
"Id": 2209,
"IsDocLib": true,
"IsExternal": false,
"IsVisible": true,
"ListTemplateType": 100,
"Title": "Work Status",
"Url": "/sites/Marketing/Lists/Work Status/AllItems.aspx"
}
Children : [{ AudienceIds: null, CurrentLCID: 1033, Id: 2033, IsDocLib: true, IsExternal: true, IsVisible: true, ListTemplateType: 0, Title: "Microsoft 365", Url: "https://microsoft365.com", Children: [] }]
AudienceIds : ["0d718612-8407-4d6b-833c-6891a553354f"]
CurrentLCID : 1033
Id : 2209
IsDocLib : true
IsExternal : false
IsVisible : true
ListTemplateType: 100
Title : Work Status
Url : /sites/Marketing/Lists/Work Status/AllItems.aspx
CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
1033,2209,1,,1,100,Work Status,/sites/Marketing/Lists/Work Status/AllItems.aspx
# spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/Marketing" --id "2209"
Date: 1/29/2023
## Work Status (2209)
Property | Value
---------|-------
CurrentLCID | 1033
Id | 2209
IsDocLib | true
IsExternal | false
IsVisible | true
ListTemplateType | 100
Title | Work Status
Url | /sites/Marketing/Lists/Work Status/AllItems.aspx