SiteCollection resource

The siteCollection resource provides more information about a site collection.

If a site resource has a non-null siteCollection property, then the site is a root site for a site collection.

JSON representation

Here is a JSON representation of the resource.

{
  "dataLocationCode": "JPN",
  "hostname": "contoso.sharepoint.com",
  "root": {"@odata.type": "microsoft.graph.root" }
}

Properties

Property name Type Description
dataLocationCode string The string in Azure Active Directory representing the geographic location of the data (eg. JPN, NAM). Read-only.
hostname string The hostname for the site collection. Read-only.
root root If present, indicates that this is a root-level site collection in the tenancy.