SiteCollection resource


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

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.

  "hostname": "",
  "dataLocationCode": "EUR",
  "root": { "@odata.type": "microsoft.graph.root" }


Property name Type Description
hostname string The hostname for the site collection. Read-only.
dataLocationCode string The geographic region code for where this site collection resides. Read-only.
root root If present, indicates that this is a root site collection in SharePoint. Read-only.