Member group users are not picking up by primary group

Reequipment : share a specific folder with multiple ad groups.

todo so I can create one ad group named “main” and added other groups as a member group(sup groups) From AD. and share the nextcloud folder in to “main” group.

Issue : Nextcloud is not picking up the member groups and share the folder with users.

Is there any solution for this?

Thank you