Users Cannot Connect Outlook 2021 to Exchange 2019

Audra 0 Reputation points
2024-07-08T14:05:33.5766667+00:00

Every time a user tries to connect a new account to Outlook via Exchange, the following event occurs:

SERVERNAME 3002 Error MsExchange BackEndRehydration Application 7/8/2024 9:55:11 AM

Protocol /Autodiscover failed to process request from identity NT AUTHORITY\SYSTEM. Exception: System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthServiceStaticConfig' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthServiceHelper' threw an exception. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.LiveIdBasicAuthenticationCountersInstance..ctor(String instanceName, LiveIdBasicAuthenticationCountersInstance autoUpdateTotalInstance)

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.LiveIdBasicAuthenticationCounters.CreateInstance(String instanceName, PerformanceCounterInstance totalInstance)

at Microsoft.Exchange.Diagnostics.PerformanceCounterMultipleInstance.GetInstance(String instanceName, PerformanceCounterInstance totalInstance)

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.LiveIdBasicAuthenticationCounters.GetInstance(String instanceName)

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthServiceHelper..cctor()

--- End of inner exception stack trace ---

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthServiceHelper.get_PerformanceCounters()

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthServiceStaticConfig..cctor()

--- End of inner exception stack trace ---

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthServiceStaticConfig.get_Config()

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.CacheReader..ctor(ConfigWrapper authConfig, RootOrgContainerIdWrapper rootOrgWrapper)

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.CacheReader.GetInstance(ConfigWrapper authConfig, RootOrgContainerIdWrapper rootOrgWrapper)

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthPolicyRepo.GetUserPolicy(String userKey, Int32 traceId, Int32& userPolicy, HttpApplication httpApplication, IRecipientSession recipientSession, IConfigurationSession configSession, ConfigWrapper config, RootOrgContainerIdWrapper rootOrgWrapper)

at Microsoft.Exchange.Security.Authentication.FederatedAuthService.AuthPolicyEvaluator.IsBasicAuthAllowed(String userKey, String protocolName, Int32 traceId, HttpApplication httpApplication, IRecipientSession recipientSession, IConfigurationSession configSession, ConfigWrapper config, RootOrgContainerIdWrapper rootOrgWrapper)

at Microsoft.Exchange.Security.Authentication.BackendRehydrationModule.IsLegacyAuthAllowed(HttpContext httpContext)

at Microsoft.Exchange.Security.Authentication.BackendRehydrationModule.OnAuthenticateRequest(Object source, EventArgs args).

Can someone please assist with what's going on? We haven't applied any new updates nor do we appear to be out of memory.

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,228 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,626 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Hu-MSFT 3,910 Reputation points Microsoft Vendor
    2024-07-09T06:05:22.8133333+00:00

    Hi,

    Welcome to the Microsoft Q&A forum.

    Typically, this issue occurs if Exchange Server computer is added to a group that's denied the user right. By default, the following groups are denied the user right:

    • Domain Admins
    • Schema Admins
    • Enterprise Admins
    • Organization Management

    To resolve the issue, you can remove the Exchange Server computer from these groups. You can check this via running the following command:

    gpresult /scope computer /r

    User's image

    Also, you can check and change the configuration in ADUC:User's image

    And restart the Exchange Server after removing.

    Please feel free to contact me for any updates. And if this helps, don’t forget to mark it as an answer.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.