It looks like the AD-GetUser (and probably the AD-GetGroup) is not thread safe...
The error message:
"invalid enumeration context." appears even if page size and timeout etc... are properly set.
I managed to reproduce it with a recon on 5 users.
I suspect some thread safety issue.
Needs to be investigated. (runspace pool or not, pool size etc...)
Found this recently: