After upgrade from 8.2.1.176 to 9.0.8.9 on-premise. Sys Admin User tries to create a new user by navigating to Security > Users > New button. This action throws an exception (see complete exception below). This org has been migrated into multiple DEV/STAGE environments with no problem. This error only happens in PROD.
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Requested value 'null' was not found.
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at Microsoft.Crm.ObjectModel.DefaultEmailSettings.InitializeDefaultEmailSettings(Guid defaultEmailServerProfileId, String defaultEmailSettings, ExecutionContext context, Boolean isProvisioning)
at Microsoft.Crm.ObjectModel.DefaultEmailSettings..ctor(ExecutionContext context, Boolean isProvisioning)
at Microsoft.Crm.ObjectModel.DefaultEmailSettingsFactory.GetDefaultEmailSettings(Nullable`1 regardingObjectTypeCode, ExecutionContext context, Boolean isProvisioning)
at Microsoft.Crm.Application.Components.PageHandlers.EmailUtility.GetDefaultEmailSettings(Int32 entityTypeCode)
at Microsoft.Crm.Application.Components.EntityPageHeaders.SystemUserConfigHeader.SetDefaultEmailSettings(PageResourceManager header)
at Microsoft.Crm.Application.Components.EntityPageHeaders.SystemUserConfigHeader.UpdateConfigHeaderForEntityRecord(PageResourceManager header, Entity entity)
at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #38832BB9Detail:
<OrganizationServiceFault xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../Contracts">
<ActivityId>fba1a86f-6991-4e92-b55a-0b8efefbafbd</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ArgumentException: Requested value 'null' was not found.
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at Microsoft.Crm.ObjectModel.DefaultEmailSettings.InitializeDefaultEmailSettings(Guid defaultEmailServerProfileId, String defaultEmailSettings, ExecutionContext context, Boolean isProvisioning)
at Microsoft.Crm.ObjectModel.DefaultEmailSettings..ctor(ExecutionContext context, Boolean isProvisioning)
at Microsoft.Crm.ObjectModel.DefaultEmailSettingsFactory.GetDefaultEmailSettings(Nullable`1 regardingObjectTypeCode, ExecutionContext context, Boolean isProvisioning)
at Microsoft.Crm.Application.Components.PageHandlers.EmailUtility.GetDefaultEmailSettings(Int32 entityTypeCode)
at Microsoft.Crm.Application.Components.EntityPageHeaders.SystemUserConfigHeader.SetDefaultEmailSettings(PageResourceManager header)
at Microsoft.Crm.Application.Components.EntityPageHeaders.SystemUserConfigHeader.UpdateConfigHeaderForEntityRecord(PageResourceManager header, Entity entity)
at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #38832BB9</Message>
<Timestamp>2020-02-25T18:59:48.3497987Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault>
<ActivityId>fba1a86f-6991-4e92-b55a-0b8efefbafbd</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d3p1="">schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.ArgumentException: Requested value 'null' was not found.</Message>
<Timestamp>2020-02-25T18:59:48.3497987Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</InnerFault>
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>