
00u2iykvdpiRteveG0i71.551184734336532E12 (Customer) asked a question.
Hi everyone,
What would be the best way to obtain all the historical changes of the statuses for the entire users list?
What I try to achieve, is to obtain all the users that ever had status changed from Deactivated to Staged (basically re-onboarded) in the past.

Hi @00u2iykvdpiRteveG0i71.551184734336532E12 (Customer) , Thank you for reaching out to the Okta Community!
Depending on the time frame that you're interested in, this might not be achievable as the system logs only go back three months typically. (See this for more details: https://support.okta.com/help/s/article/Standard-Reports-Data-Retention-Changes-Fall-2019?language=en_US )
If you're looking for something within that timeframe, you might be able to run a filtered query in system logs based on the events. For example:
eventType eq "user.lifecycle.deactivate"
eventType eq "user.lifecycle.activate"
(Some other useful info on syslogs can be found here: https://help.okta.com/en/prod/Content/Topics/Reports/syslog-filters.htm )
We also recommend leveraging 3rd party SIEM solutions for event tracking, alerts and storage. Please review the following for more details: https://support.okta.com/help/s/article/Exporting-Okta-Log-Data?language=en_US
All that being said, the exact functionality that you are looking for is not currently available.
You can suggest this enhancement on the Okta Community page by going to the Community→ Ideas tab. Features suggested in our community are reviewed and can be voted and commented on by other members. High popularity will increase the likelihood of it being picked up by the Product Team and it being implemented.
More details here:
https://support.okta.com/help/s/blog/a674z000001cj7YAAQ/okta-ideas-faq?language=en_US
Have a great rest of the day!