We are announcing the ability to use code interpreters on SharePoint sources in agent conversations in Microsoft Copilot Studio. This feature will be available in general availability on May 31, 2026.
How does this affect me?
This feature enables Copilot Studio agents to generate and execute Python code to respond to user prompts. Code interpreter supports tasks such as data preparation, statistical analysis, table joins, forecasting, and chart generation. These tasks work with structured files like CSV and Excel. Code interpreter supports the GPT-4.1 model.
Using code interpreter for agents:
- Unlocks trustworthy analysis inside agents and prompts by employing deterministic, reproducible computation instead of best-effort large language model (LLM) reasoning for data questions.
- Lowers the skill barrier for advanced analytics by letting users ask analytical questions in natural language.
- Generates tables and visualizations of results programmatically that users can see, download, and reuse.
- As an uploaded file in an agent chat.
- As a referenced knowledge source in a SharePoint documents library.
What action do I need to take?
This message is for awareness, and no action is required.
If you would like more information on this feature, please visit Use code interpreter on SharePoint sources in agent conversations.
Source: Microsoft
Latest Posts
- Microsoft Copilot Studio – Use code interpreter on SharePoint sources in agent conversations [MC1318109]
![Microsoft Copilot Studio - Use code interpreter on SharePoint sources in agent conversations [MC1318109] 2 pexels rpnickson 7238759](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Microsoft Teams: New search experience for cloud files in the file attach picker [MC1318124]
![Microsoft Teams: New search experience for cloud files in the file attach picker [MC1318124] 3 pexels googledeepmind 25630338](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Amazon Bedrock expands support for request-level usage attribution

- Amazon SageMaker Unified Studio now supports data quality rule authoring and evaluation

![Microsoft Copilot Studio - Use code interpreter on SharePoint sources in agent conversations [MC1318109] 1 Microsoft Copilot Studio – Use code interpreter on SharePoint sources in agent conversations [MC1318109]](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-rpnickson-7238759-1024x683.webp)
![Microsoft Copilot Studio - Use code interpreter on SharePoint sources in agent conversations [MC1318109] 2 pexels rpnickson 7238759](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-rpnickson-7238759-150x150.webp)
![Microsoft Teams: New search experience for cloud files in the file attach picker [MC1318124] 3 pexels googledeepmind 25630338](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-25630338-150x150.webp)

