Sign-in activity reports in the Azure Active Directory portal
The reporting architecture in Azure Active Directory (Azure AD) consists of the following components:
- Sign-ins – Information about the usage of managed applications and user sign-in activities.
- Audit logs - Audit logs provide system activity information about users and group management, managed applications and directory activities.
This topic gives you an overview of the sign-ins report.
Who can access the data?
- Users in the Security Administrator, Security Reader and Report Reader roles
- Global Administrators
- In addition, any user (non-admins) can access their own sign-ins
What Azure AD license do you need to access sign-in activity?
- Your tenant must have an Azure AD Premium license associated with it to see the all up sign-in activity report
The user sign-ins report provides answers to the following questions:
- What is the sign-in pattern of a user?
- How many users have signed in over a week?
- What’s the status of these sign-ins?
You can access the sign-ins report by selecting Sign-ins in the Activity section of the Azure Active Directory blade in the Azure portal.
The sign-ins report only displays the interactive sign-ins, that is, sign-ins where a user manually signs in using their username and password. Non-interactive sign-ins, such as service-to-service authentication, are not displayed in the sign-ins report.
A sign-ins log has a default list view that shows:
- The sign-in date
- The related user
- The application the user has signed-in to
- The sign-in status
- The status of the risk detection
- The status of the multi-factor authentication (MFA) requirement
You can customize the list view by clicking Columns in the toolbar.
This enables you to display additional fields or remove fields that are already displayed.
Select an item in the list view to get more detailed information.
Customers can now troubleshoot conditional access policies through all sign-in reports. By clicking on the Conditional access tab for a sign-in record, customers can review the conditional access status and dive into the details of the policies that applied to the sign-in and the result for each policy. For more information, see the Frequently asked questions about CA information in all sign-ins.
Filter sign-in activities
To narrow down the reported data to a level that works for you, you can filter the sign-ins data using the following default fields:
- Sign-in status
- Conditional Access
The User filter enables you to specify the name or the user principal name (UPN) of the user you care about.
The Application filter enables you to specify the name of the application you care about.
The Sign-in status filter enables you to select:
The Conditional Access filter enables you to select the CA policy status for the sign-in:
- Not Applied
The Date filter enables to you to define a timeframe for the returned data.
Possible values are:
- 1 month
- 7 days
- 24 hours
- Custom time interval
When you select a custom timeframe, you can configure a start time and an end time.
If you add additional fields to your sign-ins view, these fields are automatically added to the list of filters. For example, by adding Client App field to your list, you also get another filter option that enables you to set the following filters:
- Exchange ActiveSync (supported)
- Exchange ActiveSync (unsupported)
- Other clients
- Older Office clients
Download sign-in activities
You can download the sign-ins data if you want to work with it outside the Azure portal. Clicking Download creates a CSV file of the most recent 5K records. In addition to a download button, the Azure portal also provides you with an option to generate a script to download your data.
If you need more flexibility, you can use the script solution. Clicking Script creates a PowerShell script that includes all the filters you have set. Download and run this script in administrator mode to generate the CSV file.
The number of records you can download is constrained by the Azure Active Directory report retention policies.
Running the script on a Windows 10 machine
If you want to run the script on a Windows 10 machine, you need to perform a few additional steps first.
- Install the AzureRM module.
- Import the module by opening a PowerShell prompt and running the command Import-Module AzureRM.
- Run Set-ExecutionPolicy unrestricted and choose Yes to All.
- Now you can run the downloaded PowerShell script in administrator mode to generate the CSV file.
Sign-ins data shortcuts
In addition to Azure AD, the Azure portal provides you with additional entry points to sign-ins data:
- The Identity security protection overview
- Enterprise applications
Users sign-ins data in Identity security protection
The user sign-in graph in the Identity security protection overview page shows weekly aggregations of sign ins for all users in a given time period. The default for the time period is 30 days.
When you click on a day in the sign-in graph, you get an overview of the sign-in activities for this day.
Each row in the sign-in activities list shows:
- Who has signed in?
- What application was the target of the sign-in?
- What is the status of the sign-in?
- What is the MFA status of the sign-in?
By clicking an item, you get more details about the sign-in operation:
- User ID
- Application ID
- IP address
- MFA Required
- Sign-in status
On the Users page, you get a complete overview of all user sign-ins by clicking Sign-ins in the Activity section.
Usage of managed applications
With an application-centric view of your sign-in data, you can answer questions such as:
- Who is using my applications?
- What are the top 3 applications in your organization?
- I have recently rolled out an application. How is it doing?
Your entry point to this data is the top 3 applications in your organization within the last 30 days report in the Overview section under Enterprise applications.
The app usage graph weekly aggregations of sign ins for your top 3 applications in a given time period. The default for the time period is 30 days.
If you want to, you can set the focus on a specific application.
When you click on a day in the app usage graph, you get a detailed list of the sign-in activities.
The Sign-ins option gives you a complete overview of all sign-in events to your applications.