命名空间:microsoft.graph
重要: Microsoft Graph 中 /beta 版本下的 API 可能会发生更改,这可能会中断应用程序。 虽然 Microsoft 支持Intune /beta API,但你应自行决定使用这些 API。 通常,建议不要在生产应用程序中使用 /beta API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
包含设备移动应用的安装状态的属性。 这将在 2023 年 5 月弃用
方法
属性
属性 | 类型 | 说明 |
---|---|---|
id | String | 实体的键。 |
deviceName | String | 设备名称 |
deviceId | String | 设备 ID |
lastSyncDateTime | DateTimeOffset | 上次同步日期时间 |
mobileAppInstallStatusValue | resultantAppState | 应用的安装状态。 可取值为:installed 、failed 、notInstalled 、uninstallFailed 、pendingInstall 、unknown 或 notApplicable 。 |
installState | resultantAppState | 应用的安装状态。 可取值为:installed 、failed 、notInstalled 、uninstallFailed 、pendingInstall 、unknown 或 notApplicable 。 |
installStateDetail | resultantAppStateDetail | 应用的安装状态详细信息。 可能的值为:、、、、dependencyWithRequirementsNotMet managedAppNoLongerPresent supersededAppUninstallFailed dependencyWithAutoInstallDisabled seeInstallErrorCode supersedingAppsDetected removingSupersededApps iosAppStoreUpdateFailedToInstall vppAppHasUpdateAvailable userRejectedUpdate uninstallPendingReboot userRejectedInstall dependencyPendingReboot supersededAppsDetected autoInstallDisabled userIsNotLoggedIntoAppStore supersededAppUninstallPendingReboot 、minimumPhysicalMemoryNotMet minimumCpuSpeedNotMet untargetedSupersedingAppsDetected pendingReboot installingDependencies seeUninstallErrorCode appRemovedBySupersedence contentDownloaded supersedingAppsNotApplicable platformNotApplicable fileSystemRequirementNotMet powerShellScriptRequirementNotMet minimumLogicalProcessorCountNotMet minimumOsVersionNotMet registryRequirementNotMet 、 。 processorArchitectureNotApplicable minimumDiskSpaceNotMet dependencyFailedToInstall noAdditionalDetails |
errorCode | Int32 | 安装或卸载失败的错误代码。 |
osVersion | String | 操作系统版本 |
osDescription | String | OS 说明 |
userName | String | 设备用户名 |
userPrincipalName | String | 用户主体名称 |
displayVersion | String | 应用程序的人类可读版本 |
关系
关系 | 类型 | 说明 |
---|---|---|
应用 | mobileApp | 指向移动应用的导航链接。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.mobileAppInstallStatus",
"id": "String (identifier)",
"deviceName": "String",
"deviceId": "String",
"lastSyncDateTime": "String (timestamp)",
"mobileAppInstallStatusValue": "String",
"installState": "String",
"installStateDetail": "String",
"errorCode": 1024,
"osVersion": "String",
"osDescription": "String",
"userName": "String",
"userPrincipalName": "String",
"displayVersion": "String"
}