
User15717589852053945299 (Customer) asked a question.
Hi All,
Is there a way to unlock the user accounts using workflow?

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All
May Okta Community Buzz
Stay ahead of the curve with Okta for AI Agents, new Okta Learning live sessions and labs, shout-outs, and top trending topics—all aimed at enriching your Okta journey.
Hello @User15717589852053945299 (Customer)
First: Locked out of where?
For Okta, status's are going to be based on the API column for user status's.
https://help.okta.com/en-us/Content/Topics/users-groups-profiles/usgp-end-user-states.htm
Based on your screenshot I am assuming you are receiving some sort of event payload when the user reaches the "Locked" state you are concerned about.
The next question is: What does "Not Locked" look like for this scenario? What action would you usually take to "Unlock" the user? Is there an API endpoint to perform this step? If there is an API endpoint to perform this step then you would just need to identify the user & perform the action.
Not to take away from @TimL.58332 (Workflows) 's suggestion, but assuming this is for Okta accounts, you can also leverage the following strategies that do not require a Workflow:
Create a self-service password reset policy for your org
Add self-service password reset to an existing password policy
Configure your email notifications
Hope this helps! Thanks!
I need this too and could not find an Okta action on workflows to unlock a user account (a set of them really) that is in LOCKED_OUT status. Any idea if that can be done?
Yes, there does not appear to be a card dedicated to unlocking a locked out Okta user.
You can use it as a trigger however to notify you in the event that it does happen, allowing you to take action sooner.
Apart from that, you could also explore self-service account unlock (linked above) as that would also help address your request.
Finally, be aware there is an API endpoint to resolve this as well, but you may need to craft that within the Workflow using your custom API action card instead. Unlock User. Take note, it does state: This operation works with Okta-sourced users. It doesn't support directory-sourced accounts such as Active Directory.
I figured it out. The specific card does not exist but I kind if built it using the API card as shown below. That worked fine for me
Glad to hear that worked for you! Please let us know if you run into any other issues. Thanks!