Solved

Powershell Office 365 script

Posted on 2016-09-28
3
105 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 40

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

Is Your AD Toolbox Looking More Like a Toybox?

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
exchange 2016 suddenly stopped working 15 54
Exchange 2010 Edge subscription question 1 27
exchange, squid, proxy, linux 6 43
EXCHANGE 2010, EXCHANGE 2013 4 22
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-place Upgrading Dirsync to Azure AD Connect
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

726 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