[GH-ISSUE #2046] [Feature Request]: Add Last Successful Sign-In Date to Users List #1044

Closed
opened 2026-03-02 13:41:06 +03:00 by kerem · 1 comment
Owner

Originally created by @robm82 on GitHub (Jan 23, 2024).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2046

Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole.

Microsoft introduced a new property to identify the last successful sign-in date and time. I know that there is an Inactive Users report, but it would be good to add the last successful sign-in date and time to the normal users view (under Identity Management | Administration | Users) so that you know when any user last signed in.

PowerShell commands you would normally use to achieve above request

I was reading this blog post from AdminDroid: https://blog.admindroid.com/get-last-successful-sign-in-date-report-for-microsoft-365-users/

The syntax appears to be:
((Get-MgBetaUser -UserId -Property SigninActivity).SignInActivity.AdditionalProperties).lastSuccessfulSignInDateTime

Originally created by @robm82 on GitHub (Jan 23, 2024). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/2046 ### Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole. Microsoft introduced a new property to identify the last successful sign-in date and time. I know that there is an Inactive Users report, but it would be good to add the last successful sign-in date and time to the normal users view (under Identity Management | Administration | Users) so that you know when any user last signed in. ### PowerShell commands you would normally use to achieve above request I was reading this blog post from AdminDroid: https://blog.admindroid.com/get-last-successful-sign-in-date-report-for-microsoft-365-users/ The syntax appears to be: ((Get-MgBetaUser -UserId <UserId> -Property SigninActivity).SignInActivity.AdditionalProperties).lastSuccessfulSignInDateTime
kerem 2026-03-02 13:41:06 +03:00
Author
Owner

@KelvinTegelaar commented on GitHub (Jan 23, 2024):

This is only available to P1 subscribers, so we're not implementing this as otherwise the entire API call would error out :)

<!-- gh-comment-id:1906080640 --> @KelvinTegelaar commented on GitHub (Jan 23, 2024): This is only available to P1 subscribers, so we're not implementing this as otherwise the entire API call would error out :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#1044
No description provided.