0 votes

Good Afternoon,

I've created a scheduled task to run once that a day that goes through and disables accounts older than 12 weeks and sends a ticket to the helpdesk to see if deprovisioning is required. However, when I ran this task it ended up running our deprovisioning custom command alongside every user it found that was inactive. I can't seem to figure out how or why this happened when looking at the task and custom command.

by (520 points)
0

Hello,

Can you post here or send us a screenshot of your Scheduled Task?

0

0

Hello,

It looks like your Custom Command is executed by a Business Rule that was triggered by the task. To check this, view the Management History of the user on whom the Custom Command was executed.

To do so:

  1. Open the Management History of the user. For information on how to do this, see the following help article: http://www.adaxes.com/help/?Logging.Vie ... story.html.
  2. Double-click each action executed by the Scheduled Task to view its properties.
  3. In the Log Record Properties window, view the Operation execution log section to see which Business Rules were triggered by the Scheduled Task.

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Hello, I'm trying to create a daily scheduled task that runs that automatically disables users AD accounts who havent logged in to the domain in 45 days. At the same time ... inactivity period but it appears to only allow me to select weeks instead of days.

asked Apr 14, 2020 by sirslimjim (480 points)
0 votes
1 answer

Hi all I need to modify the template $remoteRoutingAddressTemplate with the default exchange option automatically update email addresses disable. How i make it?

asked Nov 28, 2022 by Simone.Vailati (430 points)
0 votes
1 answer

I want to create a scheduled task to disable a user if he is inactive for 30days, the task must check inacivity o AD and Azure.

asked May 16 by johanpr (120 points)
0 votes
1 answer

Hello , I have the "disable inactive computer list" script. The script runs on the system every morning. But I noticed that the script doesn't work properly on some PCs. When ... specified time Can you help me ? What is the problem ? Thank you in advance.

asked Jun 24, 2022 by engcap (40 points)
0 votes
1 answer

I have created a template user account for each job role in my company. I copy these users to create users so that all new users are assigned all required groups. I want to ... want to then add or remove all users with a matching job role from the same group.

asked Apr 11, 2023 by scohen (20 points)
3,542 questions
3,233 answers
8,227 comments
547,808 users