Forum Discussion
Scott Williamson
May 01, 2018Copper Contributor
Guest Users - Clean Up
Does anyone have any experience with policies and planning for cleaning up guest users? We want to make sure that when guest users leave their company we can make sure they no longer have access to ...
Joshua Bines
Iron Contributor
If you want the full end to end solution try this 😉 https://github.com/JBines/Remove-StaleGuests
John_R007
Aug 30, 2022Copper Contributor
Joshua Bines Thanks, I think I had looked at that, or one like it, but I generally have to vet the list before going ahead with disabling of accounts. We have some contactors, vendors that we make allowances for, so just generating the report of dormant accounts is what worked best for us.
- Joshua BinesAug 30, 2022Iron Contributorno worries, I'm a bit brutal when it comes to guest accounts these days... I guess we could add an exclude group/value to the removal process but I don't think I like that idea either unless you still had an automated process to clean them up. hmmm thinking out loud... lastlogin -gt 6 month DEL except 'someGuest' then have another process to clean up the excluded guests say lastlogin -gt 18 months. but manual works of course.