Update mobileAppInstallSummary

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

Update the properties of a mobileAppInstallSummary object.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) DeviceManagementApps.ReadWrite.All
Delegated (personal Microsoft account) Not supported.
Application DeviceManagementApps.ReadWrite.All

HTTP Request

PATCH /deviceAppManagement/mobileApps/{mobileAppId}/installSummary

Request headers

Header Value
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Accept application/json

Request body

In the request body, supply a JSON representation for the mobileAppInstallSummary object.

The following table shows the properties that are required when you create the mobileAppInstallSummary.

Property Type Description
id String Key of the entity.
installedDeviceCount Int32 Number of Devices that have successfully installed this app.
failedDeviceCount Int32 Number of Devices that have failed to install this app.
notApplicableDeviceCount Int32 Number of Devices that are not applicable for this app.
notInstalledDeviceCount Int32 Number of Devices that does not have this app installed.
pendingInstallDeviceCount Int32 Number of Devices that have been notified to install this app.
installedUserCount Int32 Number of Users whose devices have all succeeded to install this app.
failedUserCount Int32 Number of Users that have 1 or more device that failed to install this app.
notApplicableUserCount Int32 Number of Users whose devices were all not applicable for this app.
notInstalledUserCount Int32 Number of Users that have 1 or more devices that did not install this app.
pendingInstallUserCount Int32 Number of Users that have 1 or more device that have been notified to install this app and have 0 devices with failures.

Response

If successful, this method returns a 200 OK response code and an updated mobileAppInstallSummary object in the response body.

Example

Request

Here is an example of the request.

PATCH https://graph.microsoft.com/beta/deviceAppManagement/mobileApps/{mobileAppId}/installSummary
Content-type: application/json
Content-length: 374

{
  "@odata.type": "#microsoft.graph.mobileAppInstallSummary",
  "installedDeviceCount": 4,
  "failedDeviceCount": 1,
  "notApplicableDeviceCount": 8,
  "notInstalledDeviceCount": 7,
  "pendingInstallDeviceCount": 9,
  "installedUserCount": 2,
  "failedUserCount": 15,
  "notApplicableUserCount": 6,
  "notInstalledUserCount": 5,
  "pendingInstallUserCount": 7
}

Response

Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 423

{
  "@odata.type": "#microsoft.graph.mobileAppInstallSummary",
  "id": "06a792e9-92e9-06a7-e992-a706e992a706",
  "installedDeviceCount": 4,
  "failedDeviceCount": 1,
  "notApplicableDeviceCount": 8,
  "notInstalledDeviceCount": 7,
  "pendingInstallDeviceCount": 9,
  "installedUserCount": 2,
  "failedUserCount": 15,
  "notApplicableUserCount": 6,
  "notInstalledUserCount": 5,
  "pendingInstallUserCount": 7
}