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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Odata action in LCS

(0) ShareShare
ReportReport
Posted on by 574

Hi,

 

We have an integration calling a D365 Finance & Operations OData action, for example:

Entity1/Microsoft.Dynamics.DataEntities.Action1

 

[SysODataActionAttribute('Action1', false)]

public static str Action1(

    str        _id1,

    DataAreaId _dataAreaId)

 

We noticed that when D365 returns a response, the response contains the "ms-dyn-aid" header. We can use this value to find the corresponding Activity ID in LCS Environment Monitoring and trace the request on the D365 side.

 

However, our integration has a client-side timeout. If the client stops waiting before D365 finishes processing the request, it does not receive the response and therefore does not receive the "ms-dyn-aid", even though the request may still be processing in D365.

 

In this scenario, we would like to generate our own unique ID for each request/attempt and send it with the OData request. Is there a supported way to have this ID captured in D365 telemetry so that we can search for it in LCS Environment Monitoring and identify the corresponding D365 Activity ID?

 

I previously tested sending a custom request identifier with the request, but I was unable to find it in LCS Environment Monitoring.

 

Additionally, in LCS Environment Monitoring, the RequestUrl shows Entity1 and Action1, but it does not show the method parameter values/request body, so we cannot identify which specific entity record the request relates to. Is there a supported way in LCS Environment Monitoring to identify the parameter values or specific entity record associated with an OData action request?

Categories:
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    307,301 Super User 2026 Season 2 on at

    Hi Deldyn,

    LCS environment monitoring will be decommissioned. Some telemetry has already been deprecated from LCS. There is now an option to enable telemetry via Application Insights. You can add custom event being sent. See also: Add custom telemetry signals - Finance & Operations | Dynamics 365 | Microsoft Learn
    Are you able to change the settings on the client for another timeout?

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 August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 523 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 408 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 354

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans