Solved

How can I see a list of all users who access Exchange via the Outlook Web Access (OWA)?

Posted on 2014-11-24
5
693 Views
Last Modified: 2014-11-30
How can I see a list of all users who access Exchange via the Outlook Web Access (OWA)?

I need to see who accessed OWA/ActiveSync in the last 90 days.

I have tried this article, but the sql seems to be giving me some issues:
http://windowsitpro.com/windows/q-how-can-i-see-list-all-users-who-access-exchange-outlook-web-access-owa

The error on log parser 2.2 is this:
Error: Syntax Error: 'AS' not followed by <alias> (\[Date\],)


The SQL is following:
Select

 date as \[Date\],
 time as \[Time\],
 s-ip as \[Server IP\],
 cs-username as \[UserName\],
 c-ip as \[Client-IP\],
 cs-method as \[Request Verb\],
 cs-uri-stem as \[Request URI\]

 FROM C:\inetpub\logs\LogFiles\W3SVC1\*.log

 WHERE cs-method LIKE 'GET' AND cs-uri-stem LIKE '/exchange'
 AND cs-username LIKE'%'
0
Comment
Question by:cdshreve
  • 3
5 Comments
 
LVL 26

Expert Comment

by:pony10us
ID: 40462492
Have you looked at Microsoft's article?

http://support.microsoft.com/kb/246248
0
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40462588
Try this and see.

Select

*

 FROM C:\inetpub\logs\LogFiles\W3SVC1\*.log

 WHERE cs-method LIKE 'GET' AND cs-uri-stem LIKE '/exchange'
 AND cs-username LIKE '%'
0
 

Author Comment

by:cdshreve
ID: 40463010
Unfortunately neither of the suggestions work.  The article was about 5.5 and the sql command still received no results.
0
 

Accepted Solution

by:
cdshreve earned 0 total points
ID: 40464656
Actually found this and it works!
then I use Powershell to sort and de-dup


http://myriadofthings.com/outlook-web-access-owa-and-activesync-reporting-using-iis-logs/
0
 

Author Closing Comment

by:cdshreve
ID: 40472353
Actually found the solution elsewhere.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question