Sometimes a user appears inactive because their last interactive sign-in was months ago. You might think it’s safe to disable the account, but it could still be running essential background processes like scripts, automated workflows, or API calls. Removing it without checking could disrupt these operations.
By looking at the last successful non-interactive sign-in in Entra ID, you can verify true inactivity and avoid accidentally breaking critical processes.
- To get started, navigate to Entra ID » Users in the Entra portal and select the desired user.
- In the Overview tab, locate the Sign-ins tile.
- Here, you can see the timestamp of the user’s last successful non-interactive sign-in, displayed in local time format.
Note: This view shows only the last sign-in timestamps, which may not be accurate sometimes. For full and accurate details like resource ID, resource name, and status, check the sign-in logs.
Microsoft Graph PowerShell allows you to find the last non-interactive sign-in date and time of a user using the 'lastNonInteractiveSignInDateTime' property. To retrieve both the last interactive and non-interactive sign-ins for all users in local time format instead of UTC, we’ve created a custom PowerShell script.
Download and execute the script to uncover non-interactive sign-ins for both internal and external users, along with comprehensive corresponding details.
Note: To retrieve only the last non-interactive or interactive last successful sign-in details for external users, execute the script as shown below.
.\M365LastSuccessfulSigninReport.ps1 -ExternalUsersOnly
Quickly track the last successful Microsoft 365 non-interactive user sign-ins with AdminDroid!
- Use AdminDroid’s column customization feature in the all users report to include Last Non-Interactive Sign-In Time to quickly see the most recent background sign-in activity for each user.
- The report also provides advanced filtering options and supports exports in multiple formats such as HTML, PDF, CSV, PDF+, and more, making it easy to analyze and share insights across your team.