Forum Discussion

lpmdvip's avatar
lpmdvip
Tin Contributor
Oct 30, 2020

Windows SignIn Report

Hello All!

 

In Azure, there is an Azure --> Azure Active Directory --> Monitoring --> Signins area where you can download a csv of windows login ins. However, this interface doesn't provide a department column. Is there a powershell command that would provide these fields in addition to Department?

 

Date, User, Application (="Windows Sign In"), IP Address, Location, DEPARTMENT.

1 Reply

  • AndySvints's avatar
    AndySvints
    Steel Contributor

    Hello lpmdvip,

    Did you look into Get-AzureADAuditSignInLogs cmdlet? It will give similar data to the Azure portal.

    Although it will not give you the Department right away, you can get it as you will have user's information and add it as custom property to sign-in object.

     

    Hope that helps.