During configuration of a new SharePoint 2019 farm I got an error in PowerShell Cmdlet New-SPConfigurationDatabase
.
The given key was not present in the directory.
I found some hints… E.g.: http://alstechtips.blogspot.com/2014/04/sharepoint-2013-given-key-was-not.html
I checked the farm account used with the Cmdlet.
I found that the farm account did not have “Read” permission for “All Authenticated Users”.
After granting this permission the Cmdlet succeeded.