MSIdentityTools
MSIdentityTools copied to clipboard
Get-MsIdInactiveSignInUser
When running Get-MsIdInactiveSignInUser to identify inactive users (e.g., within the last 180 days), I would like to ensure the following criteria are met:
-Creation Date: The user account was created at least 180 days ago. -Sign-in Activity: a. The account has no sign-in records (null). b. The account’s most recent successful sign-in (both interactive and non-interactive) is older than 180 days. c. If the sign-in is unsuccessful, treat it the same as a null sign-in.
Could you please review the Get-MsIdInactiveSignInUser script and incorporate this logic?
Hi @merill , Can you please add Last Successful Sign in Date in the report ?