Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

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

  • Great scripts, thanks.

    Reply
  • 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 *