Skip to content
NewSoftware Metering is now announced.Read the post

What does inactive user mean in Microsoft 365?

In a Microsoft 365 license review, an inactive user is an account whose last recorded activity falls outside the review window. Before removing a license, check which signal the report used, how far back it looked, and whether the account still needs access.

Ugur KocMaintainer, Microsoft MVP for Intune7 min read

The definition Microsoft gives

Microsoft Entra guidance treats a long gap in sign-ins as a reason to check whether the account still needs access. For a license review, also check whether the user has recorded activity in the services the license covers. See Microsoft's guidance on inactive user accounts.

Record which activity signal and cutoff you use. For the steps to pull a list of candidates, see how to find inactive users in Microsoft 365.

The three sign-in timestamps in Microsoft Entra

Microsoft Entra ID stores sign-in activity on the user object, in the signInActivity property, for as long as the user object exists. It holds three timestamps, each in UTC. They do not measure the same thing, so a report built on one can disagree with a report built on another.

What each signInActivity timestamp records
PropertyWhat Microsoft says it recordsWhat it means for an inactive review
lastSignInDateTimeThe last interactive sign-in attempt, whether the attempt was successful or not.A failed attempt moves this date forward, so it can show an account as recently active when nobody got in.
lastNonInteractiveSignInDateTimeThe last time a client attempted, successfully or unsuccessfully, to sign in on behalf of a user.Can show a client attempted to sign in after the last interactive attempt. Check the successful timestamp for evidence of access.
lastSuccessfulSignInDateTimeThe most recent successful interactive or non-interactive sign-in, available since December 1, 2023 and not backfilled.The one Microsoft points to for when the account was actually accessed.
What each signInActivity timestamp records

Microsoft's resource reference says to use lastSuccessfulSignInDateTime when you need to know when the account was accessed, and notes that it can be used to build reports such as inactive users. For lastSignInDateTime, it notes that unsuccessful attempts are logged too, so the value might not accurately reflect actual system usage. For the exact wording, see the signInActivity resource type reference.

Interactive and non-interactive sign-ins

Microsoft explains the reason for the non-interactive date: some users use clients to access tenant resources rather than signing in to your tenant directly. It says you can use the non-interactive date along with lastSignInDateTime to identify inactive users. An old interactive date next to a recent non-interactive date is a reason to check which client attempted access and whether it succeeded.

Remember that the non-interactive value counts attempts, successful or not. A recent date there does not show that the person is working. Pair it with lastSuccessfulSignInDateTime when you need a successful event.

The Microsoft Entra admin center helps with the interactive view. In Entra ID > Users, the column in Microsoft's steps is Last interactive sign-in time, so the portal view covers interactive sign-ins. Use Microsoft Graph when you need all three timestamps.

What you need to read the timestamps

  • Licensing. Microsoft states that reading lastSuccessfulSignInDateTime through Microsoft Graph requires a Microsoft Entra ID P1 or P2 license. The user list reference says the same for the signInActivity property.
  • Permissions. Grant the app AuditLog.Read.All and User.Read.All. When accessing activity logs as a signed-in administrator, Reports Reader is the least privileged role Microsoft lists.
  • Request shape. Include signInActivity in $select to return it in the users list. When you select or filter by signInActivity, each page contains at most 500 users. Follow @odata.nextLink, when present, for the remaining pages.
Microsoft Graph: list users with their sign-in activity
GET https://graph.microsoft.com/beta/users?$select=displayName,userPrincipalName,signInActivity
Microsoft Graph: users whose last successful sign-in is on or before your cutoff
GET https://graph.microsoft.com/beta/users?$select=displayName,userPrincipalName,signInActivity&$filter=signInActivity/lastSuccessfulSignInDateTime%20le%202026-06-01T00:00:00Z

These examples use the beta endpoint, which Microsoft says can change. Replace the date with your own cutoff. Use the unfiltered query to review accounts with a blank successful sign-in timestamp separately. To narrow candidates by other properties, apply those filters after export. See Microsoft's list users reference.

Choose a cutoff and read blank values carefully

Microsoft notes that, in many organizations, a reasonable window for inactive user accounts is between 90 and 180 days. It also reminds you to consider every legitimate reason for not signing in, such as vacation. Write down the window and timestamp you use for each group of accounts so you can explain a result later.

  • Timing. The last sign-in date is stored on the user object and kept until the next sign-in. Microsoft says it can take up to 24 hours to update, and that interactive sign-ins typically show up in the sign-in report within 6 hours, so treat dates near your cutoff with care.
  • Blank values. lastSignInDateTime can be blank if the last attempted sign-in was before April 2020 or the account was never used for a sign-in attempt. Because Microsoft says lastSuccessfulSignInDateTime is not backfilled, read a blank there as no recorded value, not as proof that the person never signed in.
  • Log retention. Individual Entra sign-in events are retained by default for seven days on Free and 30 days on P1 and P2. The last-sign-in summary on the user object can still be available after the underlying event expires. See Microsoft Entra data retention.
  • Scope. Microsoft's inactive accounts guidance applies to Microsoft Entra ID and does not apply to Azure AD B2C.

What a sign-in timestamp cannot show

A sign-in date is evidence about the account, not a statement about need. Some accounts are not meant to be used by a person at a keyboard, and they can look inactive by this measure while still serving a purpose. Examples to check with an owner before acting are service accounts, room accounts and shared mailboxes. For the licensing side of the last one, see whether a shared mailbox needs a license.

Sign-in data also says nothing about what the person did after signing in. If you also want workload activity such as Exchange, OneDrive, SharePoint and Teams last active dates, combine it with the Active users report as described in the inactive users how-to.

What to check before you remove a license

  1. Name the timestamp and the cutoff.Write down whether the report used lastSignInDateTime, lastNonInteractiveSignInDateTime, lastSuccessfulSignInDateTime or a workload activity date, and the number of days it applied.
  2. Look at more than one signal.Compare the interactive, non-interactive and successful dates for the account. A recent value in any of them is a reason to look closer before you flag it.
  3. Check blanks and account age.For a user with no value, check when the account was created and whether the data could exist yet, using the blank value cases above.
  4. Confirm whether access is still needed.Check whether the person still works with your organization, which resources they need, and whether the account supports another process.
  5. Confirm with the owner or manager.Ask about leave, seasonal roles and accounts used by automation, then record who agreed.
  6. Remove the license as a separate, recorded action.Follow your own change process, and use the license removal guide for retention and mailbox checks.

How LicenseMeter defines inactive

LicenseMeter's read-only Microsoft 365 connector produces findings for review. It uses the newest available date across Exchange, OneDrive, SharePoint, Teams and Copilot usage, interactive and non-interactive sign-in attempts, and previously recorded activity. A recent failed sign-in attempt can therefore keep a licensed user out of the inactive findings.

The Inactive seat finding flags a user whose newest date is older than the workspace's inactivity threshold. The default is 90 days, and an admin can choose 30, 60, 90, 120 or 180 days under Settings. A user with no recorded activity at all is handled by a separate rule, Licensed but never active, which can apply when activity data is available and the account is at least 30 days old. Disabled accounts and guests holding paid or unpriced licenses are evaluated under separate rules. Service, room and shared accounts can be kept out of per-user findings with Excluded accounts in Settings.

Open Settings > Detection capabilities to see whether Entra ID P1 sign-in activity and identifiable usage reports are available. When either signal is unavailable, check what the latest sync could read before drawing conclusions from the findings. See inactive users still holding Microsoft 365 licenses and the detection rules reference.

Frequently asked questions

  • Where can I check inactivity in Microsoft 365? Review account sign-in dates in the Microsoft Entra admin center. For service activity, use the Microsoft 365 admin center usage reports.
  • Which timestamp should I use? Microsoft points to lastSuccessfulSignInDateTime for determining when an account was accessed, and says it can be used to build reports such as inactive users. Review it next to lastSignInDateTime and lastNonInteractiveSignInDateTime, because each answers a different question.
  • Does a non-interactive sign-in count as activity? The non-interactive timestamp records a client attempting, successfully or not, to sign in on behalf of a user. Microsoft suggests using it together with lastSignInDateTime to identify inactive users. Decide in advance whether an attempt by a client counts as use in your policy.
  • Do I need Microsoft Entra ID P1 to read these timestamps? Microsoft documents that reading signInActivity through Microsoft Graph requires a Microsoft Entra ID P1 or P2 license, plus the AuditLog.Read.All permission. If the sign-in data is unavailable, check workload activity in the Microsoft 365 usage reports.
  • Which cutoff is right? Microsoft says a reasonable window in many organizations is between 90 and 180 days, and that you should consider legitimate reasons such as vacation. The right number is the one your organization has approved and can explain.
  • How fresh is the sign-in date? Microsoft says interactive sign-ins typically show up in the sign-in report within 6 hours, and that the stored last sign-in value can take up to 24 hours to update.

Review inactive licensed users with the definition spelled out

LicenseMeter's read-only Microsoft 365 connector flags inactive seats against a threshold you set, and shows which signals your tenant can supply, so you can check each candidate before changing a license.

All posts

Book a 30-minute demo

Pick a time for a Microsoft Teams call with Ugur Koc. We walk through a scan of your tenant.