Forum Discussion
Guest user activity
Wondering if anyone has found a way to check on activity for guest users.
For instance, last time they even logged in or last password reset like the things you're able to find in MSOL.
Trying to scope out the inactive guest users.
The closest thing I can find is the WhenChanged attribute within their mailuser and even that value is a bit unreliable.
9 Replies
- Rodrigo Lopes BalistaCopper ContributorLook Adam, I need the same login information for guest users, did you get anything?
- Anthony LeongCopper Contributor
Hi Adam!
Thanks, yeah I believe I've seen that article before and it deals more with Guest users within certain teams.
My ultimate goal was to reduce the number of Guest users in my tenant, as it appears to be getting out of hand.
With this, I was hoping to see if the Guest user hasn't logged in within a few months or a year we can simply delete them.
I did find this sign in log tutorial: https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/tutorial-signin-logs-download-script
But i believe its only checks up to a month if I recall correctly.- Chad RodriguezCopper Contributor
Did you ever get a powershell script to identify inactive guest user accounts older than XX (days)?