Show / Hide Table of Contents

AuditLog.Read.All

Allows the app to read and query your audit log activities, on behalf of the signed-in user.

Graph Methods

Type: A = Application Permission, D = Delegate Permission

Ver Type Method
V1 A,D GET /auditLogs/directoryaudits
V1 A,D GET /auditLogs/directoryAudits
V1 A,D GET /auditLogs/directoryAudits/{id}
V1 A,D GET /auditLogs/provisioning
V1 A,D GET /auditLogs/signIns
V1 A,D GET /auditLogs/signIns/{id}
V1 A,D GET /reports/appCredentialSignInActivities
V1 A,D GET /reports/appCredentialSignInActivities/{appCredentialSignInActivityId}
V1 A,D GET /reports/authenticationMethods/userRegistrationDetails
V1 A,D GET /reports/authenticationMethods/userRegistrationDetails/{userId}
V1 D GET /reports/authenticationMethods/usersRegisteredByFeature
V1 D GET /reports/authenticationMethods/usersRegisteredByMethod
V1 A,D GET /reports/servicePrincipalSignInActivities
V1 A,D GET /reports/servicePrincipalSignInActivities/{servicePrincipalSignInActivityId}

Delegate Permission

Id e4c9e354-4dc5-45b8-9e7c-e1393b0b1a20
Consent Type Admin
Display String Read audit log data
Description Allows the app to read and query your audit log activities, on behalf of the signed-in user.

Application Permission

Id b0afded3-3588-46d8-8b3d-9842eff778da
Display String Read all audit log data
Description Allows the app to read and query your audit log activities, without a signed-in user.

Resources

appCredentialSignInActivity

Property Type Description
appId String The globally unique appId (also called client ID on the Azure portal) of the credential application.
appObjectId String The ID of the credential application instance.
createdDateTime DateTimeOffset The date and time when the credential was created. 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 is 2014-01-01T00:00:00Z.
credentialOrigin applicationKeyOrigin The type the key credential originated from. Possible values are: application, servicePrincipal, unknownFutureValue.
expirationDateTime DateTimeOffset The date and time when the credential is set to expire. 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 is 2014-01-01T00:00:00Z.
id String The unique identifier of the appCredentialSignInActivity instance in the response.
keyId String The key ID of the credential.
keyType applicationKeyType Specifies the key type. The possible values are: clientSecret, certificate, unknownFutureValue.
keyUsage applicationKeyUsage Specifies what the key was used for. The possible values are: sign, verify, unknownFutureValue.
resourceId String The ID of the accessed resource.
servicePrincipalObjectId String The ID of the service principal.
signInActivity signInActivity The sign-in activity of the credential across all flows.

directoryAudit

Property Type Description
activityDateTime DateTimeOffset Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Supports $filter (eq, ge, le) and $orderby.
activityDisplayName String Indicates the activity name or the operation name (examples: "Create User" and "Add member to group"). For a list of activities logged, refer to Azure AD audit log categories and activities. Supports $filter (eq, startswith).
additionalDetails keyValue collection Indicates additional details on the activity.
category String Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement. For a list of categories for activities logged, refer to Azure AD audit log categories and activities.
correlationId Guid Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. Supports $filter (eq).
id String Indicates the unique ID for the activity. This is a GUID. Supports $filter (eq).
initiatedBy auditActivityInitiator Indicates information about the user or app initiated the activity. Supports $filter (eq) for user/id, user/displayName, user/userPrincipalName, app/appId, app/displayName; and $filter (startswith) for user/userPrincipalName.
loggedByService String Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. Supports $filter (eq).
operationType String Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete.
result operationResult Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue.
resultReason String Indicates the reason for failure if the result is failure or timeout.
targetResources targetResource collection Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other. Supports $filter (eq) for **i

provisioningObjectSummary

Property Type Description
activityDateTime DateTimeOffset Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

SUpports $filter (eq, gt, lt) and orderby.
changeId String Unique ID of this change in this cycle. Supports $filter (eq, contains).
cycleId String Unique ID per job iteration. Supports $filter (eq, contains).
durationInMilliseconds Int32 Indicates how long this provisioning action took to finish. Measured in milliseconds.
id String Indicates the unique ID for the activity. Read-only. Supports $filter (eq, contains).
initiatedBy initiator Details of who initiated this provisioning. Supports $filter (eq, contains).
jobId String The unique ID for the whole provisioning job. Supports $filter (eq, contains).
modifiedProperties modifiedProperty collection Details of each property that was modified in this provisioning action on this object.
provisioningAction provisioningAction Indicates the activity name or the operation name. Possible values are: create, update, delete, stageddelete, disable, other and unknownFutureValue. For a list of activities logged, refer to Azure AD activity list. Supports $filter (eq, contains).
provisioningStatusInfo provisioningStatusInfo Details of provisioning status.
provisioningSteps provisioningStep collection Details of each step in provisioning.
servicePrincipal servicePrincipal collection Represents the service principal used for provisioning. Supports $filter (eq) for id and name.
sourceIdentity provisionedIdentity Details of source object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName*.
sourceSystem provisioningSystem Details of source system of the object being provisioned. Supports $filter (eq, contains) for displayName.
targetIdentity provisionedIdentity Details of target object being provisioned. Supports $filter (eq, contains) for identityType, id, and displayName*.
targetSystem provisioningSystem Details of target system of the object being provisioned. Supports $filter (eq, contains) for displayName.
tenantId String Unique Azure AD tenant ID. Supports $filter (eq, contains).

servicePrincipalSignInActivity

Property Type Description
appId String The application ID of the resource.
applicationAuthenticationClientSignInActivity signInActivity The sign-in activity of the application in a app-only authentication flow (app-to-app tokens) where the application acts like a client.
applicationAuthenticationResourceSignInActivity signInActivity The sign-in activity of the application in a app-only authentication flow (app-to-app tokens) where the application acts like a resource.
delegatedClientSignInActivity signInActivity The sign-in activity of the application in a delegated flow (user sign-in) where the application acts like a client.
delegatedResourceSignInActivity signInActivity The sign-in activity of the application in a delegated flow (user sign-in) where the application acts like a resource.
id String The unique ID for each service principal sign-in event.
lastSignInActivity signInActivity The most recent sign-in activity of the application across delegated or app-only flows where the application is used either as a client or resource.

signIn

Property Type Description
appDisplayName String App name displayed in the Azure Portal.

Supports $filter (eq, startsWith).
appId String Unique GUID representing the app ID in the Azure Active Directory.

Supports $filter (eq).
appliedConditionalAccessPolicies appliedConditionalAccessPolicy collection Provides a list of conditional access policies that are triggered by the corresponding sign-in activity.
clientAppUsed String Identifies the client used for the sign-in activity. Modern authentication clients include Browser, modern clients. Legacy authentication clients include Exchange ActiveSync, IMAP, MAPI, SMTP, POP, and other clients.

Supports $filter (eq).
conditionalAccessStatus conditionalAccessStatus Reports status of an activated conditional access policy. Possible values are: success, failure, notApplied, and unknownFutureValue.

Supports $filter (eq).
correlationId String The request ID sent from the client when the sign-in is initiated; used to troubleshoot sign-in activity.

Supports $filter (eq).
createdDateTime DateTimeOffset Date and time (UTC) the sign-in was initiated. Example: midnight on Jan 1, 2014 is reported as 2014-01-01T00:00:00Z.

Supports $orderby, $filter (eq, le, and ge).
deviceDetail deviceDetail Device information from where the sign-in occurred; includes device ID, operating system, and browser.

Supports $filter (eq, startsWith) on browser and operatingSytem properties.
id String Unique ID representing the sign-in activity.

Supports $filter (eq).
ipAddress String IP address of the client used to sign in.

Supports $filter (eq, startsWith).
isInteractive Boolean Indicates if a sign-in is interactive or not.
location signInLocation Provides the city, state, and country code where the sign-in originated.

Supports $filter (eq, startsWith) on city, state, and countryOrRegion properties.
resourceDisplayName String Name of the resource the user signed into.

Supports $filter (eq).
resourceId String ID of the resource that the user signed into.

Supports $filter (eq).
riskDetail riskDetail Provides the 'reason' behind a specific state of a risky user, sign-in or a risk event. The possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, unknownFutureValue. The value none means that no action has been performed on the user or sign-in so far. Supports $filter (eq).
Note: Details for this property require an Azure AD Premium P2 license. Other licenses return the value hidden.
riskEventTypes riskEventType collection Risk event types associated with the sign-in. The possible values are: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, and unknownFutureValue.

Supports $filter (eq).
riskEventTypes_v2 String collection The list of risk event types associated with the sign-in. Possible values: unlikelyTravel, anonymizedIPAddress, maliciousIPAddress, unfamiliarFeatures, malwareInfectedIPAddress, suspiciousIPAddress, leakedCredentials, investigationsThreatIntelligence, generic, or unknownFutureValue.

Supports $filter (eq, startsWith).
riskLevelAggregated riskLevel Aggregated risk level. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection.

Supports $filter (eq).
Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden.
riskLevelDuringSignIn riskLevel Risk level during sign-in. The possible values are: none, low, medium, high, hidden, and unknownFutureValue. The value hidden means the user or sign-in was not enabled for Azure AD Identity Protection.

Supports $filter (eq).
Note: Details for this property are only available for Azure AD Premium P2 customers. All other customers will be returned hidden.
riskState riskState Reports status of the risky user, sign-in, or a risk event. The possible values are: none, confirmedSafe, remediated, dismissed, atRisk, confirmedCompromised, unknownFutureValue.

Supports $filter (eq).
status signInStatus Sign-in status. Includes the error code and description of the error (in case of a sign-in failure).

Supports $filter (eq) on errorCode property.
userDisplayName String Display name of the user that initiated the sign-in.

Supports $filter (eq, startsWith).
userId String ID of the user that initiated the sign-in.

Supports $filter (eq).
userPrincipalName String User principal name of the user that initiated the sign-in.

Supports $filter (eq, startsWith).

userRegistrationDetails

Property Type Description
id String User object identifier in Azure Active Directory. Inherited from entity.
isAdmin Boolean Indicates whether the user has an admin role in the tenant. This value can be used to check the authentication methods that privileged accounts are registered for and capable of.
isMfaCapable Boolean Indicates whether the user has registered a strong authentication method for multi-factor authentication. The method must be allowed by the authentication methods policy. Supports $filter (eq).
isMfaRegistered Boolean Indicates whether the user has registered a strong authentication method for multi-factor authentication. The method may not necessarily be allowed by the authentication methods policy. Supports $filter (eq).
isPasswordlessCapable Boolean Indicates whether the user has registered a passwordless strong authentication method (including FIDO2, Windows Hello for Business, and Microsoft Authenticator (Passwordless)) that is allowed by the authentication methods policy. Supports $filter (eq).
isSsprCapable Boolean Indicates whether the user has registered the required number of authentication methods for self-service password reset and the user is allowed to perform self-service password reset by policy. Supports $filter (eq).
isSsprEnabled Boolean Indicates whether the user is allowed to perform self-service password reset by policy. The user may not necessarily have registered the required number of authentication methods for self-service password reset. Supports $filter (eq).
isSsprRegistered Boolean Indicates whether the user has registered the required number of authentication methods for self-service password reset. The user may not necessarily be allowed to perform self-service password reset by policy. Supports $filter (eq).
isSystemPreferredAuthenticationMethodEnabled Boolean Indicates whether system preferred authentication method is enabled. If enabled, the system dynamically determines the most secure authentication method among the methods registered by the user. Supports $filter (eq).
lastUpdatedDateTime DateTimeOffset The date and time (UTC) when the record was last updated. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
methodsRegistered String collection Collection of authentication methods registered, such as mobilePhone, email, fido2. Supports $filter (any with eq).
systemPreferredAuthenticationMethods String collection Collection of authentication methods that the system determined to be the most secure authentication methods among the registered methods for second factor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. Supports $filter (any with eq).
userDisplayName String The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderBy.
userPreferredMethodForSecondaryAuthentication userDefaultAuthenticationMethod The method the user selected as the default second-factor for performing multi-factor authentication. Possible values are: push, oath, voiceMobile, voiceAlternateMobile, voiceOffice, sms, none, unknownFutureValue. This property is used as preferred MFA method when isSystemPreferredAuthenticationMethodEnabled is false. Supports $filter (any with eq).
userPrincipalName String The user principal name, such as [email protected]. Supports $filter (eq, startsWith) and $orderBy.
userType signInUserType Identifies whether the user is a member or guest in the tenant. The possible values are: member, guest, unknownFutureValue.

userRegistrationFeatureSummary

Property Type Description
totalUserCount Int64 Total number of users accounts, excluding those that are blocked.
userRegistrationFeatureCounts userRegistrationFeatureCount collection Number of users registered or capable for multi-factor authentication, self-service password reset, and passwordless authentication.
userRoles includedUserRoles The role type of the user. Possible values are: all, privilegedAdmin, admin, user, unknownFutureValue.
userTypes includedUserTypes User type. Possible values are: all, member, guest, unknownFutureValue.

userRegistrationMethodSummary

Property Type Description
totalUserCount Int64 Total number of users in the tenant.
userRegistrationMethodCounts userRegistrationMethodCount collection Number of users registered for each authentication method.
userRoles includedUserRoles The role type of the user. Possible values are: all, privilegedAdmin, admin, user, unknownFutureValue.
userTypes includedUserTypes User type. Possible values are: all, member, guest, unknownFutureValue.
In This Article
Back to top Created by merill | Submit feedback