Solved

Powershell Office 365 script

Posted on 2016-09-28
3
93 Views
Last Modified: 2016-09-28
Hi, hopefully a quick response to this and it would be appreciated.

Does anyone have a powershell script for check all users and writing to CSV format for last email sent in Office365. We have an issue where users are still using there partner email account and not the cloud based solution we have provided. I have used the last user logon but this seems very inaccurate.

Many Thanks in Advance

John
0
Comment
Question by:John Davies
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 41819606
You mean the last activity performed by the user? Or the address used?

There's no easy and accurate way to get this info, but you can simply check the (new) admin portal reports. Other than that, you can get a message trace based report such as the one here: https://gallery.technet.microsoft.com/office/Office-365-Mail-Traffic-afa37da1
0
 

Author Comment

by:John Davies
ID: 41819786
Thats the one I am using Vasil, found Microsofts stats to be way out. What i was looking at was not the address of the last email but the last time they sent an email from their account that way I can see who is using it.

As I said the link you posted is one I found also and worked brilliantly one I had removed duplication's.

Thanks Vasil
0
 

Author Closing Comment

by:John Davies
ID: 41819787
Perfect link, worked a treat. Thanks for the input
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office ā€¦
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This lā€¦

813 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

11 Experts available now in Live!

Get 1:1 Help Now