次の方法で共有


Graph APIを使用して使用できるレポートとプロパティをIntuneする

Microsoft Intuneは、Graph API を使用してエクスポートできるMicrosoft Intune管理センターに多数のレポートを提供します。 Microsoft Graph は、Microsoft Cloud サービス リソースへのアクセスを可能にする RESTful Web API です。 Intuneレポートをエクスポートするには、Microsoft Graph APIを使用して一連の HTTP 呼び出しを行う必要があります。 詳細情報については、「Graph API を使用して Intune レポートをエクスポートする」を参照してください。

注:

新しいIntuneレポート インフラストラクチャに移行されたIntuneレポートは、単一の最上位レベルのエクスポート Graph APIからエクスポートできます。

Microsoft Graph と対話するためのツールなど、REST API 呼び出しの詳細については、「Microsoft Graph APIを使用する」を参照してください。

Microsoft Intuneは、次の Microsoft Graph API エンドポイントを使用してレポートをエクスポートします。

https://graph.microsoft.com/beta/deviceManagement/reports/exportJobs

次の表に、 reportName パラメーターに使用できる値を示します。 これらは、現在エクスポートに使用できるレポートです。

ReportName (エクスポート パラメーター) Microsoft Intuneの関連レポート
DeviceCompliance デバイス コンプライアンス組織
DeviceNonCompliance 非準拠デバイス
デバイス すべてのデバイスの一覧
FeatureUpdatePolicyFailuresAggregate [ デバイス>Monitor>機能更新プログラムのFailure
DeviceFailuresByFeatureUpdatePolicy [ デバイス>Monitor>機能更新プログラムの確認>エラー時にクリックします
FeatureUpdateDeviceState [レポート>Window Updates>Reports>Windows 機能更新レポート
UnhealthyDefenderAgents [ エンドポイント セキュリティ>Antivirus>Win10 異常なエンドポイント
DefenderAgents [レポート>MicrosoftDefender>Reports>Agent Status
ActiveMalware [ エンドポイント セキュリティ>Antivirus>Win10 で検出されたマルウェア
マルウェア [レポート>MicrosoftDefender>Reports>Detected malware
AllAppsList [ アプリ>すべてのアプリ]
AppInstallStatusAggregate [ アプリ>Monitor>App のインストール状態
DeviceInstallStatusByApp [ アプリ>すべてのアプリ>個々のアプリを選択する
UserInstallStatusAggregateByApp [ アプリ>すべてのアプリ>個々のアプリを選択する
ComanagedDeviceWorkloads [ レポート>Cloud 接続済みデバイス>Reports>Co-Managed Workloads
ComanagementEligibilityTenantAttachedDevices [ レポート>Cloud 接続デバイス>Reports>Co-Management の適格性
DeviceRunStatesByProactiveRemediation [ レポート>Endpoint Analytics>Proactive 修復>修復の選択>デバイスの状態
DevicesWithInventory [ デバイス>すべてのデバイス>Export
FirewallStatus [レポート>Firewall>MDM ファイアウォールの状態 (Windows 10 以降)
GPAnalyticsSettingMigrationReadiness [ レポート>Group ポリシー分析>Reports>Group ポリシーの移行準備
QualityUpdateDeviceErrorsByPolicy [デバイス>Monitor>Windows の迅速な更新エラー>プロファイルを選択します
QualityUpdateDeviceStatusByPolicy [ レポート>Windows 更新プログラム>Reports>Windows Expedited Update Report
MAMAppProtectionStatus [アプリ>Monitor>アプリ保護状態>アプリ保護 レポート: iOS、Android
MAMAppConfigurationStatus [アプリ>Monitor>アプリ保護状態>App 構成レポート
DevicesByAppInv [ Apps>Monitor>Discovered apps>Discovered app>Export
AppInvByDevice [ デバイス>すべてのデバイス>Device>Discovered Apps
AppInvAggregate [ Apps>Monitor>Discovered apps>Export
AppInvRawData [ Apps>Monitor>Discovered apps>Export

一覧表示されている各レポートについて、以下に説明します。

AllAppsList

次の表に、 AllAppsList レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
AppIdentifier
名前
Publisher
プラットフォーム
状態
種類
バージョン
説明
Developer
FeaturedApp
メモ
Owner
DateCreated
LastModified
ExpirationDate
MoreInformationURL
PrivacyInformationURL
StoreURL
割り当て済み

このレポートのフィルターはありません。

AppInstallStatusAggregate

次の表に、 AppInstallStatusAggregate レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
ApplicationId
DisplayName
Publisher
プラットフォーム
Platform_loc
AppVersion
InstalledDeviceCount
InstalledUserCount
FailedDeviceCount
FailedUserCount
PendingInstallDeviceCount
PendingInstallUserCount
NotApplicableDeviceCount
NotApplicableUserCount
NotInstalledDeviceCount
NotInstalledUserCount
FailedDevicePercentage

次の列に基づいて、 AppInstallStatusAggregate レポートの出力をフィルター処理できます。

  • Platform
  • FailedDevicePercentage

DeviceInstallStatusByApp

次の表に、 DeviceInstallStatusByApp レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
DeviceName
UserPrincipalName
UserName
プラットフォーム
AppVersion
DeviceId
AssignmentFilterIdsExist
LastModifiedDateTime
AppInstallState
AppInstallState_loc
AppInstallStateDetails
AppInstallStateDetails_loc
HexErrorCode

次の列に基づいて、 DeviceInstallStatusByApp レポートの出力をフィルター処理できます。

  • ApplicationId (必須)
  • AppInstallState
  • HexErrorCode (ErrorCode として使用)

UserInstallStatusAggregateByApp

次の表に、 UserInstallStatusAggregateByApp レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
UserName
UserPrincipalName
FailedCount
InstalledCount
PendingInstallCount
NotInstalledCount
NotApplicableCount

次の列に基づいて、 UserInstallStatusAggregateByApp レポートの出力をフィルター処理できます。

  • ApplicationId (必須)

DeviceCompliance レポート

次の表に、 DeviceCompliance レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
DeviceId
IntuneDeviceId
AadDeviceId
DeviceName
DeviceType
OSDescription
OSVersion
OwnerType
LastContact
InGracePeriodUntil
IMEI
シリアル番号
ManagementAgents
PrimaryUser
UserId
UPN
UserEmail
UserName
DeviceHealthThreatLevel
RetireAfterDatetime
PartnerDeviceId
ComplianceState
OS

次の列に基づいて、 DeviceCompliance レポートの出力をフィルター処理できます。

  • ComplianceState
  • OS
  • OwnerType
  • DeviceType

DeviceNonCompliance レポート

次の表に、 DeviceNonCompliance レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
DeviceId
IntuneDeviceId
AadDeviceId
DeviceName
DeviceType
OSDescription
OSVersion
OwnerType
LastContact
InGracePeriodUntil
IMEI
シリアル番号
ManagementAgents
PrimaryUser
UserId
UPN
UserEmail
UserName
DeviceHealthThreatLevel
RetireAfterDatetime
PartnerDeviceId
ComplianceState
OS

次の列に基づいて、 DeviceNonCompliance レポートの出力をフィルター処理できます。

  • OS
  • OwnerType
  • DeviceType
  • UserId
  • ComplianceState

デバイス レポート

次の表に、 Devices レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
DeviceId
DeviceName
DeviceType
ClientRegistrationStatus
OwnerType
CreatedDate
LastContact
ManagementAgents
ManagementState
ReferenceId
CategoryId
EnrollmentType
CertExpirationDate
MDMStatus
OSVersion
GraphDeviceIsManaged
EasID
シリアル番号
EnrolledByUser
製造元
モデル
OSDescription
IsManaged
EasActivationStatus
IMEI
EasLastSyncSuccessUtc
EasStateReason
EasAccessState
EncryptionStatus
SupervisedStatus
PhoneNumberE164Format
InGracePeriodUntil
AndroidPatchLevel
WifiMacAddress
SCCMCoManagementFeatures
MEID
SubscriberCarrierNetwork
StorageTotal
StorageFree
ManagedDeviceName
LastLoggedOnUserUPN
MDMWinsOverGPStartTime
StagedDeviceType
UserApprovedEnrollment
ExtendedProperties
EntitySource
PrimaryUser
CategoryName
UserId
UPN
UserEmail
UserName
RetireAfterDatetime
PartnerDeviceId
HasUnlockToken
CompliantState
ManagedBy
所有権
DeviceState
DeviceRegistrationState
SupervisedStatusString
EncryptionStatusString
OS
SkuFamily
JoinType
PhoneNumber
JailBroken
EasActivationStatusString

次の列に基づいて、 Devices レポートの出力をフィルター処理できます。

  • OwnerType
  • DeviceType
  • ManagementAgents
  • CategoryName
  • ManagementState
  • CompliantState
  • JailBroken
  • LastContact
  • CreatedDate
  • EnrollmentType

FeatureUpdatePolicyFailuresAggregate レポート

次の表に、 FeatureUpdatePolicyFailuresAggregate レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
PolicyId
PolicyName
FeatureUpdateVersion
NumberOfDevicesWithErrors

このレポートをフィルター処理することはできません。

DeviceFailuresByFeatureUpdatePolicy レポート

次の表に、 DeviceFailuresByFeatureUpdatePolicy レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
PolicyId
PolicyName
FeatureUpdateVersion
DeviceId
AADDeviceId
AlertId
EventDateTimeUTC
LastUpdatedAlertStatusDateTimeUTC
AlertType
AlertStatus
AlertClassification
WindowsUpdateVersion
ビルド
AlertMessage
AlertMessageDescription
AlertMessageData
Win32ErrorCode
RecommendedAction
ExtendedRecommendedAction
StartDateTimeUTC
ResolvedDateTimeUTC
DeviceName
UPN

次の列に基づいて、 DeviceFailuresByFeatureUpdatePolicy レポートの出力をフィルター処理できます。

  • PolicyId (必須)
  • AlertMessage
  • RecommendedAction
  • WindowsUpdateVersion

FeatureUpdateDeviceState レポート

次の表に、 FeatureUpdateDeviceState レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
PolicyId
PolicyName
FeatureUpdateVersion
DeviceId
AADDeviceId
PartnerPolicyId
EventDateTimeUTC
LastSuccessfulDeviceUpdateStatus
LastSuccessfulDeviceUpdateSubstatus
LastSuccessfulDeviceUpdateStatusEventDateTimeUTC
CurrentDeviceUpdateStatus
CurrentDeviceUpdateSubstatus
CurrentDeviceUpdateStatusEventDateTimeUTC
LatestAlertMessage
LatestAlertMessageDescription
LatestAlertRecommendedAction
LatestAlertExtendedRecommendedAction
UpdateCategory
WindowsUpdateVersion
LastWUScanTimeUTC
ビルド
DeviceName
OwnerType
UPN
AggregateState

次の列に基づいて、 FeatureUpdateDeviceState レポートの出力をフィルター処理できます。

  • PolicyId (必須)
  • AggregateState
  • LatestAlertMessage
  • OwnerType

UnhealthyDefenderAgents レポートと DefenderAgents レポート

UnhealthyDefenderAgentsレポートとDefenderAgents レポートは、プロパティとフィルターのセットが同じ 2 つの異なるレポートです。 次の表に、 UnhealthyDefenderAgents または DefenderAgents レポートを呼び出すときに使用できる出力を示します。

使用可能な列
DeviceId
DeviceName
DeviceState
PendingFullScan
PendingReboot
PendingManualSteps
PendingOfflineScan
CriticalFailure
MalwareProtectionEnabled
RealTimeProtectionEnabled
NetworkInspectionSystemEnabled
SignatureUpdateOverdue
QuickScanOverdue
FullScanOverdue
RebootRequired
FullScanRequired
EngineVersion
SignatureVersion
AntiMalwareVersion
LastQuickScanDateTime
LastFullScanDateTime
LastQuickScanSignatureVersion
LastFullScanSignatureVersion
LastReportedDateTime
UPN
UserEmail
UserName

次の列に基づいて UnhealthyDefenderAgentsDefenderAgents レポートの出力をフィルター処理できます。

  • DeviceState
  • SignatureUpdateOverdue
  • MalwareProtectionEnabled
  • RealTimeProtectionEnabled
  • NetworkInspectionSystemEnabled

ActiveMalware レポートとマルウェア レポート

ActiveMalwareレポートとMalware レポートは、プロパティとフィルターのセットが同じ 2 つの異なるレポートです。 次の表に、 ActiveMalware または Malware レポートを呼び出すときに使用できる出力を示します。

使用可能な列
DeviceId
DeviceName
MalwareId
MalwareName
AdditionalInformationUrl
重要度
MalwareCategory
ExecutionState
状態コード
InitialDetectionDateTime
LastStateChangeDateTime
DetectionCount
UPN
UserEmail
UserName

次の列に基づいて ActiveMalwareMalware レポートの出力をフィルター処理できます。

  • Severity
  • ExecutionState
  • State

ComanagedDeviceWorkloads

次の表に、 ComanagedDeviceWorkloads レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
DeviceName
DeviceId
CompliancePolicy
ResourceAccess
DeviceConfiguration
WindowsUpdateforBusiness
EndpointProtection
ModernApps
OfficeApps

次の列に基づいて、 ComanagedDeviceWorkloads レポートの出力をフィルター処理できます。

  • CompliancePolicy
  • ResourceAccess
  • DeviceConfiguration
  • WindowsUpdateforBusiness
  • EndpointProtection
  • ModernApps
  • OfficeApps

ComanagementEligibilityTenantAttachedDevices

次の表に、 ComanagementEligibilityTenantAttachedDevices レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
DeviceName
DeviceId
状態
OSDescription
OSVersion

次の列に基づいて、 ComanagementEligibilityTenantAttachedDevices レポートの出力をフィルター処理できます。

  • Status

DeviceRunStatesByProactiveRemediation

次の表に、 DeviceRunStatesByProactiveRemediation レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
PolicyId
DeviceId
UserId
InternalVersion
ModifiedTime
PostRemediationDetectionScriptError
PostRemediationDetectionScriptOutput
PreRemediationDetectionScriptError
PreRemediationDetectionScriptOutput
RemediationScriptErrorDetails
RemediationStatus
DeviceName
OSVersion
UPN
UserEmail
UserName
DetectionStatus
UniqueKustoKey
DetectionScriptStatus
RemediationScriptStatus

次の列に基づいて、 DeviceRunStatesByProactiveRemediation レポートの出力をフィルター処理できます。

  • PolicyId (必須)
  • RemediationStatus
  • DetectionStatus

DevicesWithInventory

注:

下位互換性を維持するために、行われるマッピングがあります。 エクスポート API で選択できる列名を、返される列名にマップできます。

列の別名は select パラメーターでのみ受け入れることができ、フィルター パラメーターでは受け入れできません。

EnrollmentTypePartnerFeaturesBitmaskManagementAgentsCertExpirationDateIsManagedの値は、select パラメーターに含まれている場合にのみエクスポートされます。 これらの列は既定ではエクスポートされません。

次の表に、 DevicesWithInventory レポートを呼び出すときに使用できる出力を示します。

要求可能な列 受信した列
DeviceId デバイス ID
DeviceName デバイス名
CreatedDate 登録日
LastContact 最終チェックイン
ReferenceId Microsoft Entra デバイス ID
OSVersion OS のバージョン
GraphDeviceIsManaged 登録Microsoft Entra
EasID EAS アクティブ化 ID
シリアル番号 シリアル番号
製造元 製造元
モデル モデル
EasActivationStatus EAS のアクティブ化
IMEI IMEI
EasLastSyncSuccessUtc 最後の EAS 同期時刻
EasStateReason EAS の理由
EasAccessState EAS の状態
InGracePeriodUntil コンプライアンス猶予期間の有効期限
AndroidPatchLevel セキュリティ パッチ レベル
WifiMacAddress Wi-Fi MAC
MEID MEID
SubscriberCarrierNetwork サブスクライバーの通信事業者
StorageTotal ストレージの合計
StorageFree 無料ストレージ
ManagedDeviceName 管理名
CategoryName カテゴリ
UserId UserId
UPN プライマリ ユーザー UPN
UserEmail プライマリ ユーザーの電子メール アドレス
UserName プライマリ ユーザーの表示名
WiFiIPv4Address WiFiIPv4Address
WiFiSubnetID WiFiSubnetID
CompliantState (エイリアス: ComplianceState) コンプライアンス
ManagementAgent マネージド
OwnerType 所有権
ManagementState デバイスの状態
DeviceRegistrationState Intune に登録済み
IsSupervised 監督対象モード
IsEncrypted 暗号化
DeviceType (エイリアス: OS) OS
SkuFamily SkuFamily
JoinType JoinType
PhoneNumber 電話番号
JailBroken 脱獄
ICCID ICCID
EthernetMAC EthernetMAC
CellularTechnology CellularTechnology
ProcessorArchitecture ProcessorArchitecture
EID EID
EnrollmentType EnrollmentType
PartnerFeaturesBitmask PartnerFeaturesBitmask
ManagementAgents ManagementAgents
CertExpirationDate CertExpirationDate
IsManaged IsManaged
SystemManagementBIOSVersion SystemManagementBIOSVersion
TPMManufacturerId TPMManufacturerId
TPMManufacturerVersion TPMManufacturerVersion

次の列に基づいて、 DevicesWithInventory レポートの出力をフィルター処理できます。

  • CreatedDate
  • LastContact
  • CategoryName
  • CompliantState
  • ManagementAgents
  • OwnerType
  • ManagementState
  • DeviceType
  • JailBroken
  • EnrollmentType
  • PartnerFeaturesBitmask

Windows 10 以降のProcessorArchitecture マッピングは次のとおりです。

  • 9 = x64
  • 5 = ARM
  • 12 = ARM64
  • 0 = x86
  • default = Unknown

macOS の ProcessorArchitecture マッピングは次のとおりです。

  • 9 = x64
  • 12 = ARM64
  • default = unknown

FirewallStatus

次の表に、 FirewallStatus レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
DeviceName
FirewallStatus
FirewallStatus_loc
_ManagedBy
UPN

次の列に基づいて、 FirewallStatus レポートの出力をフィルター処理できます。

  • FirewallStatus

GPAnalyticsSettingMigrationReadiness

次の表に、 GPAnalyticsSettingMigrationReadiness レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
SettingName
SettingCategory
MigrationReadiness
OSVersion
範囲
ProfileType
CSPName
MdmMapping

次の列に基づいて、 GPAnalyticsSettingMigrationReadiness レポートの出力をフィルター処理できます。

  • MigrationReadiness
  • ProfileType
  • CSPName

QualityUpdateDeviceErrorsByPolicy

次の表に、 QualityUpdateDeviceErrorsByPolicy レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
PolicyId
DeviceName
AlertMessage
AlertMessage_loc
Win32ErrorCode
UPN
ExpediteQUReleaseDate
DeviceId

次の列に基づいて、 QualityUpdateDeviceErrorsByPolicy レポートの出力をフィルター処理できます。

  • PolicyId (必須)
  • AlertMessage

QualityUpdateDeviceStatusByPolicy

次の表に、 QualityUpdateDeviceStatusByPolicy レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
PolicyId
DeviceName
UPN
DeviceId
AADDeviceId
EventDateTimeUTC
CurrentDeviceUpdateStatus
CurrentDeviceUpdateStatus_loc
CurrentDeviceUpdateSubstatus
CurrentDeviceUpdateSubstatus_loc
AggregateState
AggregateState_loc
LatestAlertMessage
LatestAlertMessage_loc
LastWUScanTimeUTC
OwnerType

次の列に基づいて、 QualityUpdateDeviceStatusByPolicy レポートの出力をフィルター処理できます。

  • PolicyId (必須)
  • AggregateState
  • OwnerType

MAMAppProtectionStatus

次の表に、 MAMAppProtectionStatus レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
User
メール
アプリ
AppVersion
SdkVersion
AppInstanceId
DeviceName
DeviceHealth
DeviceType
DeviceManufacturer
DeviceModel
AndroidPatchVersion
AADDeviceID
MDMDeviceID
プラットフォーム
PlatformVersion
ManagementType
AppProtectionStatus
ポリシー
LastSync
ComplianceState

このレポートのフィルターはありません。

MAMAppConfigurationStatus

次の表に、 MAMAppConfigurationStatus レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
User
メール
アプリ
AppVersion
SdkVersion
AppInstanceId
DeviceName
DeviceHealth
DeviceType
DeviceManufacturer
DeviceModel
AndroidPatchVersion
AADDeviceID
MDMDeviceID
プラットフォーム
PlatformVersion
ポリシー
LastSync

このレポートのフィルターはありません。

DevicesByAppInv レポート

次の表に、 DevicesByAppInv レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
ApplicationKey
ApplicationName
ApplicationPublisher
ApplicationShortVersion
ApplicationVersion
DeviceId
DeviceName
OSDescription
OSVersion
プラットフォーム
UserId
EmailAddress
UserName

次の列に基づいて、 DevicesByAppInv レポートの出力をフィルター処理できます。

  • ApplicationKey (必須)

AppInvByDevice レポート

次の表に、 AppInvByDevice レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
DeviceId
ApplicationKey
ApplicationName
ApplicationPublisher
ApplicationShortVersion
ApplicationVersion
DeviceName
OSDescription
OSVersion
プラットフォーム
UserId
EmailAddress
UserName

次の列に基づいて、 AppInvByDevice レポートの出力をフィルター処理できます。

  • DeviceId (必須)

AppInvAggregate レポート

次の表に、 AppInvAggregate レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
ApplicationKey
ApplicationName
ApplicationPublisher
ApplicationShortVersion
ApplicationVersion
DeviceCount
プラットフォーム

このレポートのフィルターはありません。

AppInvRawData レポート

次の表に、 AppInvRawData レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
ApplicationKey
ApplicationName
ApplicationPublisher
ApplicationShortVersion
ApplicationVersion
DeviceId
DeviceName
OSDescription
OSVersion
プラットフォーム
UserId
EmailAddress
UserName

eq比較演算子を使用して、次のプロパティでAppInvRawData レポートをフィルター処理できます。

  • ApplicationName
  • ApplicationPublisher
  • ApplicationShortVersion
  • ApplicationVersion
  • DeviceId
  • DeviceName
  • OSDescription
  • OSVersion
  • プラットフォーム
  • UserId
  • EmailAddress
  • UserName

ChromeOSDevices レポート

次の表に、 ChromeOSDevices レポートを呼び出すときに使用できる出力を示します。

使用可能なプロパティ
IntuneDeviceId
IntuneDeviceName
LastSyncFromGoogle
OSVersion
シリアル番号
モデル
WifiMacAddress
MostRecentUserEmail
MostRecentLogin
OrganizationUnitPath
LastOSUpdateTime
AutoUpdateExpiration
LastEnrollmentTime
LastRebootTime
ChromeOSDeviceStatus

このレポートを呼び出すには、マネージド デバイス読み取りの最小 RBAC アクセス許可が必要です。 Microsoft Graph アプリケーションに必要な最低限のアクセス許可は DeviceManagementManagedDevices.Read.All

注:

このレポートのレポート データは、少なくとも 1 日に 1 回更新されます。

LastOSUpdateTimeプロパティとLastRebootTimeプロパティは、Google 管理 コンソールで [OS の更新状態] 設定が有効になっている場合にのみレポートに設定されます。 この設定は、Google 管理 コンソールの [デバイス>Chrome設定] にあります。

次のプロパティを使用して、 ChromeOSDevices レポートをフィルター処理できます。

  • IntuneDeviceId
  • MostRecentUserEmail
  • MostRecentLogin
  • OrganizationUnitPath
  • ChromeOSDeviceStatus

ChromeOSDevices レポートを生成する

Microsoft Graph APIを使用して ChromeOSDevices レポートを生成して HTTP 呼び出しを行うことができます。 Microsoft Graph は、Microsoft Cloud サービス リソースへのアクセスを可能にする RESTful Web API です。

Microsoft Graph API エンドポイント メソッド 本文の例
https://graph.microsoft.com/beta/deviceManagement/reports/exportJobs POST 次の例は、取得する必要があるデータに基づいて行うことができるさまざまな種類の呼び出しを示しています。 この一覧は包括的ではありません。
  • CSV 形式を使用してすべてのデバイスを返します。
    { 'reportName': 'ChromeOSDevices', 'format': 'csv' }
  • JSON 形式を使用してすべてのデバイスを返します。
    { 'reportName': 'ChromeOSDevices', 'format': 'json' }
  • フィルターを使用します。
    { 'reportName': 'ChromeOSDevices', 'filter':'(ChromeOSDeviceStatus eq 'ACTIVE') ', 'format': 'csv' }
  • レポートに含める列を選択します。
    { 'reportName': 'ChromeOSDevices', 'select':['IntuneDeviceId','IntuneDeviceName','MostRecentUserEmail']}

ChromeOSDevices レポートの状態を確認する

Microsoft Graph APIを使用して、ChromeOSDevices レポートが完了したかどうかをチェックできます。

Microsoft Graph API エンドポイント メソッド
https://graph.microsoft.com/beta/deviceManagement/reports/exportJobs('id') GET

上記の呼び出しからの出力を使用して、ChromeOSDevices レポートの状態を判断します。 呼び出しの例は次のようになります。 https://graph.microsoft.com/beta/deviceManagement/reports/exportJobs('ChromeOSDevices_1223a321-4bcd-5432-efg1-0hi9876h1234')

引き続き呼び出しを実行して、レポートの状態をチェックできます。 レポートに completeの状態が表示されたら、レポートをダウンロードする準備が整います。

完了した ChromeOSDevices レポートをダウンロードする

完了した ChromeOSDevices レポートをダウンロードするには、ChromeOSDevices レポートの状態をチェックするために使用したのと同じ呼び出しに基づいて、提供されたurlを取得します。 ダウンロードには、選択した形式に基づいて CSV または JSON として書式設定された要求されたデータを含む zip ファイルが含まれています。

Intune レポートの生成の詳細については、「Graph API を使用してレポートIntuneエクスポートする」を参照してください。

次の手順