What is the best way to determine how many Outlook Web App (OWA) users are connecting to my Exchange client access servers?
Well, it depends on what you're looking for. If you're searching for a "real-time" view of currently connected OWA users, unfortunately you're out of luck. Once a user's session has been authenticated to the client access server (CAS), communication between the client and the server only occurs when a request is made, such as when a user opens a mail item or sends a message. In other words, there is no constant session between the client and server that can be queried using Exchange management tools.
However, if you're interested in understanding how many OWA connections your setup has seen, or if you want to check who is authenticating and from where, you can obtain this data from the IIS logs on your client access servers using Microsoft Log Parser with Log Parser Studio.
With Log Parser Studio, you can create a custom query to check on the number of OWA users per minute from the IIS logs on your CAS. The query should look similar to the following:
Select cs-username AS UserID,QUANTIZE(TO_TIMESTAMP(date, time), 60) AS Minute, cs(User-Agent) AS Application from '[LOGFILEPATH]' WHERE cs-uri-stem LIKE '%OWA%'
The above command will produce an output similar to Figure 1:
Figure 1. Log Parser Studio can retrieve OWA user connections down to the minute.
About the author
Andy Grogan is an Exchange MVP based in the U.K. He has worked in the IT industry for the last 14 years -- primarily with Microsoft, HP and IBM technologies. His main passion is Exchange Server, but he also specializes in Active Directory, SQL Server and storage solutions. Grogan currently works for a large council in West London as the networks and operations manager supporting 6,000 customers on more than 240 sites. Visit Andy's website at www.telnetport25.com/.
Dig Deeper on Outlook Web Access
Related Q&A from Andy Grogan, Contributor
With hosted Exchange email deployment chatter increasing daily, it's crucial to separate fact from fiction when it comes to security and reliability.continue reading
An Office 365 outage may be widespread or unique to your deployment. Discover how to find out, as well as the best ways to prepare your organization.continue reading
A coexistence period is an important part of any Exchange Server migration -- but why? Our expert explains.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.