Discovery Scan - manual scan got warning DSENG078W Warning retrieving Group
Symptom
The scan is successful when it is run on its schedule. If run manually, get warnings about ad groups.
Unable to DSENG078W Warning retrieving Group 'xxx' from 'mydomain.com' found on machine 'xxx.mydomain.com'. Warning: Unable to retrieve group information on machine xxx.mydomain.com. Reason: The remote procedure call failed and did not execute.
Environment
Privilege Cloud Discovery (New) Discovery (New) Discovery Scans
Cause
What's happening is that during a manual scan, multiple machines are scanned in parallel at the same time, causing a burst of simultaneous AD calls that briefly overloads the Domain Controller. We can actually see in the logs that two different machines hit this RPC error at the exact time, which confirms this is a concurrency issue. (you can see it in the downloaded zip file, in xxx_Errors.log)
The scheduled scan works because the thread timing happens to be more staggered, avoiding the burst.
The scan results are not affected all accounts are still discovered correctly across the full run.
Resolution
You can lower the MaxThreadNumber in DISCOVERYSCANS.ini / registry to reduce the number of machines scanned in parallel with a restart of management agent. That should stop the warnings from appearing on manual scans.