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 :
Copilot Studio - Model Context Protocol
Suggested Answer

Why does MCP Dataverse Query fail when Code Interpreter feature is enabled?

(1) ShareShare
ReportReport
Posted on by 2

Hello Community,

I am experiencing an issue with MCP Dataverse in my chat agent. When I enable the Code Interpreter feature, any query sent through MCP Dataverse returns “data not found”, even though the same query works perfectly when Code Interpreter is disabled.

I enabled Code Interpreter because I want to display charts and graphs in the chat during Q&A sessions. However, this seems to break the MCP Dataverse query functionality.

My questions are:

  1. Why does enabling Code Interpreter cause MCP Dataverse queries to fail?

  2. Is there an alternative way to display charts or graphs in the chat while still using MCP Dataverse tools?

  3.  

Any guidance or best practices would be greatly appreciated.

 

Thank you!

I have the same question (0)
  • Suggested answer
    Sam_Fawzi Profile Picture
    729 Super User 2025 Season 2 on at
    Why does MCP Dataverse Query fail when Code Interpreter feature is enabled?
     
    Enabling Code Interpreter changes the execution context, so MCP Dataverse queries don’t reach the connector as expected. To use both, first query Dataverse, then pass the data to Code Interpreter for visualization. Alternatively, disable auto-interception or use built-in charting options in MCP.
     
    Let me know if you need more details.
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,042 Super User 2025 Season 2 on at
    Why does MCP Dataverse Query fail when Code Interpreter feature is enabled?
    hello
     
    I had the issue, what i suggest to you is to help the agent understanding how manage the creation of the query by explain how you'r table and column are structured and what are there purpose
     
    i created a dedicated tutorial with screenshot in other topics as a final answer of the question here the link https://community.powerplatform.com/forums/thread/details/?threadid=00edf204-e1bb-f011-bbd3-000d3a192937
     
    I hope it could help you to solve you'r case :)

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 304 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 224 Super User 2025 Season 2

#3
Sam_Fawzi Profile Picture

Sam_Fawzi 78 Super User 2025 Season 2

Last 30 days Overall leaderboard