Some Adaxes features calculate how long a user or computer account has been inactive. For example:

  • The If is inactive <period> condition in business rules, scheduled tasks, and custom commands
  • The adm-InactivityDuration calculated property
  • The built-in Inactive users and Inactive users allowed to log in reports

Adaxes always uses the same calculation method. The inactivity duration of an account is measured since the most recent of the following events.

  • Account creation
  • Last sign-in
  • Last password change or reset

The dates of these events are pulled from specific properties, depending on whether the account is on-premises or in the cloud.

Account creation Last sign-in Last password change
Active Directory whenCreated lastLogon
lastLogonTimestamp
pwdLastSet
Entra ID createdDateTime lastSignInDateTime
lastNonInteractiveSignInDateTime
lastPasswordChangeDateTime

For synchronized accounts in a hybrid environment, Adaxes checks for these events in both the on-premises and cloud accounts, and picks whichever date is the most recent.

by (620 points)

Please log in or register to answer this question.

Related questions

This article is relevant to you if your organization has fully transitioned to Exchange Online and decommissioned your last on-premises Exchange server. Here are the ... provision mailboxes for new users, simply assign Exchange Online licenses to these users.

asked Oct 30 by Adaxes (620 points)
0 votes
0 answers

Issue The Active Directory Federation Services (ADFS) master key that decrypts ADFS certificates is stored in Active Directory, in the thumbnailPhoto attribute of a contact object ... ,CN=Program Data,DC=domain,DC=com container via native AD access control.

asked Mar 28 by Adaxes (620 points)
0 votes
0 answers

Hello, I'm curious again... In this post: Lync Fails when Line URI is used its mentioned that because Adaxes uses PowerShell v2, and the Lync module from Microsoft ... scripts. How then, does Adaxes go about enabling and disabling users for Lync? Thanks.

asked Jan 27, 2016 by EgotisticalGiraffe (350 points)
0 votes
0 answers

Hi all, Just wondering when Adaxes actually determines the current unmanaged/managed user counts - is it random, scheduled, or a manual thing? Also, does it randomly re-determine ... the script ran successfully every night, so I am not sure here. Cheers all.

asked Sep 22, 2020 by TheLexicon (200 points)
0 votes
1 answer

Adaxes Service To enable communication between Adaxes service and Active Directory, the following ports (TCP and UDP) must be open for outgoing connections on the ... Restricting Active Directory replication traffic and client RPC traffic to a specific port

asked Nov 18, 2010 by Adaxes (620 points)
0 votes
0 answers