0 votes

Hello,

We're trying to automate disabling inactive users and I have a question about the built in scheduled task discussed here:

http://www.adaxes.com/tutorials_Automat ... yUsers.htm

The Task checks to see if a user is inactive for more than 12 Weeks.

Where does it get the starting date of the 12 weeks from? Creation date of the user account or the user's last logon?

by (810 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello Drew,

Adaxes determines inactive user accounts based on the Last-Logon-Timestamp (LDAP name lastLogonTimestamp) and the When Created (LDAP name whenCreated) attributes. Inactive accounts are users who:

  • were created more than the specified number of days ago;
  • have not logged in to Active Directory during the specified number of days.
0

Hi

I came across this article, that states that LastLogonTimeStamp may not be the best way to identify an inactive user -

https://blogs.technet.microsoft.com/ask ... -s4u2self/

We can confirm that LastLogonTimeStamp is updated in our AD, dispite that the user account is disabled or expired.

- Thanks

0

Hello,

Thank you for sharing the information.

It is a well-known side effect, that the Last Logon Timestamp property value is updated for a user when you check Effective permissions of the user in Active Directory Users and Computers. Unfortunately, there is no workaround for this behavior.

Related questions

0 votes
0 answers

Over the last day or so we have been seeing this pop up under the exchange header in adaxes portal. cmdlet Get-CASMailbox is not present in the role definition of the current user

asked Jul 3, 2023 by Jeff.Briand (80 points)
0 votes
1 answer

I know it is based on an attribute held in adaxes. What info does adaxes look at to determine the date? Just want to understand how the cake is baked.

asked Dec 26, 2022 by mightycabal (1.0k points)
0 votes
1 answer

I see a few Q&As dealing with user accounts but don't see one in regards to computer accounts. Is it the same? As feedback, both of these should be documented ... This could be a good place to do so: http://www.adaxes.com/sdk/IAdmInactiveAccountCondition/

asked Mar 31, 2021 by mark.it.admin (2.3k points)
0 votes
1 answer

Hi All, I am currently using the 30 day free trial of Adaxes and seeing if we can use it to achieve our method of user provisioning. I am looking into server-side ... variable value within an SQL query Can this be achieved? Any help is much appreciated, Thanks

asked Feb 1 by Lewis (40 points)
0 votes
0 answers

Hi all, Adaxes was working fine, till 2 Days ago. I'm getting now an Errormessage, when I want to create/delete/edit a User. Access to the attribute is not ... solve it, or to get helpfull informations? Thank you all for your help Best Regards Massimo

asked Aug 4, 2016 by massimo.ibba (450 points)
3,589 questions
3,278 answers
8,303 comments
548,153 users