siteSource resource type

Namespace: microsoft.graph.ediscovery

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

The container for a site associated with a custodian.

Methods

Method Return type Description
List siteSources microsoft.graph.ediscovery.siteSource collection Get a list of siteSource objects and their properties.
Create siteSource microsoft.graph.ediscovery.siteSource Create a new siteSource object.
Get siteSource microsoft.graph.ediscovery.siteSource Read the properties and relationships of a siteSource object.
Delete siteSource None Delete a siteSource object.

Properties

Property Type Description
createdBy identitySet The user who created the siteSource.
createdDateTime DateTimeOffset The date and time the siteSource was created.
displayName String The display name of the siteSource. This will be the name of the SharePoint site.
id String The ID of the siteSource. The site source can be retrieved at any time with Get site - https://graph.microsoft.com/v1.0/sites/{siteId}

Relationships

Relationship Type Description
site site The SharePoint site associated with the siteSource.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.ediscovery.siteSource",
  "displayName": "String",
  "createdDateTime": "String (timestamp)",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "id": "String (identifier)"
}