Skip to content

spo homesite get

Gets information about the Home Site

Usage

m365 spo homesite get [options]

Options

-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

Get information about the Home Site.

m365 spo homesite get

Response

{
  "SiteId": "af80c11f-0138-4d72-bb37-514542c3aabb",
  "WebId": "6f90666d-b0e7-40c3-991f-4ab051d00a70",
  "LogoUrl": "https://contoso.sharepoint.com/sites/intra/siteassets/work.png",
  "Title": "Intranet",
  "Url": "https://contoso.sharepoint.com/sites/intra"
}
LogoUrl: https://contoso.sharepoint.com/sites/intra/siteassets/work.png
SiteId : af80c11f-0138-4d72-bb37-514542c3aabb
Title  : Intranet
Url    : https://contoso.sharepoint.com/sites/intra
WebId  : 6f90666d-b0e7-40c3-991f-4ab051d00a70
SiteId,WebId,LogoUrl,Title,Url
af80c11f-0138-4d72-bb37-514542c3aabb,6f90666d-b0e7-40c3-991f-4ab051d00a70,https://contoso.sharepoint.com/sites/intra/siteassets/work.png,Intranet,https://contoso.sharepoint.com/sites/intra
# spo homesite get

Date: 2/20/2023

## Intranet (https://contoso.sharepoint.com/sites/intra)

Property | Value
---------|-------
IsInDraftMode | false
SiteId | af80c11f-0138-4d72-bb37-514542c3aabb
WebId |6f90666d-b0e7-40c3-991f-4ab051d00a70
LogoUrl | https://contoso.sharepoint.com/sites/intra/siteassets/work.png
Title | Intranet
Url | https://contoso.sharepoint.com/sites/intra

More information