10-25-2022 10:23 AM
How to get the Active Directory status in the ISE External Identity Sources via the API ??
I'm using the REST API below and I can see there is no users and no groups returned in the API response, but nothing about the status.
https://x.x.x.x:9060/ers/config/activedirectory/<Name>
Please let me know if there is a way to get the status information via the API. I'm using ISE 2.7 and latest patch.
Solved! Go to Solution.
10-25-2022 04:15 PM
This status is not something that is currently returned by the ERS API in any shipping versions of ISE (including 3.2).
The only option I can think of would be using the 'getGroupsByDomain' PUT call to query the domain for a group. If you get a '200 OK' response, that would indicate that at least the PAN status is Joined. If you get a '500 Internal Server Error' response, that would indicate Not Joined.
https://developer.cisco.com/docs/identity-services-engine/v1/#!activedirectory
Example:
{
"OperationAdditionalData" : {
"additionalData" : [
{
"name" : "domain",
"value" : "{{ad_domain_name}}"
},
{
"name" : "filter",
"value" : "*Domain Computers"
}
]
}
}
You could also submit a request for this to be added to the API via https://cs.co/ise-feedback.
10-25-2022 04:15 PM
This status is not something that is currently returned by the ERS API in any shipping versions of ISE (including 3.2).
The only option I can think of would be using the 'getGroupsByDomain' PUT call to query the domain for a group. If you get a '200 OK' response, that would indicate that at least the PAN status is Joined. If you get a '500 Internal Server Error' response, that would indicate Not Joined.
https://developer.cisco.com/docs/identity-services-engine/v1/#!activedirectory
Example:
{
"OperationAdditionalData" : {
"additionalData" : [
{
"name" : "domain",
"value" : "{{ad_domain_name}}"
},
{
"name" : "filter",
"value" : "*Domain Computers"
}
]
}
}
You could also submit a request for this to be added to the API via https://cs.co/ise-feedback.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide