How to get OWA enabled users Login time information on Outlook Web (OWA)?

Baylar_Ismayil 60 Reputation points
2023-11-14T07:45:00.4533333+00:00

Hello,

How can I get on Exchange 2019 the last login time information for OWA users when they try to log in Outlook Web (OWA)? I need only OWA information. (OWA enabled user's username, last logon time etc.)

If there is any documentation from Microsoft or suggest please help.

Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,301 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,637 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jarvis Sun-MSFT 10,196 Reputation points Microsoft Vendor
    2023-11-15T02:10:09.47+00:00

    Hi @Baylar_Ismayil ,

    Welcome to our Q&A forum!

    I couldn’t find any official documentation from Microsoft that provides the last logon time information for OWA users only. As far as I know, we can use Get-MailboxStatistics cmdlets to get the last logon time for users. As below:

    User's image

    In addition, I found a thread introduce the way to try using MS Logparser to extract the relevant logon information from IIS logs. For your reference: https://serverfault.com/questions/558215/find-out-if-user-logged-in-to-owa-read-his-emails

    Another possible solution is that you can try to enable Audit logging for the specific user, it will record IP address and logon information. See: Want Audit of a specific user logon attempts on to the Exchange mailbox using any client, OWA, Active sync, Outlook etc

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.