No button "Sync LDAP group to Keycloak"

Hello. I add group-ldap-mapper into User Federation but Sync button isn’t shown

Keycloak v.20.0

Hello,

Click “save” and fresh the Browser tab. I’m using keycloak-20.0.1.

Thank you, gsmith.

It is very strange that I have a different user interface in Keycloak. Was your screenshot taken on the User Federation settings page? Because my page looks like that

Yeah, this server have been upgrade from 8.0, so I kept my interface using Quarkus

EDIT:

Yes…

Thanks a lot, gsmith.

Very interesting where this Sync button in new interface. Maybe, someone else can answer me/

I have the same issue, the new interface doesn’t seem to have a group sync button.

Only way around this I have found is creating the group in keycloak, then adding a user to it. (This seems to sync the group into AD/LDAP).

Not sure how to go about the other way of creating the group in AD/LDAP and getting it added into keycloak. (possibly add a user to it in AD/LDAP then sync the users? it might work?)

I just switched to old theme keycloak and button is shown now.
Groups sync successfully. But members does not shown in groups with error “Error! No response from server.”

Maybe someone know what problem is?

But if we look at the user’s group tab, then everything is OK there

@paulkilla @mazahaka567

I installed a fresh Keycloak server to find sync users for you :wink: , Once you enable LDAP you should find it in the upper right side

EDIT: After playing around with the new V2 UI, I might upgrade. Looks kool

Thanks gsmith. This option sync only users not groups. If you can found how sync groups in new UI it will be great.

And now I have another problem with Goups members

I’m working on it :laughing: Kind run into a issue list all users “*”

Same configurations from my Old Web UI but this new v2 UI doesn’t seem to like it.

@mazahaka567

Been looking over the documentation for these error/s popping up. I hit test connection and the web UI crashed. Not sure what’s going on , think I broke it :laughing: Just and FYI I’m using Production setup with Quarkus, Doc’s seamed kind of funky, meaning I’m getting 404 when I click on Latest Versions.

The doc dudes must be working on it. Thankfully my Keycloak -20.0.1 with the old Web UI does not have this issue.

You’re lucky man. I hope that it will be fix soon

1 Like

@mazahaka567
quick question, Under your LDAP connection what does you mapper look like? I did not find a mapper for groups. I did found something when creating a mapper for Groups.

My mapper look like:

It looks like the new Keycloak V2 UI has some stuff missing… e.g. sync groups.

I have a big issue where if I delete a group in Keycloak, it doesn’t delete it from LDAP/AD either now… and then when I sync users, the group gets re-added because a user references it… so now I have to login directly to my AD to delete groups and then delete from keycloak… not ideal.

Thinking might just be easier to go back to the old UI

Realising this is very old, but that this post is a major hit with google: the Sync groups items are under User federation|mappers - where you need to create a groups mapper, eg: