0 votes

The report criteria would be as follows, Name/Last Logon Date of any user that was disabled in the last 30 days. Furthermore, if possible, how would I publish this to the user's self service page so he can manually run a report and/or choose which dates to run the report, on his own? TIA

by (20 points)

1 Answer

0 votes
by (293k points)

Hello Milan,

The report criteria would be as follows, Name/Last Logon Date of any user that was disabled in the last 30 days.

Have a look at the following script from our repository: https://www.adaxes.com/script-repository/users-disabled-during-a-number-of-days-s660.htm.

how would I publish this to the user's self service page

For details on how to configure reports in Adaxes Web interface, have a look at the following tutorial: https://www.adaxes.com/help/ConfigureReportsInWebInterface. You will also need to grant users the corresponding permissions: https://www.adaxes.com/help/GrantRightsToViewReports.

0

Thanks for that script. To make it easier, how can I edit the script to just list LastLogonDate for all disabled users in the last 30 days (no need for a drop-down or edit box). I will ultimately just schedule this report to run automatically monthly, and email the results directly to the user. Thank you!

0

Hello Milan,

In this case, you do not need the report to have any parameters at all. As for the script, just replace this part

$daysParamNumber = "param-MyParam" # TODO: modify me

$days = $Context.GetParameterValue($daysParamNumber)

with below

$days = 30

Related questions

0 votes
1 answer

We have four OUs in Active Directory (Pending Deletion, Disabled with Mail Delegates, Disabled with HR Extensions and Disabled_Temp_Leave) that users are moved to prior to their eventual ... past 7 days have been moved to one of 4 of these OUs. Thanks!

asked Jun 3, 2021 by RayBilyk (240 points)
0 votes
1 answer

We need to run a scheduled task twice a year, so I chose every 182 days like it's suggested in here, only problem is that there is no way to change the next run ... really don't want these tasks to be triggered again if they've already been executed this year.

asked May 8 by boing (20 points)
0 votes
1 answer

Currently, when I disable a user account in Adaxes, the group memberships of the user remain intact. I'd like to automate the removal of group memberships such as distribution ... a list of groups/DL that the user was previously in and removed from. Thanks!

asked Nov 3, 2021 by jayden.ang (20 points)
0 votes
1 answer

Hi, we currenlty have a business rule to send an email everytime the Title, Manager, Department, accountExpires, EmployeeType or FirstName attributes are ... Unit: %BusinessUnit% End Date: %accountExpires% Effective Date of Change: %adm-CustomAttributeDate2%

asked Feb 14 by KevC (60 points)
0 votes
1 answer

Is it possible to run a report to get users disabled in the last 24 hours?

asked Jun 10, 2020 by peggleg (110 points)
3,574 questions
3,263 answers
8,282 comments
548,008 users