Hello,
I don't believe you can directly query AD using ADFS. What you can probably do is have a set of user attributes as claims. Each time a user login and access your application, you will get all the values as claims in SAML response and you can extract the
values from the claims and update your backend app.
But a much easier way might be for you to query AD directly using LDAP tools/API and get that information.
Isaac Oben MCITP:EA, MCSE,MCC <a href="https://www.mcpvirtualbusinesscard.com/VBCServer/4a046848-4b33-4a28-b254-e5b01e29693e/interactivecard"> View my MCP Certifications</a>