Solved

Powershell Office 365 script

Posted on 2016-09-28
3
118 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
[X]
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
  • 2
3 Comments
 
LVL 41

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
how to add IIS SMTP to handle application/Scanner relays into 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…

724 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