You're right, standard Dataverse auditing provides a good overview of who accessed and changed records, but it doesn't inherently capture the full details of every Web API request, including payloads and specific error responses, in a readily accessible, out-of-the-box view.
However, there are several ways you can achieve more detailed logging and monitoring of your Web API requests, including failed ones and their payloads:
1. Leverage Azure Application Insights:
This is the most robust and recommended approach for comprehensive monitoring of your Dataverse Web API interactions.
Update
), and status code to identify failed requests and inspect their details.2. Implement Custom Logging within Your App User's Logic:
If you have control over the application code that's making the Web API calls using the app user, you can implement custom logging within your application.
3. Utilize Network Tracing Tools (for Debugging):
While not a long-term monitoring solution, network tracing tools can be invaluable for debugging Web API interactions in real-time.
4. Check Server-Side Tracing (Less User-Friendly for Web API):
Dataverse has server-side tracing capabilities that can log detailed information about platform operations, including plugin execution and Web API calls.
Recommendation:
The most comprehensive and scalable solution for monitoring your Web API requests, including failures and payloads, is to integrate Azure Application Insights with your Dataverse environment. It provides a dedicated platform for monitoring application performance and health, with powerful tools for analyzing your API interactions.
Implementing custom logging in your application is a good supplementary approach, especially if you need very specific logging details tailored to your application's logic. Network tracing tools are excellent for development and immediate debugging. Server-side tracing can be helpful for deeper platform-level issues but is less suited for routine Web API monitoring.
By implementing one or a combination of these methods, you'll gain the visibility you need into your Web API requests and be able to effectively troubleshoot any issues.
Siv Sagar
149
Super User 2025 Season 1
Daivat Vartak (v-9d...
53
Super User 2025 Season 1
Vahid Ghafarpour
32
Super User 2025 Season 1