<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
0D54z00007uZT3BCAWOkta Classic EngineDirectoriesAnswered2024-04-16T13:06:30.000Z2022-08-11T19:05:42.000Z2022-08-25T17:40:18.000Z

ho5lc (ho5lc) asked a question.

Deleted Groups Still Return In Searches

If you delete a group, it still returns when you search for that group, even long after it is deleted

 

Steps to Reproduce:

  1. Call POST /api/v1/groups
  2. Call DELETE /api/v1/groups/{GroupID} where GroupId is the ID returned from step 1
  3. Call GET /api/v1/groups?search=type eq "OKTA_GROUP". Notice that the group deleted in step 2 is in this collection
  4. Call GET /api/v1/groups/{GroupID}. Returns a 404 saying this group does not exist

  • Hello @ho5lc (ho5lc)​ Thank you for reacting out to our Community!

     

    I have run a few tests in my environment and I was unable to reproduce the same behaviour, using the same API call you made. Make sure that the group in question is not a ghost group from a different application or a group with a very similar name.

     

    The Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Expand Post
    • ho5lc (ho5lc)

      Ah, I missed a step in my original post: I am adding a single user to the group after Step 1. then I immediately deactivate and then delete the user. Then when you go to delete the group, the group gets into this strange zombie state.

  • ChrisG.42632 (Customer)

    I'm also finding this behaviour through the UI, with groups created via the Terraform provider. The group shows in the search box and returns a 404 when I click through.

  • hmyfm (hmyfm)

    We were having this exact same issue. When creating and then deleting groups through Terraform, we would still see them in the Okta dashboard. However, we would get a 404 page when visiting the group's detail page.

     

    As of today (08/25/22), it seems this issue was fixed. We are still seeing old groups that were deleted in the dashboard, though, and we don't have a way to delete them in either Okta or AWS.

    Expand Post
This question is closed.
Loading
Deleted Groups Still Return In Searches