targetResource resource type

Namespace: microsoft.graph

Represents target resource types associated with audit activity.

Properties

Property Type Description
id String Indicates the unique ID of the resource.
displayName String Indicates the visible name defined for the resource. Typically specified when the resource is created.
type String Describes the resource type. Example values include Application, Group, ServicePrincipal, and User.
userPrincipalName String When type is set to User, this includes the user name that initiated the action; null for other types.
groupType groupType When type is set to Group, this indicates the group type. Possible values are: unifiedGroups, azureAD, and unknownFutureValue
modifiedProperties modifiedProperty collection Indicates name, old value and new value of each attribute that changed. Property values depend on the operation type.

JSON representation

The following JSON representation shows the resource type.

{
  "id": "String",
  "displayName": "String",
  "type": "String",
  "userPrincipalName": "String",
  "groupType": "String", 
  "modifiedProperties": [{"@odata.type": "microsoft.graph.modifiedProperty"}]
}