Forum Discussion

GaryatYU's avatar
GaryatYU
Copper Contributor
Jul 24, 2021

obtain lastlogon in a hybrid

I am trying to obtain a lastlogon for my Hybrid AD environment.   My environment consist of 5 sites which each site having a DC.  We synchronize to Azure AD, with ADConnect.  I have found scripts, which will pull from on premise DC but I believe I am missing the information from Azure AD.

 

Is there a strategy or script to pull from all DC and Azure AD so I have a consolidate view on a user's lastlogon?

Resources