Thank you for contacting Google Workspace Support. My name is Daniel and I have taken your case. I understand that you would like to know more information about how the data is populated for a user's last login. More generally, I understand you would like to ensure that accounts are only kept as active if the user is logging in every 6 months.
A user's timestamp_last_login from the Reports API is triggered by:
- Interactive web logins via Google login pages
- Suspicious programmatic logins
As you mention, since your organization uses third party SSO for logins, the timestamp_last_sso parameter may be more relevant, as timestamp_last_login does not update for SSO logins.
Alternatively, you can use the Directory API which combines SSO and non-SSO login timestamps with a user's lastLoginTime [1].
Please note that the timestamps above do not update in the following situations:
- Using native apps on mobile devices (such as the Gmail app)
- Non-suspicious programmatic logins
Since your organization uses a third party SSO that is enabled for all users, and since as a large university you may want to keep things simple and easy to communicate to users, I might suggest that the requirement be that each user must make a new login via your SSO provider every 6 months, since SSO logins will update both the timestamp_last_sso parameter in Reports API, and a user's lastLoginTime in Directory API.
--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/c658b3d2-4292-42fd-aa4c-501cac57d47dn%40googlegroups.com.