<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7VYKSA3Okta Classic EngineIntegrationsAnswered2024-03-25T20:29:26.000Z2018-07-25T00:14:17.000Z2018-08-12T04:17:01.000Z
Is User lastUpdated field updated if user is added/removed from group?
Hi

 

Is the User lastUpdated field updated if the user is added or removed from a group?

 

I'm wanting to know about changes to a user that include both user property changes as well as if their group memberships change. So if the lastUpdated field isn't updated for both, what might be the most efficient way to obtain a list of "updated" users?

 

Thanks

DavidY.51189 likes this.
  • Hey Steve!

    Thank you for posting your question!

    As I just tested right now, the lastUpdated field is not being updated when you add or remove an user from a group.

    The best way, based on my assumption, would be to use the system logs, or use the get events for user API, which is /api/v1/events?limit=100&filter=target.id eq "userId", and just use the published attribute to detect the timestamp where the user has been removed from group or added to a group. If you want, you can open a ticket with Okta Support and we will be able to provide a more personalized answer, if the above ones are not sufficing.

    Wish you a great day!
    Expand Post
    Selected as Best
  • Hey Steve!

    Thank you for posting your question!

    As I just tested right now, the lastUpdated field is not being updated when you add or remove an user from a group.

    The best way, based on my assumption, would be to use the system logs, or use the get events for user API, which is /api/v1/events?limit=100&filter=target.id eq "userId", and just use the published attribute to detect the timestamp where the user has been removed from group or added to a group. If you want, you can open a ticket with Okta Support and we will be able to provide a more personalized answer, if the above ones are not sufficing.

    Wish you a great day!
    Expand Post
    Selected as Best
This question is closed.
Loading
Is User lastUpdated field updated if user is added/removed from group?