<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
0D54z00007UhmmKCAROkta Identity EngineWorkflowsAnswered2025-01-31T09:00:17.000Z2022-03-10T05:03:39.000Z2022-08-17T18:03:41.000Z
  • TimL.58332 (Workflows)

    The process appears to hit the appAssignments API - Example from my test org from dev tools when performing a convert all.

     

    https://mySubDomain-admin.okta.com/api/v1/appAssignments/instance/0oa131jo5s622fhyy5d7/async/convertAll

     

    However, this API does not have public documentation for usage. See:

     

    https://developer.okta.com/docs/reference/core-okta-api/

     

    Additionally, the scopes may not exist as an option to select for the Workflows Oauth app so it may not be as simple as using a "custom API action" with the existing Okta connection.

     

    Since it isn't technically an "internal" API endpoint you may be able to get it to work. I would suggest reviewing the API call (from dev tools) that occurs when you manually perform the task you want to perform. You may need to generate an auth token and leverage API Connector card to gain authorization to the resource.

     

    This is clearly outside of what would be considered "Supported" since there is no public documentation so if you wish to attempt to make it work do so at your own risk.

    Expand Post
  • BlakeC.51952 (Employee)

    Hi @1mwrl (1mwrl)​ 

     

    Here is an example of how you can convert an individual assignment to a group assignment using a workflow:

     

    ConvertAssignment 

    I hope that helps.

    Thanks

    Expand Post
  • 1mwrl (1mwrl)

    Hi @Blake Carrigan (Customer)​ , Thanks much for answering , but when I try updating Scope attribute , It does not assign and throws invalid URI Character error.

    Is it working for you ?

     

    Thanks again !

     

    Expand Post
  • BlakeC.51952 (Employee)

    Hi @1mwrl (1mwrl)​ ,

     

    Yes, it's working for me. Can you provide the complete error message and a screenshot of the card where it's throwing the error.

     

    Thanks

  • JustinO.14633 (Customer)

    Just want to say thanks for this tip @BlakeC.51952 (Employee)​ ! This worked great. Not sure if the error Manjula was getting was maybe due to calling a PUT or PATCH instead of a POST?

This question is closed.
Loading
Convert Individual assignment to Group assignment through workflow