windowsPrivacyDataAccessControlItem 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.

Specify access control level per privacy data category

Methods

Method Return Type Description
List windowsPrivacyDataAccessControlItems windowsPrivacyDataAccessControlItem collection List properties and relationships of the windowsPrivacyDataAccessControlItem objects.
Get windowsPrivacyDataAccessControlItem windowsPrivacyDataAccessControlItem Read properties and relationships of the windowsPrivacyDataAccessControlItem object.
Create windowsPrivacyDataAccessControlItem windowsPrivacyDataAccessControlItem Create a new windowsPrivacyDataAccessControlItem object.
Delete windowsPrivacyDataAccessControlItem None Deletes a windowsPrivacyDataAccessControlItem.
Update windowsPrivacyDataAccessControlItem windowsPrivacyDataAccessControlItem Update the properties of a windowsPrivacyDataAccessControlItem object.

Properties

Property Type Description
id String The key of WindowsPrivacyDataAccessControlItem.
accessLevel windowsPrivacyDataAccessLevel This indicates an access level for the privacy data category to which the specified application will be given to. Possible values are: notConfigured, forceAllow, forceDeny, userInControl.
dataCategory windowsPrivacyDataCategory This indicates a privacy data category to which the specific access control will apply. Possible values are: notConfigured, accountInfo, appsRunInBackground, calendar, callHistory, camera, contacts, diagnosticsInfo, email, location, messaging, microphone, motion, notifications, phone, radios, tasks, syncWithDevices, trustedDevices.
appPackageFamilyName String The Package Family Name of a Windows app. When set, the access level applies to the specified application.
appDisplayName String The Package Family Name of a Windows app. When set, the access level applies to the specified application.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.windowsPrivacyDataAccessControlItem",
  "id": "String (identifier)",
  "accessLevel": "String",
  "dataCategory": "String",
  "appPackageFamilyName": "String",
  "appDisplayName": "String"
}