enrollmentProfile 资源类型

命名空间:microsoft.graph

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

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

enrollmentProfile 资源表示必须在注册前提供这些配置的集合,以便能够注册某些标识已预先暂存的设备。 预暂存设备标识将分配给这种类型的配置文件,以在注册相应设备时应用配置文件的配置。

方法

方法 返回类型 说明
列出 enrollmentProfiles enrollmentProfile 集合 列出 enrollmentProfile 对象的属性和关系。
获取 enrollmentProfile enrollmentProfile 读取 enrollmentProfile 对象的属性和关系。
创建 enrollmentProfile enrollmentProfile 创建新的 enrollmentProfile 对象。
删除 enrollmentProfile 删除 enrollmentProfile
更新 enrollmentProfile enrollmentProfile 更新 enrollmentProfile 对象的属性。
setDefaultProfile 操作
exportMobileConfig 函数 String 导出移动配置
updateDeviceProfileAssignment 操作

属性

属性 类型 说明
id String 对象的 GUID
displayName String 配置文件的名称
说明 String 配置文件的说明
requiresUserAuthentication 布尔值 指示配置文件是否需要用户身份验证
configurationEndpointUrl String 用于注册的配置终结点 URL
enableAuthenticationViaCompanyPortal 布尔值 指示使用 Apple 设置助理而不是公司门户进行身份验证。
requireCompanyPortalOnSetupAssistantEnrolledDevices 布尔值 指示在安装助手注册设备上需要公司门户

关系

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.enrollmentProfile",
  "id": "String (identifier)",
  "displayName": "String",
  "description": "String",
  "requiresUserAuthentication": true,
  "configurationEndpointUrl": "String",
  "enableAuthenticationViaCompanyPortal": true,
  "requireCompanyPortalOnSetupAssistantEnrolledDevices": true
}