0 votes

Hello

I try to create a scheduled task that checks every minute for locked out users and sends a mail if there is any locked out users.

It works fine but it sends a mail notification every minute, because i dont know how to stop it.

I disabled it for the moment.

I also tried an anti-spam script that was recently posted here. I think this worked for a day, but it mysteriously stopped working.

Because of this i made two scheduled tasks. Bildschirmfoto 2024-07-08 um 11.01.54.png

Bildschirmfoto 2024-07-08 um 11.04.11.png

Can you help me with this problem?

As you might see in the screenshot, i am not well experienced.

by (130 points)

1 Answer

0 votes
by (294k points)

Hello,

The best way would be to schedule a built-in report, Locked out users. By default, it is located in container Reports\All Reports\users\Account Status. For details on how to schedule reports, see https://www.adaxes.com/help/ScheduleReports. This way, you will have a single email for all the existing locked out user accounts instead of a separate email per account. Also, you can confugre the report to be delivered only if it is not empty.

If this is not what you need, please, describe the desired behavior in all the possible details with live examples.

0

Hello

Here you can see the Configuration and the Activity scope.

Some things are in german.

"GrpAdaxesBenutzer" = "GrpAdaxesUsers", it is a group with every user in the company.

Bildschirmfoto 2024-07-09 um 11.46.17.png

0

Hello,

Your configuration is incorrect. Make sure to configure the task exactly as in our screenshot above. The only thing you need to change is the user in the Activity Scope. Pay attention that it must be a single user, not members of a group. Otherwise, you will receive multiple emails.

0

Hello

Oh i think there was a misunderstanding. Sorry, i am in the wrong.

I tried to get a notifcation for an entire group, not just one single user. So if someone in that group gets locked out, i get one single message.

Is that possible.

Sorry for the inconvinience.

0

Hello,

There is no easy way to do that. It can only be done via a PowerShell script that will iterate through the members and check their status. Also, marking like in our screenshot will also be required. Unfortunately, we do not have such a script in our repository.

0

Hello

Okay, thats unfortunate.

But thank you regardless.

Related questions

0 votes
1 answer

A little bit of context: There are 3 departments that share 1 Active Directory. Now each department has its own OU. I would like to have an email sent when a user is ... if this is possible without Powershell? If not, is there a pre-existing script for this?

asked Oct 3, 2023 by Cas (200 points)
0 votes
1 answer

Hi All, I have been attempting to create a backup of our Adaxes setup so I can upgrade to 2020.1. When running the backup exe either from command line or gui I hit ... 2015/ReleaseNotes.htm but that suggests to add it in group policy which it is. Any ideas?

asked Jul 7, 2020 by antondubek (440 points)
0 votes
1 answer

Our audits require us to provide a report of who has access in applications. Most applications provide a way to produce this access report. Can Adaxes add this feature?

asked Nov 7 by lavonnabalo (40 points)
0 votes
1 answer

My Help Desk users can unlock accounts one at a time under user management, Unlock Account. However, under the "Locked out Users" on the Home Page, there is no option to select multiple users to unlock- the check boxs are not visible.

asked Mar 12, 2020 by msylvester (60 points)
0 votes
1 answer

Hello! I am creating a scheduled task, which in pseudocode does the following: 1st action: If account is locked AND if extensionattribute6 is empty send email to the locked account set ... of my DC's, the value is correct. How do I work around this? Thanks!

asked Aug 19, 2014 by Erlend (160 points)
3,589 questions
3,278 answers
8,303 comments
548,133 users