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
704 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

856 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