<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
0D50Z00008C3jbTSAROkta Classic EngineIntegrationsAnswered2024-04-12T22:48:46.000Z2017-10-16T23:52:52.000Z2017-10-16T23:52:52.000Z
  • Hi Michael! Thank you for reaching Okta Support! You will have to run GET {{url}}/api/v1/users which lists every user in your organization. Be aware to use pagination in order to retrieve every user. You can find more about pagination here: https://developer.okta.com/docs/api/getting_started/design_principles.html. The JSON response should be filtered by credentials. If the Credentials are provided by Okta then it is Okta mastered. I am attaching a JSON response from two users (Okta mastered and AD) to see the difference.

     

    Okta mastered user:

     { "id": "00u4dfsd2vsdsLAOUr1t7",

            "status": "PROVISIONED",

    ...............

            "credentials": {

                "provider": {

                    "type": "OKTA",

                    "name": "OKTA"

                }

            },

            "_links": {

                "self": {

                    "href": }} }

     

    AD mastered user:

     { "id": "00u2sadsyt36lIsVH1t7",

            "status": "ACTIVE",

          ...........................

             "credentials": {

                "provider": {

                    "type": "ACTIVE_DIRECTORY",

                    "name": "providervsuciu.com"

                }

            },

            "_links": {

                "self": {

    "  } } }

    Expand Post
This question is closed.
Loading
Obtain where a user was mastered from