web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error in outbound recurring integration

(0) ShareShare
ReportReport
Posted on by 50

Hi all,

I am trying to PoC a recurring integration scenario and mocking the external component with Postman. I am using a trial F&O environment.

I have successfully set up the Azure AD app (also using it for OData calls and it works perfectly), I have also successfully set up the export data project and the files are generated and seen via F&O.

However, when I try to download the file, the following happens:

1. I can successfully shoot the /dequeue call and I get the download location in the response

2. I can successfully check the message status with the .GetMessageStatus call

3. ... but when I try to download the file with the downloadLocation link, I get an "Error in recurring outbound" exception with a vague stack trace (Postman classifies this as 500 Internal Server Error).

Has anyone encountered this?

{
    "Message": "An error has occurred.",
    "ExceptionMessage": "Error in recurring outbound",
    "ExceptionType": "Microsoft.Dynamics.Ax.Xpp.ErrorException",
    "StackTrace": "   at Microsoft.Dynamics.Platform.Integration.Services.WebApi.Connector.ConnectorExceptionHandlingAttribute.OnException(HttpActionExecutedContext actionExecutedContext)\r\n   at System.Web.Http.Filters.ExceptionFilterAttribute.OnExceptionAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Tracing.Tracers.ExceptionFilterAttributeTracer.<>c__DisplayClass4.<b__1>d__6.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Tracing.ITraceWriterExtensions.d__24.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ExceptionFilterAttribute.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Tracing.Tracers.HttpControllerTracer.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Tracing.ITraceWriterExtensions.d__18`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()"
}

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    306,294 Super User 2026 Season 1 on at

    Hi Stanislaw,

    What exactly do you refer to when you talk about a trial environment? Is this the 30-day trial or do you have an own environment deployed via an LCS project?

    If it is the trial which will expire, there is no support as the Dynamics 365 application runs on the Microsoft tenant. Setting up an app registration in your tenant is not working then.

  • S. Juzwicki Profile Picture
    50 on at

    Hi Andre,

    Yes, this is the 30-day trial, I do not have a full LCS deployment. However we do have Azure AD for other workloads and I have been able to configure AAD app registration n our own tenant and use it for simple OData calls (like GETting or POSTing to specific entities to retrieve or create data in F&O). I can also use this app to run the /dequeue call without any issue.

    (... unless there is some other component that only works with proper LCS deployments)

    Thanks,

    Stan

  • Verified answer
    S. Juzwicki Profile Picture
    50 on at

    Ok, so it actually fixed itself. I have provisioned a different trial environment (still a MS-managed 30-day trial) and on this new one it works without any issue at all. So it must have been a weird error on a specific environment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 410 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 390

#3
Martin Dráb Profile Picture

Martin Dráb 262 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans