0 votes

Hello,

We have users who never log to AD on a workstation but only use Outlook OWA. The Exchange value Last Logon is not an AD attribute. How can we disabled these users after a certain amount of time of inactivites ?

Thank you :)

TB

by (1.1k points)
0

Hello,

AD users who are inactive in Exchange for a certain amount of time can be disabled using a script executed in a scheduled task. For us to provide you with the script, please, specify whether it should also enable users. If it does, please, describe the entire desired behavior in all the possible details with live examples.

0

Thank you. The script does not need to enable the user.

1 Answer

0 votes
by (233k points)

Hello,

Thank you for clarifying. Have a look at the following script from our repository: https://www.adaxes.com/script-repository/check-if-account-is-inactive-in-exchange-longer-than-a-period-of-time-s654.htm. You can use it in a scheduled task like the following: image.png

Related questions

0 votes
1 answer

Have a csv file of users that I need to import into Adaxes. I had initially found an article for this, but upon going today, it gave me an error (looks like it was deleted). Thank you

asked Nov 19 by wangl (20 points)
0 votes
0 answers

Hello, I am using this script found in the repository to remove the permissions for Adaxes service administrators from a newly provisioned user home directory: https://www. ... namespace, so the folder path is similar to \ \domain.domain.com\ServerName\Users

asked Nov 14 by GronTron (70 points)
0 votes
1 answer

If the user name submitted is "jhon doe" all of the users properties will be lower case. We want it to force it to be "Jhon Doe" even if it was submitted in lower case.

asked Aug 31 by raul.ramirez (150 points)
0 votes
1 answer

Hi Guys, You probably already met with a similar problem in your organization. Communications Department has dozens of distribution groups, that need to be updtaed base on some ... do the job. Maybe you can share some better solution to achieve same goal.

asked Mar 9, 2015 by axmaster (510 points)
0 votes
1 answer

Some of our users don't log on to AD ever therefore does not give us a true user picture?

asked Jun 4, 2021 by marcwoollard (40 points)
2,880 questions
2,600 answers
6,750 comments
114,605 users