Announcements
Hi everyone,
I’m running into an issue while trying to convert Excel (.xlsx) files into XML using Copilot Studio and Power Automate.
The flow works fine with small files, but when I try with a larger file (around 2,642 KB), the process fails at the step where the content is passed to the AI Prompt in Copilot Studio. The error says the file is too large and the AI can’t process the conversion.
What I’ve tried so far:
Using the standard Excel connector in Power Automate to read the data.
Passing the content directly to the AI Prompt so it can generate the XML output.
Testing with smaller files, which worked successfully.
The challenge:
I need the process to work with larger files as well.
I’d prefer to keep the conversion step handled by the AI Prompt in Copilot Studio, but I’m open to alternatives (e.g., splitting the file, using another connector, or extracting the data with Graph API before sending it to the prompt).
My questions: Is there any recommended way to handle this file size limitation? Are there best practices for using AI Prompt with large files, or should I follow a different approach to perform the Excel-to-XML conversion in Power Automate?
Thanks in advance for any guidance or references from those who may have faced a similar challenge!
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 846
Vish WR 302
Haque 258