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

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!