managedAppLogCollectionRequest resource type

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.

The Managed App log collection response

Methods

Method Return Type Description
List managedAppLogCollectionRequests managedAppLogCollectionRequest collection List properties and relationships of the managedAppLogCollectionRequest objects.
Get managedAppLogCollectionRequest managedAppLogCollectionRequest Read properties and relationships of the managedAppLogCollectionRequest object.
Create managedAppLogCollectionRequest managedAppLogCollectionRequest Create a new managedAppLogCollectionRequest object.
Delete managedAppLogCollectionRequest None Deletes a managedAppLogCollectionRequest.
Update managedAppLogCollectionRequest managedAppLogCollectionRequest Update the properties of a managedAppLogCollectionRequest object.

Properties

Property Type Description
id String The unique identifier of the managed app log collection request. This id is assigned during request creation time. Read-only.
managedAppRegistrationId String The unique identifier of the app instance for which diagnostic logs were collected. Read-only.
status String Indicates the status for the app log collection request - pending, completed or failed. Default is pending.
requestedBy String The user principal name associated with the request for the managed application log collection. Read-only.
requestedByUserPrincipalName String The user principal name associated with the request for the managed application log collection. Read-only.
requestedDateTime DateTimeOffset DateTime of when the log upload request was received. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.
completedDateTime DateTimeOffset DateTime of when the log upload request was completed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.
userLogUploadConsent managedAppLogUploadConsent Indicates whether the user associated with the device provided consent for the log collection. The user must consent before the diagnostic logs can be collected. accepted means the user consented. declined means the user declined. unknown is the default value. The Log Collection Request must be completed within 24 hours or it will be abandoned and deleted. Read-only. Possible values are: unknown, declined, accepted, unknownFutureValue.
uploadedLogs managedAppLogUpload collection The collection of log upload results as reported by each component on the device. Such components can be the application itself, the Mobile Application Management (MAM) SDK, and other on-device components that are requested to upload diagnostic logs. Read-only.
version String Version of the entity.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.managedAppLogCollectionRequest",
  "id": "String (identifier)",
  "managedAppRegistrationId": "String",
  "status": "String",
  "requestedBy": "String",
  "requestedByUserPrincipalName": "String",
  "requestedDateTime": "String (timestamp)",
  "completedDateTime": "String (timestamp)",
  "userLogUploadConsent": "String",
  "uploadedLogs": [
    {
      "@odata.type": "microsoft.graph.managedAppLogUpload",
      "managedAppComponent": "String",
      "managedAppComponentDescription": "String",
      "status": "String",
      "referenceId": "String"
    }
  ],
  "version": "String"
}