I am not using Docker but have the same issue. Looking at the event log is not helping much but this is the 2 errors in event log. I am trying to get a v22 install up using OpenID with AAD. I had AAD working fine with the V20 but this was not using OpenID. I followed the details in Configure Azure Active Directory Authentication with OpenID Connect - Business Central | Microsoft Learn and Authenticating Business Central Users with Azure Active Directory - Business Central | Microsoft Learn and ended up with the "An error occurred" on the access to the BC
Category: Microsoft.Dynamics.Framework.UI.WebBase.ClientExceptionStateProcessingStrategy
EventId: 0
ConnectionId: 0HMR5PIQ62KUN
RequestId: 0HMR5PIQ62KUN:00000004
RequestPath: /BC220/SignIn
ActionId: 46dffd0d-7a6d-4cb3-b539-5c15b375dd23
ActionName: Microsoft.Dynamics.Nav.WebClient.Controllers.AuthenticationController.SignIn (Prod.Client.WebCoreApp)
MemberName: TryToSendToTelemetry
FilePath: s:\repo\src\Platform\Client\Web\Prod.Client.WebBase\Exception\ClientExceptionStateProcessingStrategy.cs
LineNumber: 88
Exception:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Microsoft.Dynamics.Nav.Common.Http.HttpServiceClient.CallService[T](String requestUrl, HttpMethod method, Object content) in s:\repo\src\Platform\ClientServerShared\Prod.Common\Http\HttpServiceClient.cs:line 96
at Microsoft.Dynamics.Nav.Client.ClientConfigurationClient.GetClientConfiguration(String tenantId, String applicationId) in s:\repo\src\Platform\Client\Shared\Prod.Client.ServiceConnection\HttpService\ClientConfigurationClient.cs:line 39
at Microsoft.Dynamics.Nav.Client.Web.ClientServerConfigurationOperation.GetClientConfiguration(RequestContext requestContext) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\ClientServerConfigurationOperation.cs:line 55
at Microsoft.Dynamics.Nav.Client.Web.WebClientSettingsProvider.RetrieveClientConfiguration() in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\WebClientSettingsProvider.cs:line 103
at Microsoft.Dynamics.Nav.Client.Web.WebClientSettingsProvider.TryGetSettingsValue[T](String settingName, T& value) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\WebClientSettingsProvider.cs:line 49
at Microsoft.Dynamics.Nav.Client.Web.ClientServerSettingsProvider.get_ACSUri() in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Session\ClientServerSettingsProvider.cs:line 207
at Prod.Client.WebCoreApp.Authentication.AcsAuthenticationProvider.EarlyAuthenticate(HttpContext context, AuthenticationActionResult& authenticationResult) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\session\Authentication\AcsAuthenticationProvider.cs:line 45
at Prod.Client.WebCoreApp.Authentication.TokenAuthenticationPairingProvider.EarlyAuthenticate(HttpContext context, AuthenticationActionResult& authenticationResult) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\session\Authentication\TokenAuthenticationPairingProvider.cs:line 51
at Microsoft.Dynamics.Nav.WebClient.Controllers.AuthenticationController.SignIn(String returnUrl) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\Controllers\AuthenticationController.cs:line 63
at lambda_method13(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
And before this I get
Error accessing Website BC220
Type: System.Net.Http.HttpRequestException
StatusCode: NotFound
Message: Response status code does not indicate success: 404 (Not Found).
Source: System.Net.Http
HResult: -2146233088
StackTrace:
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Microsoft.Dynamics.Nav.Common.Http.HttpServiceClient.CallService[T](String requestUrl, HttpMethod method, Object content) in s:\repo\src\Platform\ClientServerShared\Prod.Common\Http\HttpServiceClient.cs:line 96
at Microsoft.Dynamics.Nav.Client.ClientConfigurationClient.GetClientConfiguration(String tenantId, String applicationId) in s:\repo\src\Platform\Client\Shared\Prod.Client.ServiceConnection\HttpService\ClientConfigurationClient.cs:line 39
at Microsoft.Dynamics.Nav.Client.Web.ClientServerConfigurationOperation.GetClientConfiguration(RequestContext requestContext) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\ClientServerConfigurationOperation.cs:line 55
at Microsoft.Dynamics.Nav.Client.Web.WebClientSettingsProvider.RetrieveClientConfiguration() in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\WebClientSettingsProvider.cs:line 103
at Microsoft.Dynamics.Nav.Client.Web.WebClientSettingsProvider.TryGetSettingsValue[T](String settingName, T& value) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\WebClientSettingsProvider.cs:line 49
at Microsoft.Dynamics.Nav.Client.Web.ClientServerSettingsProvider.get_ACSUri() in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Session\ClientServerSettingsProvider.cs:line 207
at Prod.Client.WebCoreApp.Authentication.AcsAuthenticationProvider.EarlyAuthenticate(HttpContext context, AuthenticationActionResult& authenticationResult) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\session\Authentication\AcsAuthenticationProvider.cs:line 45
at Prod.Client.WebCoreApp.Authentication.TokenAuthenticationPairingProvider.EarlyAuthenticate(HttpContext context, AuthenticationActionResult& authenticationResult) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\session\Authentication\TokenAuthenticationPairingProvider.cs:line 51
at Microsoft.Dynamics.Nav.WebClient.Controllers.AuthenticationController.SignIn(String returnUrl) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\Controllers\AuthenticationController.cs:line 63
at lambda_method13(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
StackTrace:
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Microsoft.Dynamics.Nav.Common.Http.HttpServiceClient.CallService[T](String requestUrl, HttpMethod method, Object content) in s:\repo\src\Platform\ClientServerShared\Prod.Common\Http\HttpServiceClient.cs:line 96
at Microsoft.Dynamics.Nav.Client.ClientConfigurationClient.GetClientConfiguration(String tenantId, String applicationId) in s:\repo\src\Platform\Client\Shared\Prod.Client.ServiceConnection\HttpService\ClientConfigurationClient.cs:line 39
at Microsoft.Dynamics.Nav.Client.Web.ClientServerConfigurationOperation.GetClientConfiguration(RequestContext requestContext) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\ClientServerConfigurationOperation.cs:line 55
at Microsoft.Dynamics.Nav.Client.Web.WebClientSettingsProvider.RetrieveClientConfiguration() in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\WebClientSettingsProvider.cs:line 103
at Microsoft.Dynamics.Nav.Client.Web.WebClientSettingsProvider.TryGetSettingsValue[T](String settingName, T& value) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Services\Settings\WebClientSettingsProvider.cs:line 49
at Microsoft.Dynamics.Nav.Client.Web.ClientServerSettingsProvider.get_ACSUri() in s:\repo\src\Platform\Client\Web\Prod.Client.WebCommon\Session\ClientServerSettingsProvider.cs:line 207
at Prod.Client.WebCoreApp.Authentication.AcsAuthenticationProvider.EarlyAuthenticate(HttpContext context, AuthenticationActionResult& authenticationResult) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\session\Authentication\AcsAuthenticationProvider.cs:line 45
at Prod.Client.WebCoreApp.Authentication.TokenAuthenticationPairingProvider.EarlyAuthenticate(HttpContext context, AuthenticationActionResult& authenticationResult) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\session\Authentication\TokenAuthenticationPairingProvider.cs:line 51
at Microsoft.Dynamics.Nav.WebClient.Controllers.AuthenticationController.SignIn(String returnUrl) in s:\repo\src\Platform\Client\Web\Prod.Client.WebCoreApp\Controllers\AuthenticationController.cs:line 63
at lambda_method13(Closure , Object , Object[] )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)