here is a question that I couldn't find online.
Is there a way to disable accounts on AD automatically after a certain amount of time?
I know that you can just put an expiration date and the user wouldn't be able to login to the domain anymore but our audit dpt demand us to disable this account and delete it after 30 days.
I don't think a script that runs every day will be an option as, to be honest, we don't want to have scheduled tasks running all the time.
Let me know if I can provide any more information and thanks in advance!