@Magicr Assuming that you have configured "Group base DN" property for LDAP Identity Provider and make sure that your group Base DN is correct because there could be a possibility that users and groups belongs to different DN.
Read here more about similar issue:https://experienceleaguecommunities....