Retrieving ActiveSync logs from Exchange

Posted on 2010-01-08
Last Modified: 2012-05-08
I'm looking to run the Users.csv report from Exchange command shell and am having some difficulties.  Basically at the prompt, I'm typing Export-ActiveSyncLog and hitting return.  When I do this, I get a error stating it could not find the find.  By default, where are these logs kept?  I think I need to enter the command withe filename and path to whereever the logs are found.  In a nutshell, I'm trying to run a report on current mobile device ActiveSync users.  If I understand it right, these logs are created from the IIS Web server?
Question by:akdreaming
    LVL 9

    Expert Comment

    LVL 76

    Assisted Solution

    by:Alan Hardisty
    What version of Windows / Exchange are you using?
    Activesync uses HTTPs, so you will need to look in the c:\windows\system32\logfiles\w3svc1 directory if using Windows 2003

    Author Comment

    No using Windows 2008 and I have found the logfiles in C:\inetpub\logs\logfiles\W3SVC1.  However, if you could, check out the error I am getting in Exchange PowerShell when I try to run my script.  What am I doing wrong?
    LVL 76

    Expert Comment

    by:Alan Hardisty
    As per

    Does the account you are running the command from have the Exchange Recipient Administrator Role?

    Author Comment

    Yes.  I'm looking into a log parser now which looks very promising.

    Accepted Solution

    To me, the log parser doesn't work very well, especially if you aren't script oriented very well.  I can get by but seems like more more than necessary.  I finally did get some results from Alanhardisty's post.  The script ran fine with no errors and produced a total of six files for me in the directory I told it to put them in.  See screen shot I have attached.  My issue now is, there is no data in the files.  For example, I was hoping the Users.csv would give me the users I was looking for to determine who in fact is using mobile devices to connect to their mailbox.  The Users.csv file was created with pertinent headers, etc., but not actual data.  Any clues Alanhardisty?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How does your email signature look on mobiles?

    Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

    Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
    Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
    In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
    This video discusses moving either the default database or any database to a new volume.

    758 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

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now