Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. Passionate about sharing the deep technical knowledge and experience to help others, through the real-world articles!

3 thoughts on “Microsoft 365: Find the Last Login Date of the Users

  • Hi Salaudeen,

    Seems “AuditLog.Read.All” is not enough to issue a get-mguser command. Script asks me again to logon, and :
    Get-MgUser : Insufficient privileges to complete the operation.
    At line:13 char:1
    + $AllUsers = Get-MgUser -All -Property $Properties #| Select-Object $P …

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *