Powershell Script for Office 365

I am looking for a script that will create a report for all users that have the following criteria

Last Email logon
Last Sharepoint Login
Licenses Used

Also does anyone know of a script that will create a report from the input form the admin? For example I run a script and it asks what I require and from a list I choose the required information. Quite happy to pay for that if there is one our there on another site, just need pointing to it.

Thanks in Advance

John
John DaviesAsked:
Who is Participating?
 
Jian An LimConnect With a Mentor Solutions ArchitectCommented:
I love to get paid for that but you will hate that :)

anyway,  this report give you last email logon (last activity date) and additional information
https://portal.office.com/AdminPortal/Home?switchtomoderndefault=true#/reportsUsage/EmailActivity

for sharepoint, there are no GUI but you can use this script
https://gallery.technet.microsoft.com/Export-Office-365-User-d0a3122d


for licence consumption, you can go to
https://portal.office.com/Admin/Default.aspx?switchtoclassic=true#AllReportsRootV2
and click on  "Licensing vs Active Usage"
1
 
John DaviesAuthor Commented:
Thank you Jian, perfect
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.