Forum Discussion
JakobRohde
Sep 22, 2017Iron Contributor
List all users' last login date
Is it possible, using PowerShell, to list all AAD users' last login date (no matter how they logged in)? I have found a couple of scripts that check the last mailbox login, but that is not what we ne...
Joshua Bines
Jan 04, 2022Iron Contributor
NicolasHon - FYI AuditLog.Read.All may not work as expected the work around is to use Directory.Read.All permissions. https://docs.microsoft.com/en-us/graph/known-issues#license-check-errors-for-azure-ad-activity-reports
NicolasHon
Jan 05, 2022Brass Contributor
Thanks for this information. I never had this issue.
- Joshua BinesJan 18, 2022Iron ContributorHiya guys, if you want some more reporting information and automate the removal process this may also help you.
https://theinformationstore.com.au/remove-staleguests/
https://github.com/JBines/Remove-StaleGuests