码迷,mamicode.com
首页 > 其他好文 > 详细

S4B Storage Service Event 32054报错处理

时间:2018-04-16 11:06:56      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:S4B

Skype For Business S4B Storage Service had an EWS Autodiscovery failure Event ID 32054

If you get the Error with Event ID:32054 which has details like below

Log Name: Lync Server
Source: LS Storage Service
Date: 10/6/2016 8:37:34 AM
Event ID: 32054
Task Category: (4006)
Level: Error
Keywords: Classic
User: N/A
Computer: ISTTURSFB-P01.infralib.com
Description:
Storage Service had an EWS Autodiscovery failure.

ExchangeAutodiscoverException: code=ErrorEwsAutodiscover, reason=GetUserSettings failed, smtpAddress=osman.shener@infralib.com, Autodiscover Uri=https://autodiscover.infralib.com/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(StoreContext 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.OAuthCredential.Authenticate(HttpAuthenticationChallenge challenge, WebRequest webRequest)
at Microsoft.Rtc.Internal.Storage.Security.OAuthAuthenticationModule.Authenticate(String challengeStr, WebRequest request, ICredentials credentials)
at System.Net.AuthenticationManagerDefault.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.WebServices.Data.IEwsHttpWebRequest.GetResponse()
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverRequest.InternalExecute()
— End of inner exception stack trace —
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverRequest.InternalExecute()
at Microsoft.Exchange.WebServices.Autodiscover.GetUserSettingsRequest.Execute()
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetUserSettings(L ist 1 smtpAddresses,List 1 settings, Nullable 1 requestedVersion, Uri& autodiscoverUrl)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetSettings[TGetSettingsResponseCollection,TSettingName](L ist 1 identities,List 1 settings, Nullable 1 requestedVersion, GetSettingsMethod 2 getSettingsMethod, Func 1 getDomainMethod)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(L ist 1 smtpAddresses,List 1 settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetSoapUserSettings(String smtpAddress,List 1 requestedSettings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(String userSmtpAddress, UserSettingName[] userSettingNames)
at Microsoft.Rtc.Internal.Storage.Exchange.ExchangeContext.SendGetUserSettingsRequest(StoreContext ctx, String smtpAddress)
— End of inner exception stack trace —
at Microsoft.Rtc.Internal.Storage.Exchange.ExchangeContext.SendGetUserSettingsRequest(StoreContext ctx, String smtpAddress)
at Microsoft.Rtc.Internal.Storage.Exchange.ExchangeContext.GetUserEwsSettings(StoreContext ctx, String smtpAddress, CacheMode cacheMode)

Cause: Autodiscovery Uri was not correctly configured or unreachable, that there is a problem with the Proxy, or other errors.
Resolution:
Check event details. Check autodiscovery Uri is properly configured and reachable. Check that proxy setting is properly configured and reachable. Validate Skype for Business to Exchange Autodiscovery configuration by following the trouble shooting guide. If problem persists, notify your organization’s support team with the event details.

解决方法:
This is caused by missing AutoDiscovery Uri information, you can check and define them by using the cmdlet called Get-CsOAuthConfiguration and Set-CsOAuthConfiguration

Example:

Getting the current configuration

This is caused by missing AutoDiscovery Uri information, you can check and define them by using the cmdlet called Get-CsOAuthConfiguration and Set-CsOAuthConfiguration

Example:

Getting the current configuration

PS C:\> Get-CsOAuthConfiguration

Identity : Global
PartnerApplications : {}
OAuthServers : {}
Realm :
ServiceName : 00000004-0000-0ff1-ce00-000000000000
ClientAuthorizationOAuthServerIdentity :
ExchangeAutodiscoverUrl :
ExchangeAutodiscoverAllowedDomains :


Adding values

Set-CsOAuthConfiguration -ExchangeAutodiscoverUrl "https://autodiscover.infralib.com/autodiscover/autodiscover.svc" -Realm "infralib.com" -ExchangeAutodiscoverAllowedDomains
"*.infralib.com"


Checking again

PS C:\> Get-CsOAuthConfiguration

Identity : Global
PartnerApplications : {}
OAuthServers : {}
Realm : infralib.com
ServiceName : 00000004-0000-0ff1-ce00-000000000000
ClientAuthorizationOAuthServerIdentity :
ExchangeAutodiscoverUrl :
ExchangeAutodiscoverAllowedDomains : *.infralib.com



To get more detail about Set-CSOAuthConfiguration cmdlet please visit https://technet.microsoft.com/en-us/library/jj204841.aspx , for Get-CSOAuthConfiguration : https://technet.microsoft.com/en-us/library/jj205155.aspx

S4B Storage Service Event 32054报错处理

标签:S4B

原文地址:http://blog.51cto.com/3032439/2103835

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!