
MichaelG.50941 (Customer) asked a question.
Hello, I am unable to fetch AD attributes of synced users using the API. How can that be done, please?
I am particularly interested in objectSid and objectGuid. They are visible in the portal, but not in the API. This might be a gap in the API and thus a feature request.
THX.
(Question reposted from https://devforum.okta.com/t/getting-ad-attributes-through-the-api/34524/5 , based on feedback.)

Hello @MichaelG.50941 (Customer) Thank you for posting on our Community page!
You can get these values though API, but you need to call the App user profile rather then the normal user Get user API.
Please see our doc as well: https://developer.okta.com/docs/api/openapi/okta-management/management/tag/ApplicationUsers/#tag/ApplicationUsers
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.