Context and error
This error happens when you use Skype For Business cmdlets in a remote PSSession.
Active Directory error "-2147016672" occurred while searching for domain controllers in domain "mydomain.com": "An operations error occurred. " + CategoryInfo : NotSpecified: (:) [Get-CsConferencingPolicy], ADTransientException + FullyQualifiedErrorId : Microsoft.Rtc.Management.ADConnect.ADTransientException,Microsoft.Rtc.Management.Internal.GetConferencingPolicyCmdlet
It is due to a double hop issue.
Resolution
Three possibilities:
- configure Kerberos delegation between all Skype servers on which you want to do PowerShell remoting with Skype For Business cmdlets and all domain controllers
- use the cmdlet directly in an RDP session connected to a Skype server
- install Skype Administrative tools on your local computer (recommended)