Unified Communications Managed API を使用して Office Communication Server に接続しようとしています。自分のユーザーと、OCS を有効にした新しいユーザーを試しました。どちらのアカウントも Office Communicator クライアントに正常にログインできますが、API の使用に失敗します。ネットワーク資格情報を作成するときに、ドメイン\ユーザー名の形式でユーザー名を渡すと、次のエラーが発生します。
SupportedAuthenticationProtocols=Ntlm, Kerberos
Realm=SIP Communications Service
FailureReason=InvalidCredentials
ErrorCode=-2146893044
Microsoft.Rtc.Signaling.AuthenticationException: The log on was denied. Check that the proper credentials are being used and the account is active. ---> Microsoft.Rtc.Internal.Sip.AuthException: NegotiateSecurityAssociation failed, error: - 2146893044
ユーザー名でドメインを除外すると、次のエラーが発生します。
ResponseCode=404 ResponseText=Not Found
DiagnosticInformation=ErrorCode=4005,Source=OCS.mydomain.com,Reason=Destination URI either not enabled for SIP or does not exist