RE: When using current user e-mail functionality in Business Central On-Prem, error 'Access denied. Check Credentials and try again.'
Hello Marco,
I've tried to update redirect and secret password but nothing changed.
Thaht is the error from Event Viewer:
The description for Event ID 701 from source MicrosoftDynamicsNavServer$BC190 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Server instance: BC190
Category: Email
ClientSessionId: 0a0838f9-db1b-4f08-89c6-bd2984534449
ClientActivityId: e592efbf-99d7-9f47-933b-1f34ac882c52
ServerSessionUniqueId: fe2784d6-566b-4a8a-82d3-d44b4a33db87
ServerActivityId: e4bd303e-fd91-43a9-b8ec-87c7e8db8ee6
EventTime: 04/13/2022 07:39:52
Message Could not send the email {3E85BB83-0B43-4F8E-B70B-198B6DAF0B98} because of the following error: Use ERROR with a text constant to improve telemetry details. Call stack: "Email - Outlook API Client"(CodeUnit 4508).ProcessErrorMessageResponse line 4 - Email - Outlook REST API by Microsoft\"Email - Outlook API Client"(CodeUnit 4508).SendMailSingleRequest - Email - Outlook REST API by Microsoft\"Email - Outlook API Client"(CodeUnit 4508).SendEmail - Email - Outlook REST API by Microsoft\"Email - Outlook API Helper"(CodeUnit 4509).Send line 11 - Email - Outlook REST API by Microsoft\"Current User Connector"(CodeUnit 4500).Send line 4 - Email - Current User Connector by Microsoft\"Send Email"(CodeUnit 8890).OnRun(Trigger) line 8 - System Application by Microsoft\"Email Dispatcher"(CodeUnit 8888).OnRun(Trigger) line 30 - System Application by Microsoft\"Email Impl"(CodeUnit 8900).Send line 42 - System Application by Microsoft\"Email Impl"(CodeUnit 8900).Send line 2 - System Application by Microsoft\"Email Editor"(CodeUnit 8906).SendOutbox line 7 - System Application by Microsoft\"Email Editor"(Page 13)."Send - OnAction"(Trigger) line 8 - System Application by Microsoft\.
ProcessId: 7932
Tag: 0000CTP
ThreadId: 61
CounterInformation:
CustomParameters: {"Connector": "Current User","EmailMessageID": "3E85BB83-0B43-4F8E-B70B-198B6DAF0B98","EmailAccountID": "3199B20B-A19A-4467-9484-B9DF25C64ABB","Category": "Email","ErrorText": "Use ERROR with a text constant to improve telemetry details","ErrorCallStack": "\"Email - Outlook API Client\"(CodeUnit 4508).ProcessErrorMessageResponse line 4 - Email - Outlook REST API by Microsoft\\\"Email - Outlook API Client\"(CodeUnit 4508).SendMailSingleRequest - Email - Outlook REST API by Microsoft\\\"Email - Outlook API Client\"(CodeUnit 4508).SendEmail - Email - Outlook REST API by Microsoft\\\"Email - Outlook API Helper\"(CodeUnit 4509).Send line 11 - Email - Outlook REST API by Microsoft\\\"Current User Connector\"(CodeUnit 4500).Send line 4 - Email - Current User Connector by Microsoft\\\"Send Email\"(CodeUnit 8890).OnRun(Trigger) line 8 - System Application by Microsoft\\\"Email Dispatcher\"(CodeUnit 8888).OnRun(Trigger) line 30 - System Application by Microsoft\\\"Email Impl\"(CodeUnit 8900).Send line 42 - System Application by Microsoft\\\"Email Impl\"(CodeUnit 8900).Send line 2 - System Application by Microsoft\\\"Email Editor\"(CodeUnit 8906).SendOutbox line 7 - System Application by Microsoft\\\"Email Editor\"(Page 13).\"Send - OnAction\"(Trigger) line 8 - System Application by Microsoft\\"}
GatewayCorrelationId:
The message resource is present but the message was not found in the message table