cloudPcAuditEvent resource type

Namespace: microsoft.graph


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the audit event entity.


Method Return type Description
List auditEvents cloudPcAuditEvent collection List all the cloudPcAuditEvent objects in a tenant.
Get cloudPcAuditEvent cloudPcAuditEvent Read the properties and relationships of a cloudPcAuditEvent object.
getAuditActivityTypes function String collection Get audit activity types.


Property Type Description
activity String Friendly name of the activity. Optional.
activityDateTime DateTimeOffset The date time in UTC when the activity was performed. Read-only.
activityOperationType cloudPcAuditActivityOperationType The HTTP operation type of the activity. Possible values include create, delete, patch and other. Read-only.
activityResult cloudPcAuditActivityResult The result of the activity. Read-only.
activityType String The type of activity that was performed. Read-only.
actor cloudPcAuditActor Azure AD user and application associated with the audit event. Read-only.
category cloudPcAuditCategory Audit category. Read-only.
componentName String Component name. Read-only.
correlationId String The client request identifier, used to correlate activity within the system. Read-only.
displayName String Event display name. Read-only.
id String Key of the audit entity. Read-only.
resources cloudPcAuditResource collection List of cloudPcAuditResource objects. Read-only.

cloudPcAuditActivityOperationType values

Member Description
create Create operation.
delete Delete operation.
patch Patch operation.
other Other operation.

cloudPcAuditActivityResult values

Member Description
success Operation succeeded.
clientError Operation failed with client error.
failure Operation failed.
timeExceeded Operation failed with timeout.
other Other result.

cloudPcAuditCategory values

Member Description
cloudPC Cloud PC category.
other Other category.



JSON representation

The following is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.cloudPcAuditEvent",
  "id": "String (identifier)",
  "displayName": "String",
  "componentName": "String",
  "actor": {
    "@odata.type": "microsoft.graph.cloudPcAuditActor",
    "type": "String",
    "userPermissions": [
    "applicationId": "String",
    "applicationDisplayName": "String",
    "userPrincipalName": "String",
    "servicePrincipalName": "String",
    "ipAddress": "String",
    "userId": "String",
    "userRoleScopeTags": [
        "@odata.type": "microsoft.graph.cloudPcUserRoleScopeTagInfo",
        "displayName": "String",
        "roleScopeTagId": "String"
    "remoteTenantId": "String",
    "remoteUserId": "String"
  "activity": "String",
  "activityDateTime": "String (timestamp)",
  "activityType": "String",
  "activityOperationType": "String",
  "activityResult": "String",
  "correlationId": "String",
  "resources": [
      "@odata.type": "microsoft.graph.cloudPcAuditResource",
      "displayName": "String",
      "modifiedProperties": [
          "@odata.type": "microsoft.graph.cloudPcAuditProperty",
          "displayName": "String",
          "oldValue": "String",
          "newValue": "String"
      "type": "String",
      "resourceId": "String"
  "category": "String"