[Solved] Skype cmdlet Active Directory error -2147016672

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)

More about

How to configure Kerberos delegation (Microsoft Blog)

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s