Group Sync not populating users in groups AD


WE have upgraded from owncloud 8 to nextcloud latest version

My issue is that since upgrading all the groups appear in nextcloud under admin users

All users can see them when they want to share with a group

issue is that under admin users all of the groups are there but most of them have no users associated to them

can someone advise as to where we can check it