# Created LDAP Federation Component Programmatically But Not Visible in Realm's UI

**URL:** <https://forum.keycloak.org/t/created-ldap-federation-component-programmatically-but-not-visible-in-realms-ui/31102>\
**Category:** Miscellanaeous\
**Tags:** user-federation, ldap\
**Created:** [September 17, 2025, 9:45am UTC](https://forum.keycloak.org/t/created-ldap-federation-component-programmatically-but-not-visible-in-realms-ui/31102 "2025-09-17T09:45:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![littleratinjail](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@littleratinjail](https://forum.keycloak.org/u/littleratinjail)\
**Post date:** [September 17, 2025, 9:45am UTC](https://forum.keycloak.org/t/created-ldap-federation-component-programmatically-but-not-visible-in-realms-ui/31102/1 "2025-09-17T09:45:02Z")

</div>

Hello, I’m trying to create LDAP user federation connection programmatically but I’m having issues with having it display in Keycloak UI.

**Situation:**

- I create the component correctly because I receive a success (HTTP 200) response and the component ID \*
- The same LDAP configuration works perfectly when I create the LDAP manually through the Keycloak UI
- However, programmatically created user federation components don’t appear in the User Federation section of the Keycloak UI

**Details:**

- Using REST API POST to /admin/realms/{realm}/components
- LDAP connection details are valid (tested manually)

**What I’ve Tried:**

- Reloading the Keycloak UI page
- Using the keycloak admin client library
- Browser cache clearing and different browsers

Can someone help me out? Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/keycloak/original/1X/eb342909d95cf32cbb7517610022c6a0046a9ffb.png) [@system](https://forum.keycloak.org/u/system)\
**Post date:** [March 16, 2026, 9:45am UTC](https://forum.keycloak.org/t/created-ldap-federation-component-programmatically-but-not-visible-in-realms-ui/31102/2 "2026-03-16T09:45:51Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
