dataSharingConsent resource type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

Data sharing consent information.

Methods

Method Return Type Description
List dataSharingConsents dataSharingConsent collection List properties and relationships of the dataSharingConsent objects.
Get dataSharingConsent dataSharingConsent Read properties and relationships of the dataSharingConsent object.
Create dataSharingConsent dataSharingConsent Create a new dataSharingConsent object.
Delete dataSharingConsent None Deletes a dataSharingConsent.
Update dataSharingConsent dataSharingConsent Update the properties of a dataSharingConsent object.
consentToDataSharing action dataSharingConsent

Properties

Property Type Description
id String The data sharing consent Id
serviceDisplayName String The display name of the service work flow
termsUrl String The TermsUrl for the data sharing consent
granted Boolean The granted state for the data sharing consent
grantDateTime DateTimeOffset The time consent was granted for this account
grantedByUpn String The Upn of the user that granted consent for this account
grantedByUserId String The UserId of the user that granted consent for this account

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.dataSharingConsent",
  "id": "String (identifier)",
  "serviceDisplayName": "String",
  "termsUrl": "String",
  "granted": true,
  "grantDateTime": "String (timestamp)",
  "grantedByUpn": "String",
  "grantedByUserId": "String"
}