Create security group in active directory using powershell in domain controller windows server 2019 and add security group to sharepoint site.
Active Directory
SharePoint search results found for Farm account not for normal users
When doing a search, using the farm account, you get search results, but when a “Normal” user does a search, they did not get any results.
Go through the article in detail for error and solution.
PowerShell Script to get all the Active Directory groups in your SharePoint Farm
Get all the Active Directory groups in your SharePoint Farm