mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-26 00:36:27 +03:00
[GH-ISSUE #2046] [Feature Request]: Add Last Successful Sign-In Date to Users List #1044
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#1044
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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 :)