Skip to content

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, response, full. Default is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Retrieve information for a specific navigation node.

m365 spo navigation node get --webUrl https://contoso.sharepoint.com/sites/team-a --id 2209

Response

{
  "AudienceIds": [
    "0d718612-8407-4d6b-833c-6891a553354f",
    "f864446f-b4d7-475a-a2ba-1080c6474020"
  ],
  "CurrentLCID": 1033,
  "Id": 2209,
  "IsDocLib": true,
  "IsExternal": false,
  "IsVisible": true,
  "ListTemplateType": 100,
  "Title": "Work Status",
  "Url": "/sites/team-a/Lists/Work Status/AllItems.aspx"
}
AudienceIds     : ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
CurrentLCID     : 1033
Id              : 2209
IsDocLib        : true
IsExternal      : false
IsVisible       : true
ListTemplateType: 100
Title           : Work Status
Url             : /sites/team-a/Lists/Work Status/AllItems.aspx
AudienceIds,CurrentLCID,Id,IsDocLib,IsExternal,IsVisible,ListTemplateType,Title,Url
[""0d718612-8407-4d6b-833c-6891a553354f"", ""f864446f-b4d7-475a-a2ba-1080c6474020""],1033,2209,1,,1,100,Work Status,/sites/team-a/Lists/Work Status/AllItems.aspx
# spo navigation node get --webUrl "https://contoso.sharepoint.com/sites/team-a" --id "2209"

Date: 1/29/2023

## Work Status (2209)

Property | Value
---------|-------
AudienceIds | ["0d718612-8407-4d6b-833c-6891a553354f", "f864446f-b4d7-475a-a2ba-1080c6474020"]
CurrentLCID | 1033
Id | 2209
IsDocLib | true
IsExternal | false
IsVisible | true
ListTemplateType | 100
Title | Work Status
Url | /sites/team-a/Lists/Work Status/AllItems.aspx