Forum
Selamlar,
Lync-Exch entegrasyonu yapmaya calisiyorum, test baglantisinda hata aliyorum. Web de epey aradim ama bir sonuca varamadim. Yardimci olabilirseniz cok sevinirim.
Exchange ortaminda 4 CAS ve 4 MBX server var. Lync ortaminda 1 Lync Enterprise Front End Server var. Tum DNS girisleri tanimlanmistir. Exchange tarafinda yapilan;
Get-ClientAccessServer | fl AutoDiscoverServiceInternalUri
AutoDiscoverServiceInternalUri : https://webmail.domain.net/Autodiscover/Autodiscover.xml
"C:\Program Files\Microsoft\Exchange Server\V15\Scripts\Configure-EnterprisePartnerApplication.ps1 -AuthMetaDataUrl 'https://lyncpool.ornek.local/metadata/json/1' -ApplicationType Lync"
iisreset (tum CAS ve MBX server lar icin)
Lync tarafinda ise;
Set-CsOAuthConfiguration -Identity global -ExchangeAutodiscoverUrl " https://autodiscover.domain.net/autodiscover/autodiscover.svc "
New-CsPartnerApplication -Identity Exchange -ApplicationTrustLevel Full -MetadataUrl " https://autodiscover.domain.net/autodiscover/metadata/json/1 "
komutlari uygulandi.
Test etmek icin asagidaki komut Lync PS de calistirildi fakat basarisiz oldu;
Test-CsExStorageConnectivity -SipUri "isim[email protected]"
Test failed.
Tesekkurler.
PS C:\Users\lyncadmin> Test-CsExStorageConnectivity -SipUri "[email protected]" -verbose
VERBOSE: Successfully opened a connection to storage service at localhost using
binding: NetNamedPipe.
VERBOSE: Create message.
VERBOSE: Execute Exchange Storage Command.
VERBOSE: Processing web storage response for ExCreateItem Failure.,
result=ErrorEwsAutodiscover, activityId=66f7a50b-8623-412a-accb-8b48100a953b,
reason=ExchangeAutodiscoverException: code=ErrorEwsAutodiscover,
reason=GetUserSettings failed, [email protected],
Autodiscover
Uri= https://autodiscover.domain.net/autodiscover/autodiscover.svc,
Autodiscover WebProxy=<NULL> --->
Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request
failed. The request was aborted: The request was canceled. --->
System.Net.WebException: The request was aborted: The request was canceled.
---> Microsoft.Rtc.Internal.Storage.StoreConfigException: No issuers are
accepted by the target server, expected 1-many accepted Issuer(s)
at
Microsoft.Rtc.Internal.Storage.Security.OAuthTokenProcessor.GetIssuer(StoreCont
ext ctx, OAuthIssuerMetadata[] acceptedIssuers, Guid srcTenant, String&
issuerMetadata, Uri& issuerEndpointUri, String& issuerAudience)
at
Microsoft.Rtc.Internal.Storage.Security.OAuthTokenProcessor.CreateAppActAsToken
(StoreContext ctx, Guid tenantId, String smtpAddress, String userSid, String
userUpn, String destinationAppId, String realmFromChallenge, String
destinationHost, OAuthIssuerMetadata[] trustedIssuersFromChallenge)
at
Microsoft.Rtc.Internal.Storage.Security.OAuthTokenProcessor.CreateAppActAsToken
(StoreContext ctx, Guid tenantId, String smtpAddress, String userSid, String
userUpn, String destinationAppId, String realmFromChallenge, String
destinationHost, String trustedIssuersFromChallenge)
at
Microsoft.Rtc.Internal.Storage.Security.OAuthCredential.Authenticate(HttpAuthen
ticationChallenge challenge, WebRequest webRequest)
at
Microsoft.Rtc.Internal.Storage.Security.OAuthAuthenticationModule.Authenticate(
String challengeStr, WebRequest request, ICredentials credentials)
at System.Net.AuthenticationManager.Authenticate(String challenge,
WebRequest request, ICredentials credentials)
at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest
httpWebRequest, ICredentials authInfo)
at System.Net.HttpWebRequest.CheckResubmitForAuth()
at System.Net.HttpWebRequest.CheckResubmit(Exception& e, Boolean&
disableUpload)
at System.Net.HttpWebRequest.DoSubmitRequestProcessing(Exception&
exception)
at System.Net.HttpWebRequest.ProcessResponse()
at System.Net.HttpWebRequest.SetResponse(CoreResponseData coreResponseData)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at
Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebSer
vices.Data.IEwsHttpWebRequest.GetResponse()
at
Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverRequest.InternalExecute
()
--- End of inner exception stack trace ---