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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

How can I use Application Insights and D365 F&O Telemetry to monitor 502 errors

(2) ShareShare
ReportReport
Posted on by 40
Is there a way to capture how often the AOS servers are crashing. A number of users have notified us of receiving 502 or 504 errors when trying to log onto D365 F&O. I am trying to determine the cause of the crashes.
Categories:
I have the same question (0)
  • Suggested answer
    Anton Venter Profile Picture
    20,346 Super User 2025 Season 2 on at
    Hi,
     
    This should help, see link below. The article mentions how to setup Application Insights for D365 F&O. I have not done this yet and therefore cannot comment much about it. In case you are not aware, there is some logging information available for each environment in LCS.
     
    Monitoring and telemetry overview
  • Data Chappie Profile Picture
    40 on at
    I should have mentioned that we have already enabled the Telemetry and it is streaming to Azure Application Insights.  What isn't so obvious is  the KQL query I need to use to find the AOS crashes. I have a sneaky suspicion it isn't capturing this type of exception. However Microsoft themselves are able to find this information when I raise a Support ticket.
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at
    Hi Data Chappie,
     
    Not all telemetry is currently sent to Application Insights. Microsoft is moving more and more LCS environment monitoring features to Application Insights. I'm not sure what exact errors are moved already. At least, using LCS environment monitoring, you can see activity for the SQL and AOS workloads.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans