Learn about the sign-in log activity details
Microsoft Entra logs all sign-ins into an Azure tenant for compliance purposes. As an IT administrator, you need to know what the values in the sign-in logs mean, so that you can interpret the log values correctly.
This article explains the values found in the sign-in logs. These values provide valuable information for troubleshooting sign-in errors.
Sign-in activity components
In Microsoft Entra ID, a sign-in activity is made of three main components:
- Who: The identity (User) doing the sign-in.
- How: The client (Application) used for the access.
- What: The target (Resource) accessed by the identity.
Focus on those three components when investigating a sign-in to narrow your search so you're not looking at every detail. Within each of those three components, there are related identifiers that might provide more information. Each sign-in also contains unique identifiers that correlate the sign-in attempt to associated activities.
The following details are associated with the user:
- User ID
- Sign-in identifier
- User type
How the user signs in can be identified by looking at the following details:
- Authentication requirement
- Client app
- Client credential type
- Continuous access evaluation
You can identify the resource the user is attempting to access using the following details:
- Application ID
- Resource ID
- Resource tenant ID
- Resource service principal ID
Sign-in logs also contain several unique identifiers that provide further insight into the sign-in attempt.
- Correlation ID: The correlation ID groups sign-ins from the same sign-in session. The value is based on parameters passed by a client, so might Microsoft Entra ID can't guarantee its accuracy.
- Request ID: An identifier that corresponds to an issued token. If you're looking for sign-ins with a specific token, you need to extract the request ID from the token, first.
- Unique token identifier: A unique identifier for the token passed during the sign-in. This identifier is used to correlate the sign-in with the token request.
Sign-in activity details
Each sign-in attempt contains details associated with those three main components. The details are organized into several tabs, based on the type of sign-in.
The Basic info tab contains the bulk of the details associated with a sign-in attempt. Take note of the unique identifiers, as they might be needed to troubleshoot sign-in issues. You can follow the who, how, what pattern using the details in the Basic info tab.
You can also launch the Sign-in Diagnostic from the Basic info tab. For more information, see How to use the Sign-in Diagnostic.
Sign-in error codes
If a sign-in failed, you can get more information about the reason in the Basic info tab of the related log item. The error code and associated failure reason appear in the details. For more information, see How to troubleshoot sign-in errors.
Sign-in details and considerations
The following scenarios are important to consider when you're reviewing sign-in logs.
IP address and location: There's no definitive connection between an IP address and where the computer with that address is physically located. Mobile providers and VPNs issue IP addresses from central pools that are often far from where the client device is used. Currently, converting IP address to a physical location is a best effort based on traces, registry data, reverse lookups and other information.
Not applied: No policy applied to the user and application during sign-in.
Success: One or more Conditional Access policies applied to or were evaluated for the user and application (but not necessarily the other conditions) during sign-in. Even though a Conditional Access policy might not apply, if it was evaluated, the Conditional Access status shows Success.
Failure: The sign-in satisfied the user and application condition of at least one Conditional Access policy and grant controls are either not satisfied or set to block access.
Continuous access evaluation: Shows whether continuous access evaluation (CAE) was applied to the sign-in event.
- There are multiple sign-in requests for each authentication, which can appear on either the interactive or non-interactive tabs.
- CAE is only displayed as true for one of the requests, and it can appear on the interactive tab or non-interactive tab.
- For more information, see Monitor and troubleshoot sign-ins with continuous access evaluation in Microsoft Entra ID.
Cross-tenant access type: Describes the type of cross-tenant access used by the actor to access the resource. Possible values are:
none- A sign-in event that didn't cross a Microsoft Entra tenant's boundaries.
b2bCollaboration- A cross tenant sign-in performed by a guest user using B2B Collaboration.
b2bDirectConnect- A cross tenant sign-in performed by a B2B.
microsoftSupport- A cross tenant sign-in performed by a Microsoft support agent in a Microsoft customer tenant.
serviceProvider- A cross-tenant sign-in performed by a Cloud Service Provider (CSP) or similar admin on behalf of that CSP's customer in a tenant
unknownFutureValue- A sentinel value used by MS Graph to help clients handle changes in enum lists. For more information, see Best practices for working with Microsoft Graph.
Tenant: The sign-in log tracks two tenant identifiers that are relevant in cross-tenant scenarios:
- Home tenant – The tenant that owns the user identity. Microsoft Entra ID tracks the ID and name.
- Resource tenant – The tenant that owns the (target) resource.
- Due to privacy commitments, Microsoft Entra ID doesn't populate the home tenant name during cross-tenant scenarios.
- To find out how users outside your tenant are accessing your resources, select all entries where the home tenant doesn’t match the resource tenant.
Multifactor authentication: When a user signs in with MFA, several separate MFA events are actually taking place. For example, if a user enters the wrong validation code or doesn't respond in time, more MFA events are sent to reflect the latest status of the sign-in attempt. These sign-in events appear as one line item in the Microsoft Entra sign-in logs. That same sign-in event in Azure Monitor, however, appears as multiple line items. These events all have the same
Authentication requirement: Shows the highest level of authentication needed through all the sign-in steps for the sign-in to succeed.
- Graph API supports
- Graph API supports
Sign-in event types: Indicates the category of the sign-in the event represents.
- The user sign-ins category can be
nonInteractiveUserand corresponds to the value for the isInteractive property on the sign-in resource.
- The managed identity category is
- The service principal category is servicePrincipal.
- The Microsoft Graph API, supports:
- The Azure portal doesn't show this value, but the sign-in event is placed in the tab that matches its sign-in event type. Possible values are:
- The user sign-ins category can be
User type: Examples include
- OATH verification code is logged as the authentication method for both OATH hardware and software tokens (such as the Microsoft Authenticator app).
- The Authentication details tab can initially show incomplete or inaccurate data until log information is fully aggregated. Known examples include:
- A satisfied by claim in the token message is incorrectly displayed when sign-in events are initially logged.
- The Primary authentication row isn't initially logged.
- If you're unsure of a detail in the logs, gather the Request ID and Correlation ID to use for further analyzing or troubleshooting.
- If Conditional Access policies for authentication or session lifetime are applied, they're listed above the sign-in attempts. If you don't see either of those options, those policies aren't currently applied. For more information, see Conditional Access session controls.