<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
0D54z00007QD9P7CALOkta Classic EngineAdministrationAnswered2025-10-11T09:00:47.000Z2022-02-02T16:37:34.000Z2022-02-07T19:54:24.000Z

MatthewH.10249 (State of Iowa) asked a question.

Deactivate/Delete App does not remove "Application Administrator" role assignments

Is there a reason when an app is deactivated and deleted that users who where assigned with "Application Administrator" role for the app retain the role? Is this behavior by design or a bug? If by design, please provide a link to documentation that explains in case there are other related details I should consider. Is there any way to automate role cleanup so any apps that no longer exist have any associated roles removed for all users?


  • Hello @MatthewH.10249 (State of Iowa)​ 

    I hope you are having a great day 

     

    Thank you for posting, according to documentation after the app integration is deactivated, any users currently signed in to Okta receive an error message if they click the app integration tile on their dashboard. Okta removes the app integration from the End-User Dashboard at the next sign-in or if the end user refreshes the browser page.

     

    You can also learn about this topic in the following link: https://help.okta.com/en/prod/Content/Topics/Apps/apps-deactivate.htm

     

    If you need further assistance you can also feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, this is a place for the Okta developer community to interact

     

    Have a great day ahead

     

    Henry E.

    Okta Inc

    Expand Post
    • MatthewH.10249 (State of Iowa)

      Thanks for your response but I'm not talking about the app access via app tiles, I'm talking about the administrator role assignments. In the admin console go to the left nav under "Security" and select "Administrators". You will see that anyone assigned as an "Application Administrator" to an app that was deactivated and deleted continues to retain the role for the app. I even logged out and back into Okta and it still shows I'm an "Application Administrator" to apps that no longer exist in the tenant.

      Expand Post
  • b5n6c (b5n6c)

    Hi Matthew Harshbarger ,

    Deactivating the application may generate deprovision tasks. However it will not automatically deprovision the user from third party service. If user provisioning is desired, the best practice is to unassign the user from application before deactivating the application.

     

    Attaching the screenshot for your reference,

    Image is not available

    Expand Post
    • MatthewH.10249 (State of Iowa)

      Understood, but this usecase has nothing to do with a 3rd party service, rather it is Okta's "Application Administrator" role I'm trying to get removed from users in Okta itself. Your post does give me an idea where I may be able to use a Workflow with a listener for the app deprovisioning task and use that to fetch a list of users who are assigned the Okta "Application Administrator" role and remove them one by one.

       

      Thanks for your time!

      Expand Post
This question is closed.
Loading
Deactivate/Delete App does not remove "Application Administrator" role assignments