check out MSAD configuration once
Are you trying to search groups or users ?
Additionally were there any changes made to the system after which you are not able to view the groups/users?
Under MSAD User configuration check for Logon Attribute and try putting in samAccountName
Under MSAD Group configuration check if you have Support Groups option checked.
Please mark answers as helpful or correct for others to find them easily.