原則實體的參考Reference for policy entities

[原則] 類別包含的行動實體,可追蹤下列資訊:The Policy category contains entities for mobile devices that track information such as:

  • 裝置組態設定檔、應用程式組態設定檔和合規性原則的清查Inventory of device configuration profiles, app configuration profiles, and compliance policies
  • 每日處於成功、擱置、失敗或錯誤狀態的裝置數目Number of devices in the succeeded, pending, failed, or error state per day
  • 每日處於成功、擱置、失敗或錯誤狀態的使用者數目Number of users in the succeeded, pending, failed, or error state per day
  • 處於成功、擱置、失敗或錯誤狀態的累積裝置數目Cumulative number of devices in the succeeded, pending, failed, or error state

原則Policy

Policy 實體列出裝置組態設定檔、應用程式組態設定檔和合規性原則。The Policy entity lists device configuration profiles, app configuration profiles, and compliance policies. 您可以將具有行動裝置管理 (MDM) 的原則指派給企業中的群組。You can assign the policies with Mobile Device Management (MDM) to a group in your enterprise.

屬性Property 說明Description 範例Example
PolicyKeyPolicyKey 代表資料倉儲中原則的唯一索引鍵。Unique Key to represent the policy in the data warehouse. 123123
PolicyIdPolicyId 資料倉儲中原則的唯一識別碼。Unique identifier of the Policy in the data warehouse. b66bc706-ffff-7437-0340-032819502773b66bc706-ffff-7437-0340-032819502773
PolicyNamePolicyName 原則的名稱。Name of the Policy. "Windows 10 Baseline""Windows 10 Baseline"
PolicyVersionPolicyVersion 原則的版本。Version of the Policy. 編輯或變更原則時,會建立較新版本。When the policy is edited or changed, a newer version is created. 1, 2, 31, 2, 3
IsDeletedIsDeleted 指出是否已更新 [原則] 記錄。Indicates whether the Policy record has been updated.
True - 原則具有含已更新欄位的新記錄。True- policy has a new record with updated fields.
False - 原則的最新記錄。False- the latest record for the policy.
True/FalseTrue/False
StartDateInclusiveUTCStartDateInclusiveUTC 在資料倉儲中建立原則的 UTC 日期和時間。Date and time in UTC when the policy was created in the data warehouse. 11/23/2016 12:00:00 AM11/23/2016 12:00:00 AM
DeletedDateUTCDeletedDateUTC IsDeleted 變更為 True 的 UTC 日期和時間。Date and time in UTC when IsDeleted changed to True. 11/23/2016 12:00:00 AM11/23/2016 12:00:00 AM
RowLastModifiedDateTimeUTCRowLastModifiedDateTimeUTC 前次在資料倉儲中修改原則的 UTC 日期和時間。Date and time in UTC when the policy was last modified in the data warehouse. 11/23/2016 12:00:00 AM11/23/2016 12:00:00 AM

PolicyTypePolicyType

PolicyType 實體列出裝置組態設定檔、應用程式組態設定檔和合規性原則的類型。The PolicyType entity lists types of device configuration profiles, app configuration profiles, and Compliance policies. 您可以將具有行動裝置管理 (MDM) 的原則指派給企業中的群組。You can assign the policies with Mobile Device Management (MDM) to a group in your enterprise.

屬性Property 說明Description 範例Example
PolicyTypeIdPolicyTypeId 來源系統中原則的唯一識別碼。Unique identifier of the policy in the source system. 123123
PolicyTypeKeyPolicyTypeKey 資料倉儲中原則的唯一識別碼。Unique identifier of the policy in the data warehouse. 11
PolicyTypeNamePolicyTypeName 原則類型的名稱。Name of the policy type. Windows 10 合規性原則。Windows 10 Compliance policy.

DeviceConfigurationDeviceConfiguration

DeviceConfigurationProfileDeviceActivity 實體列出每日處於成功、擱置、失敗或錯誤狀態的裝置數目。The DeviceConfigurationProfileDeviceActivity entity lists the number of devices in the succeeded, pending, failed, or error state per day. 此數目會反映指派給實體的裝置組態設定檔。The number reflects the Device configuration profiles assigned to the entity. 例如,如果裝置的所有其指派原則都處於成功狀態,則會將該天的成功計數器往上加一。For example, if a device is in the succeeded state for all its assigned policies, it increments the succeeded counter up one for that day. 如果裝置獲指派兩個設定檔,一個處於成功狀態,另一個則處於錯誤狀態,該實體會遞增成功計數器,並讓裝置處於錯誤狀態。If a device has two profiles assigned to it, one in the succeeded state and another in an error state, the entity increments the Succeeded counter and place the device in the error state. 實體會列出過去 30 天的特定一天有多少裝置處於哪種狀態。The entity lists how many devices are in which state on a given day over the last 30 days.

屬性Property 說明Description 範例Example
DateKeyDateKey 將裝置組態設定檔簽入記錄在資料倉儲中的日期索引鍵。Date Key when the Device Configuration Profile check-in was recorded in the data warehouse. 2016070320160703
PendingPending 處於擱置狀態的唯一裝置數目。Number of unique Devices in pending state. 123123
已成功Succeeded 處於成功狀態的唯一裝置數目。Number of unique Devices in success state. 1212
錯誤Error 處於錯誤狀態的唯一裝置數目。Number of unique Devices in error state. 1010
FailedFailed 處於失敗狀態的唯一裝置數目。Number of unique Devices in failed state. 22

DeviceConfigurationProfileUserActivity 實體列出每日處於成功、暫止、失敗或錯誤狀態的使用者數目。The DeviceConfigurationProfileUserActivity entity lists the number of users in the succeeded, pending, failed, or error state per day. 此數目會反映指派給實體的裝置組態設定檔。The number reflects the Device configuration profiles assigned to the entity. 例如,如果使用者的所有其指派原則都處於成功狀態,則會將該天的成功計數器向上加一。For example, if a user is in the succeeded state for all their assigned policies, it moves up the succeeded counter by one for that day. 如果使用者獲指派兩個設定檔,一個處於成功狀態,另一個則處於錯誤狀態,會計算處於錯誤狀態的使用者。If a user has two profiles assigned to them, one in the succeeded state and the other is in an error state, the user in the error state is counted. DeviceConfigurationProfileUserActivity 實體列出過去 30 天內的某一天,有多少使用者處於哪種狀態。The DeviceConfigurationProfileUserActivity entity lists how many users are in which state on a given day over the last 30 days.

屬性Property 說明Description 範例Example
DateKeyDateKey 將裝置組態設定檔簽入記錄在資料倉儲中的日期索引鍵。Date Key when the Device Configuration Profile check-in was recorded in the data warehouse. 2016070320160703
PendingPending 處於擱置狀態的唯一使用者數目。Number of unique Users in pending state. 123123
已成功Succeeded 處於成功狀態的唯一使用者數目。Number of unique Users in success state. 1212
錯誤Error 處於錯誤狀態的唯一使用者數目。Number of unique Users in error state. 1010
FailedFailed 處於失敗狀態的唯一使用者數目。Number of unique Users in failed state. 22

PolicyTypeActivityPolicyTypeActivity

PolicyTypeActivity 實體列出處於成功、擱置、失敗或錯誤狀態的累積裝置數目。The PolicyTypeActivity entity lists the cumulative number of devices in the succeeded, pending, failed, or error state. 它會列出與每日裝置組態設定檔、應用程式組態設定檔或相容性原則有關的這些狀態。It lists these states with respect to a device configuration profile, app configuration profile, or compliance policy per day.

屬性Property 說明Description 範例Example
DateKeyDateKey 將裝置組態設定檔簽入記錄在資料倉儲中的日期索引鍵。Date Key when the device Configuration profile check-in was recorded in the data warehouse. 2016070320160703
PolicyKeyPolicyKey 原則索引鍵,可以與 [原則] 聯結以取得 policyName。Policy Key, can be joined with Policy to get the policyName. Windows 10 基準Windows 10 baseline
PolicyTypeKeyPolicyTypeKey 原則索引鍵類型,可以與 [原則類型] 聯結以取得原則類型名稱。Type of Policy Key, can be joined with Policy Type to get the policy type name. Windows 10 合規性原則Windows10 Compliance Policy
PendingPending 處於擱置狀態的唯一裝置數目。Number of unique devices in pending state. 123123
已成功Succeeded 處於成功狀態的唯一裝置數目。Number of unique devices in success state. 1212
錯誤Error 處於錯誤狀態的唯一裝置數目。Number of unique devices in error state. 1010
FailedFailed 處於失敗狀態的唯一裝置數目。Number of unique devices in failed state. 22

相容性原則Compliance Policy

合規性政策 API 參考包含實體,其提供指派給裝置的合規性政策相關狀態資訊。The Compliance Policy API Reference contains entities that provide status information about compliance policies assigned to devices.

CompliancePolicyStatusDeviceActivitiesCompliancePolicyStatusDeviceActivities

下表摘要了裝置的合規性政策指派狀態。The following table summarizes the assignment status of compliance policies to devices. 其列出各合規性狀態下發現的裝置計數。It lists the count of devices found in each compliance state.

屬性Property 說明Description 範例Example
DateKeyDateKey 日期索引鍵,時間點為建立合規性政策的摘要時。Date key when the summary was created for the compliance policy. 2016120420161204
UnknownUnknown 離線或因為其他原因而無法與 Intune 或 Azure AD 通訊的裝置數目。Number of devices that are offline or failed to communicate with Intune or Azure AD for other reasons. 55
NotApplicableNotApplicable 管理員設為目標的裝置合規性政策並不適用的裝置數目。Number of devices where device compliance policies targeted by the admin are not applicable. 201201
符合標準Compliant 一或多項管理員設為目標的裝置合規性政策已成功套用的裝置數目。Number of devices that successfully applied one or more device compliance policies targeted by the admin. 40834083
InGracePeriodInGracePeriod 不合規但仍在管理員定義之寬限期內的裝置數目。Number of devices that are not compliant but that are in the grace-period defined by the admin. 5757
NonCompliantNonCompliant 管理員設為目標的裝置合規性政策無法套用,或使用者未予以遵循的裝置數目。Number of devices that failed to apply one or more device compliance policies targeted by the admin or where the user hasn't complied with the policies targeted by the admin. 4343
錯誤Error 無法與 Intune 或 Azure AD 通訊且傳回錯誤訊息的裝置數目。Number of devices that failed to communicate with Intune or Azure AD, and returned an error message. 33

CompliancePolicyStatusDevicePerPolicyActivitiesCompliancePolicyStatusDevicePerPolicyActivities

下表摘要了裝置的合規性政策指派狀態,以各原則及各原則類型為基礎。The following table summarizes the assignment status of compliance policies to devices on a per policy and a per policy type basis. 其列出指派的各項合規性政策各個合規性狀態下發現的裝置計數。It lists the count of devices found in each compliance state for each assigned compliance policy.

屬性Property 說明Description 範例Example
DateKeyDateKey 日期索引鍵,時間點為建立合規性政策的摘要時。Date key when the summary was created for the compliance policy. 2016121920161219
PolicyKeyPolicyKey 已建立摘要之合規性政策的索引鍵。Key for the compliance policy for which the summary was created. 1017810178
PolicyPlatformKeyPolicyPlatformKey 已建立摘要之合規性政策平台類型的索引鍵。Key for the platform type of the compliance policy for which the summary was created. 55
UnknownUnknown 離線或因為其他原因而無法與 Intune 或 Azure AD 通訊的裝置數目。Number of devices that are offline or failed to communicate with Intune or Azure AD for other reasons. 1313
NotApplicableNotApplicable 管理員設為目標的裝置合規性政策並不適用的裝置數目。Number of devices where device compliance policies targeted by the admin are not applicable. 33
符合標準Compliant 一或多項管理員設為目標的裝置合規性政策已成功套用的裝置數目。Number of devices that successfully applied one or more device compliance policies targeted by the admin. 4545
InGracePeriodInGracePeriod 不合規但仍在管理員定義之寬限期內的裝置數目。Number of devices that are not compliant but that are in the grace-period defined by the admin. 33
NonCompliantNonCompliant 管理員設為目標的裝置合規性政策無法套用,或使用者未予以遵循的裝置數目。Number of devices that failed to apply one or more device compliance policies targeted by the admin or where the user hasn't complied with the policies targeted by the admin. 77
錯誤Error 無法與 Intune 或 Azure AD 通訊且傳回錯誤訊息的裝置數目。Number of devices that failed to communicate with Intune or Azure AD, and returned an error message. 33

PolicyPlatformTypesPolicyPlatformTypes

下表包含所有受指派原則的平台類型。The following table contains the platform types of all assigned policies. 從未指派給任何裝置的原則平台類型不會出現在此表格中。Policies platform types that have never been assigned to any devices are not present in this table.

屬性Property 說明Description 範例Example
PolicyPlatformTypeKeyPolicyPlatformTypeKey 原則平台類型的唯一索引鍵。The unique key for the policy platform type. 2017051920170519
PolicyPlatformTypeIdPolicyPlatformTypeId 原則平台類型的唯一識別碼。The unique identifier for the policy platform type. 11
PolicyPlatformTypeNamePolicyPlatformTypeName 原則平台類型的名稱。The name for the policy platform type. AndroidForWorkAndroidForWork

PolicyDeviceActivityPolicyDeviceActivity

下表列出每日處於成功、擱置、失敗或錯誤狀態的裝置數目。The following table lists the number of devices in the succeeded, pending, failed, or error state per day. 該數目反映每個原則類型設定檔的資料。The number reflects the data per Policy Type profiles. 例如,如果裝置的所有其指派原則都處於成功狀態,則會將該天的成功計數器往上加一。For example, if a device is in the succeeded state for all its assigned policies, it increments the succeeded counter up one for that day. 如果裝置獲指派兩個設定檔,一個處於成功狀態,另一個則處於錯誤狀態,該實體會遞增成功計數器,並讓裝置處於錯誤狀態。If a device has two profiles assigned to it, one in the succeeded state and another in an error state, the entity increments the Succeeded counter and place the device in the error state. PolicyDeviceActivity 實體會列出過去 30 天的某一天,有多少裝置處於哪種狀態。The PolicyDeviceActivity entity lists how many devices are in which state on a given day over the last 30 days.

屬性Property 說明Description 範例Example
DateKeyDateKey 將裝置組態設定檔簽入記錄在資料倉儲中的日期索引鍵。Date Key when the Device Configuration Profile check-in was recorded in the data warehouse. 2016070320160703
PendingPending 處於擱置狀態的唯一裝置數目。Number of unique Devices in pending state. 123123
已成功Succeeded 處於成功狀態的唯一裝置數目。Number of unique Devices in success state. 1212
PolicyKeyPolicyKey 原則索引鍵,可以與 [原則] 聯結以取得 policyName。Policy Key, can be joined with Policy to get the policyName. Windows 10 基準Windows 10 baseline
錯誤Error 處於錯誤狀態的唯一裝置數目。Number of unique Devices in error state. 1010
FailedFailed 處於失敗狀態的唯一裝置數目。Number of unique Devices in failed state. 22

PolicyUserActivityPolicyUserActivity

下表列出每日處於成功、擱置、失敗或錯誤狀態的使用者數目。The following table lists the number of users in the succeeded, pending, failed, or error state per day. 該數目反映每個原則類型設定檔的資料。The number reflects the data per Policy Type profiles. 例如,如果使用者的所有其指派原則都處於成功狀態,則會將該天的成功計數器向上加一。For example, if a user is in the succeeded state for all their assigned policies, it moves up the succeeded counter by one for that day. 如果使用者獲指派兩個設定檔,一個處於成功狀態,另一個則處於錯誤狀態,會計算處於錯誤狀態的使用者。If a user has two profiles assigned to them, one in the succeeded state and the other is in an error state, the user in the error state is counted. PolicyUserActivity 實體會列出過去 30 天的某一天,有多少使用者處於哪種狀態。The PolicyUserActivity entity lists how many users are in which state on a given day over the last 30 days.

屬性Property 說明Description 範例Example
DateKeyDateKey 將裝置組態設定檔簽入記錄在資料倉儲中的日期索引鍵。Date Key when the Device Configuration Profile check-in was recorded in the data warehouse. 2016070320160703
PendingPending 處於擱置狀態的唯一裝置數目。Number of unique Devices in pending state. 123123
已成功Succeeded 處於成功狀態的唯一裝置數目。Number of unique Devices in success state. 1212
PolicyKeyPolicyKey 原則索引鍵,可以與 [原則] 聯結以取得 policyName。Policy Key, can be joined with Policy to get the policyName. Windows 10 基準Windows 10 baseline
錯誤Error 處於錯誤狀態的唯一裝置數目。Number of unique Devices in error state. 1010