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

Community site session details

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

Azure Application insights logging from new Commerce SDK.

(0) ShareShare
ReportReport
Posted on by

Hi All,


In D365FO, we use Retail and Commerce Module.

We are using Azure Application Insights logging using RetailSDK and it's all working fine and we've followed the below MS Documentation. 

https://learn.microsoft.com/en-us/dynamics365/commerce/dev-itpro/commerce-application-insights

However, This documentation explains the use of this logging with the RetailSDK which is now going to be obsolete in Oct-2023 and won't be supported by MS anymore. For this logging, We used K:\RetailSDK\Assets\CommerceRuntime.Ext.config file where we store the Instrumentation key for the Azure Applicaiton Insights.

We have recently migrated to the new Commerce SDK. We used the visual studio solution from the GitHub repository and it doesn't contain any config file where we can store Instrumentation Key of the Azure Application Insights. When we build this new Commerce SDK solution, it generates the CommerceRuntime.Ext.config but we are not sure how to place Instrumentation Key in before it generates this package.

Any help on this would be much appreciated. Thanks.

I have the same question (0)
  • Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: Azure Application insights logging from new Commerce SDK.

    Hi Vikky, I'm not sure about RetailSDK but MS has released Monitoring and Telemetry Feature in 10.0.32 where we specify the InstrumentationKey for Application Insights in D365FO form.

    samuelardilacarreno.com/.../

    pastedimage1684469261174v1.png

  • VRD Profile Picture
    on at
    RE: Azure Application insights logging from new Commerce SDK.

    Hi Mohit,

    Thanks for your reply.

    Yes. I have looked at this and used it on development box to understand this feature. It is something that you can log using X++ from the dynamics application to Azure app insights.

    We want to log information from the CommerceSDK which is C# application provided by MS on GitHub and we are not sure where we can place the instrumentation key. In case of RetailSDK, we had CommerceRuntime.Ext.Config file at K:/RetailSDK/Assets/ path and our Commerce Runtime extensions was reading the key from this config file.

    But it seems there is no such config file present in the Visual studio solution provided by MS on GitHub.

    However, once we build the package using Visual studio, it generates this config file with the package but obviously it would not contain our instrumentation key in it unless we manually place it in which is a kind of dirty solution.

    - Vikky

  • VRD Profile Picture
    on at
    RE: Azure Application insights logging from new Commerce SDK.

    Any one used Azure Application Insights Logging from new Commerce SDK extensions?

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,029

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 582 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans