Chat with us, powered by LiveChat

Office 365 Knowledge

Back

How to guides:

Last logon date PowerShell script for Office 365

This handy script will allow you to connect to your Office 365 tenant and collect the last logon date for all users in your organization.

Extracting this information can be useful for a variety of reasons. It could allow you to see if there are any inactive users in your environment, or it can show you if you have assigned licenses for individuals who have never logged in or used their account.