Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Exchange Online (Office 365) Incoming/Outgoing emails count by day

Posted on 2014-11-21
2
1,502 Views
Last Modified: 2014-11-23
Hi Experts,
I'd like to get a daily count of incoming and outgoing emails for a single Office 365 account (e.g. support@myOffice365Domain.com). I'd like to get these stats since the creation date of the account. I found a script here but it returns all users in my Office 365 environment and for only a few days in the past. How should I modify this script, or create a script from scratch to accomplish what I need?
Much appreciated
0
Comment
Question by:timberadmin
2 Comments
 
LVL 16

Assisted Solution

by:Rajitha Chimmani
Rajitha Chimmani earned 250 total points
ID: 40458596
I dont have an idea how we do in Office365 but reading the script you just need to modify the below line to include the user.

Change $Recipients = Get-Recipient -ResultSize Unlimited | select PrimarySMTPAddress

To
$Recipients = Get-Recipient "username" | Select Primarysmtpaddress

As per the script, it goes through all available logs to give the count. Remember: The number of days depends on how long your logs are retained.
0
 
LVL 40

Accepted Solution

by:
Vasil Michev (MVP) earned 250 total points
ID: 40459289
In the case of Exchange Online, logs are kept for 7 days. Anything beyond that needs to be 'manually' requested, up to 3 months back. The easiest way is to go to the EAC -> Mail flow -> Message trace and run the reports from there, then wait for them to be completed.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Schedule Outlook Calendar 5 30
Exchange 2007 to 2013 send connector issue 6 21
Citrix NetScaler LoadBalancer 1 26
Office365 Bulk Enable not CSV 9 19
Adoption of Microsoft’s Enterprise Mobility and Security solution and Office 365 will re-order the File Sync and Share market Microsoft has stated that its Enterprise Mobility + Security (EMS) is the fastest growing product in the history of the …
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

840 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