Summary: Use PowerShell to identify the property in AzureAD with the Synchronization time in AzureAD
Hey, Doctor Scripto. Is there a way with PowerShell to identify when a user was last synchronized with AzureAD?
Absolutely! We just need to examine the LastDirSyncTime when using the Get-Msoluser cmdlet. Here’s an example below
(Get-MsolUser -UserPrincipalName ‘firstname.lastname@example.org’).LastDirSyncTime
PowerShell, Doctor Scripto, PowerTip, Microsoft 365
The post PowerTip: Identify the last time a User was Synchronized to AzureAD appeared first on Scripting.