We have some clients who work with government contracts, and some of their requests has been to being able to audit accounts and seeing where they logged in from based on IP.
Is there a way to do this?
I am attempting the following via powershell but I am not sure if this is the way to go.
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"} | Set-Mailbox -AuditEnabled $true
And for viewing:
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox"} | Set-Mailbox -AuditOwner MailboxLogin
Am I going about this the right way to view IPs with time stamps and when they logged in and with what devices?