restrictedAppsViolation 资源类型

命名空间:microsoft.graph

重要: /beta 版本下的 Microsoft Graph API 可能会更改;不支持生产使用。

注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证

违反每个用户每台设备的受限应用配置文件

方法

方法 返回类型 说明
列出 restrictedAppsViolations restrictedAppsViolation 集合 列出 restrictedAppsViolation 对象的属性和关系。
获取 restrictedAppsViolation restrictedAppsViolation 读取 restrictedAppsViolation 对象的属性和关系。
创建 restrictedAppsViolation restrictedAppsViolation 创建新的 restrictedAppsViolation 对象。
删除 restrictedAppsViolation 删除 restrictedAppsViolation
更新 restrictedAppsViolation restrictedAppsViolation 更新 restrictedAppsViolation 对象的属性。

属性

属性 类型 说明
id String 对象的唯一标识符。 由 accountId、deviceId、policyId 和 userId 组成
userId String 用户唯一标识符,必须是 Guid
userName String 用户名
managedDeviceId String 托管设备唯一标识符,必须是 Guid
deviceName String 设备名称
deviceConfigurationId String 设备配置文件唯一标识符,必须是 Guid
deviceConfigurationName String 设备配置文件名称
platformType policyPlatformType 平台类型。 可取值为:androidandroidForWorkiOSmacOSwindowsPhone81windows81AndLaterwindows10AndLaterandroidWorkProfilewindows10XProfileandroidAOSPall
restrictedAppsState restrictedAppsState 受限应用状态。 可取值为:prohibitedAppsnotApprovedApps
restrictedApps managedDeviceReportedApp 集合 违反的受限应用列表

关系

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "@odata.type": "#microsoft.graph.restrictedAppsViolation",
  "id": "String (identifier)",
  "userId": "String",
  "userName": "String",
  "managedDeviceId": "String",
  "deviceName": "String",
  "deviceConfigurationId": "String",
  "deviceConfigurationName": "String",
  "platformType": "String",
  "restrictedAppsState": "String",
  "restrictedApps": [
    {
      "@odata.type": "microsoft.graph.managedDeviceReportedApp",
      "appId": "String"
    }
  ]
}