Get the App
SLTechnology News&Howtos  ›  Servers  › 

S4B Storage Service Event 32054 error handling

Shulou Source: shulou.com Published: 2022-06-03 04:25:12 09月22日 Update

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=-> 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.Proce***esponse ()

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 (List 1 smtpAddresses,List 1 settings, Nullable 1 requestedVersion, Uri& autodiscoverUrl)

At Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetSettings [TGetSettingsResponseCollection,TSettingName] (List 1 identities,List 1 settings, Nullable 1 requestedVersion, GetSettingsMethod 2 getSettingsMethod, Func 1 getDomainMethod)

At Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings (List 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.

Solution:

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-CsOAuthConfigurationExample: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

Tags: Method treatment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Huawei Docker Redmi Shulou Technology