Office 365 whenCreated and whenChanged report. Find user creation date on Office 365.

This reports the created date of every user in your organisation.

$objUsers = get-mailbox -ResultSize Unlimited | select UserPrincipalName 

Foreach ($objUser in $objUsers) 
        $objUserMailbox = get-user -Identity $($objUser.UserPrincipalName) | select identity, whenCreated, whenChanged

$strUserPrincipalName = $objUser.UserPrincipalName
$strWhenCreated = $objUserMailbox.whenCreated
$strWhenChanged = $objUserMailbox.whenChanged
write-host "$strUserPrincipalName : $strWhenCreated : $strWhenChanged"

Copy and paste it into the PowerShell after connecting and then press enter twice.. Should show you a list of users and their Created time and last modified time.

Hope this helps someone.

This entry was posted in Uncategorized. Bookmark the permalink.

Comment on this topic

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s