Create managedAppStatusRaw

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

Create a new managedAppStatusRaw object.

Prerequisites

One of the following scopes is required to execute this API:

DeviceManagementApps.ReadWrite.All

HTTP Request

POST /managedAppStatuses/
POST /deviceAppManagement/managedAppStatuses/

Request headers

Header Value
Authorization Bearer <token> Required.
Accept application/json

Request body

In the request body, supply a JSON representation of a managedAppStatusRaw object. The following table shows the properties that are required when you create a managedAppStatusRaw.

Property Type Description
displayName String Friendly name of the status report. Inherited from managedAppStatus
id String Key of the entity. Inherited from managedAppStatus
version String Version of the entity. Inherited from managedAppStatus
content Json Status report content.

Response

If successful, this method returns a 201 Created response code and a managedAppStatusRaw object in the response body.

Example

Request

Here is an example of the request.

POST https://graph.microsoft.com/beta/managedAppStatuses/
Content-type: application/json
Content-length: 197

{
  "@odata.type": "#microsoft.graph.managedAppStatusRaw",
  "displayName": "Display Name value",
  "version": "Version value",
  "content": {
    "@odata.type": "microsoft.graph.Json"
  }
}

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 201 Created
Content-Type: application/json
Content-Length: 246

{
  "@odata.type": "#microsoft.graph.managedAppStatusRaw",
  "displayName": "Display Name value",
  "id": "80847581-7581-8084-8175-848081758480",
  "version": "Version value",
  "content": {
    "@odata.type": "microsoft.graph.Json"
  }
}