0 votes


How can we cleanup the requrest pool (or whatever you call it) for requests no longer valid.
For example, pending requests waiting for approval before joining a group - but the target user has been deleted before the approver got to approved it.

How can we put an expire date on a request ?
For eksample, if a request is not answered within 14 days, it would be deleted (rejected) automatically.

- Thanks

by (2.6k points)

I've the same question. Any feedback appreciated.

1 Answer

0 votes
by (245k points)


You can use the following script from our repository: https://www.adaxes.com/script-repository/approvedeny-outdated-approval-requests-s546.htm.

Related questions

0 votes
1 answer

At the moment we build an action that put users into a group until the specified End-datetime is arrived. Is it possible to specifiy a Start-Datetime, so the user will be ... group for a amount of time from day x to day y if needed for privileged actions.

asked Feb 6 by VinAx (20 points)
0 votes
1 answer

I have have admin rights and am in the "Request Approvers" group. I have a dearth of old approval requests to delete. I saw I could not delete them until I denied them ... says I have "No approval requests." How can I delete these denied entries? Thanks, Scott

asked Feb 26, 2021 by chappyshi (40 points)
0 votes
1 answer

On Approval Requests, in the web console, Initiator shows "N/A" instead of the custom command scheduled task. The admin console shows the custom command scheduled task though. Any way to fix that?

asked Jan 21, 2021 by mark.it.admin (2.2k points)
0 votes
1 answer

I'd like to create a a custom report to show any approval requests (Approved, Pending, and Rejected) for membership in certain AD groups within our domain. These groups grant users ... " (Just In Time) in the name of the group. Is something like this possible?

asked Mar 30, 2020 by sirslimjim (480 points)
0 votes
1 answer

Hi, How can I get only 1 mail with the Approval notifications in, instead of multiple? I have a sheduled task to disable all inactive users after 90 days, and it should be approved.. but I don't want 1 mail per user.. Thanks.

asked Sep 9, 2019 by dkkela (100 points)
3,008 questions
2,726 answers
216,432 users