0 votes

I've enabled the "Account Expiration Notifier" builtin scheduled tasks.

Currently, I'm testing it so I have "If account will expire in less than 300 days", it will send an email.

I have my user in the security group to test, and it shows via adaxes console that my account password will expire in 123 days. It also shows my user under the affected objects list for the task.

SMTP settings are correct, seeing as I get the test send.

What's going on here?

by (60 points)

1 Answer

0 votes
by (272k points)

Hello,

According to your description, the Scheduled Task sends email notifications only when a user account is to expire in less than 300 days. This condition is no related to user password expiration. In your case, for example, the user password expires in 123 days, but if the account is set to never expire or expires in more than 300 days, the condition in the Scheduled Task is not met for the account. For your information, account expiration is controlled by the Account Expires property.

0

Great, so I just need to change that to password expiration.

Thanks,

0

Hello,

Yes, that is correct. Also, you can use the built-in Password Expiration Notifier Scheduled Task and modify it to meet your needs.

Related questions

0 votes
1 answer

I'm using the default builtin password expiration notifier. I have it set to run everyday at 8AM, to check if the password will expire in <7 days, and send an ... saw the task had been running for nearly 24 hours, no completion. What is happening here?

asked Sep 12, 2023 by keecit (60 points)
0 votes
1 answer

Getting "object reference not set to an instance" when trying to sign into Office 365 Tenant Was working fine before

asked Sep 1, 2021 by davm79 (40 points)
0 votes
1 answer

My security team is looking to do a security review and would like the vendor to fill out a questionnaire.

asked Aug 25, 2023 by LarrySargent (20 points)
0 votes
1 answer

Is it possible to setup a scheduled task for password expiration notifier to send one email a day for accounts whose password will expire in less than X amount of days that have ... expiring on the same day. There will be a lot of emails going at once.

asked Mar 20 by tromanko (180 points)
0 votes
1 answer

I am looking for a way to ensure that a custom command can only be run is an user account is more than 30 minute old. Ideally I would like the command to be hidden ... is less than 30 minutes old. We need this check because of sync timings. Thanks, Allistair

asked Dec 18, 2023 by a.blonk (170 points)
3,346 questions
3,047 answers
7,772 comments
544,973 users