<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
0D50Z00008C3jebSABOkta Classic EngineIntegrationsAnswered2021-06-04T01:15:21.000Z2017-11-14T18:11:51.000Z2017-11-14T18:11:51.000Z
Find All Groups assigned to a Directory
I can see in the GUI of the Okta Admin Groups page there are "Directories" listed in the columns. People | Apps | Directories. But I do not see a way to list this "Directories" via API call.

 

One of the things I would like to be able to do is easily identify any Groups which are assigned to our AD directory.

 

When getting {{url}}/api/v1/groups/{{groupID}} I get the JASON back but do not see anything that would identify this group being assigned to a directory

  • justin.bergez (Regional Customer Success, Bay Area)

    Hi Nick,

     

    The most effective method would be the List Assigned Applications query:

    GET {{url}}/api/v1/groups/{{groupID}}/apps

     

    This will return the directory name and label for any specified group.

     

    If you run into any issues or have any follow-up questions, feel free to open a case with Okta Support.

     

    Thank you,

     

    Justin M. Bergez

    Sr. Technical Support Engineer | Okta, Inc.

    0EM2A000000Dx8a
    Expand Post
  • NickG.01375 (Climate)

    Thanks for this info. Is there a way do this for all group apps or would I have to script this out to loop through every {{groupID}} I have?
This question is closed.
Loading
Find All Groups assigned to a Directory