Solved

Powershell Office 365 script

Posted on 2016-09-28
3
59 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 38

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Perfect link, worked a treat. Thanks for the input
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
This Experts Exchange lesson shows how to use VBA to loop through rows in Excel.  In order to sort, filter, and use database features, there needs to be a value in each column for every row. When data arrives with values missing, code to copy values…

762 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