Skype for Business 2019 installation error while preparing current forest

Enabled-CSAdForest Failed

Error: command execution failed: Active Directory operation failed on “dc.abc.com”. You cannot retry this operation: ” Directory object not found 000028D:NameErr: DSID-03100288, problem 2001(NO_OBJECT), data 0, best match of ‘CN=Services,CN=Configuration,DC=abc,DC=com’

Resolution: launch PowerShell as admin and run the following command
Enable-CsAdForest -GroupDomain abc.com -GroupDomainController dc.abc.com -GlobalCatalog dc.abc.com