You are viewing limited content. For full access, please sign in.

Question

Question

The test email failed because: Authentication unsuccessful [LFF2006-EmailTestFailed]

asked two days ago Show version history

Update for app version:

Laserfiche Forms Professional Version 12.0.2503.10378

I've went through, and made sure the STMP authorization settings were enabled for the mailbox we are going to use. And which ever settings GPT had me check. Any advice is appreciated.

 

Used this as a refrence. https://doc.laserfiche.com/laserfiche.documentation/12/userguide/en-us/content/config-forms-email-settings.htm?Highlight=365

The test email failed because: Authentication unsuccessful [MW4PR04CA0265.namprd04.prod.outlook.com 2025-05-17T19:33:56.523Z 08DD957126DA5A18] [LFF2006-EmailTestFailed]

Details:
URL: /FormsConfig/Configuration/OutgoingEmailTest
Error: EmailTestFailed
Date: 5/17/2025 12:33:56 PM (Pacific Standard Time)
HTTP Status Code: 400
Business Process ID: 0

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: The test email failed because: Authentication unsuccessful [MW4PR04CA0265.namprd04.prod.outlook.com 2025-05-17T19:33:56.523Z 08DD957126DA5A18] [LFF2006-EmailTestFailed]
   at FormsModel.SharedContracts.RoutingEngineServiceProxy.<TestEmailNotification>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at FormsConfig.Controllers.ConfigurationController.<OutgoingEmailTest>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass8_0.<BeginInvokeAsynchronousActionMethod>b__1(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__4()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult)

Inner exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]
Message: Authentication unsuccessful [MW4PR04CA0265.namprd04.prod.outlook.com 2025-05-17T19:33:56.523Z 08DD957126DA5A18]
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   at System.ServiceModel.Channels.ServiceChannelProxy.TaskCreator.<>c__DisplayClass6_0.<CreateTask>b__0(IAsyncResult asyncResult)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at FormsModel.SharedContracts.RoutingEngineServiceProxy.<TestEmailNotification>d__10.MoveNext()

The test email failed because: Authentication unsuccessful [MW4PR04CA0265.namprd04.prod.outlook.com 2025-05-17T19:33:56.523Z 08DD957126DA5A18] [LFF2006-EmailTestFailed]

0 0

Replies

replied one day ago

Hi Michael, which version of Forms did you use?

If you are on Forms 11 Update 5 or before, there was a known bug that Microsoft 365 OAuth2.0 authorize would fail if azure ad tenant is set to require admin consent for application. The workaround was to enable "Allow user consent for apps" following this link https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-user-consent?pivots=portal

The bug was fixed in Forms 12.

 

2 0
replied one day ago Show version history

Greetings, Rui

My apologies for not posting it. We are running the current spring update for Laserfiche. 

Laserfiche Forms Professional Version 12.0.2503.10378

I will look into this though and see if it will fix our issue. I appreciate it!

 

0 0
replied 8 hours ago

Quick update. Workflow is happy, and was able to authenticate. But forms is still not accepting it. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.