Announcements
The "couldn't convert to Number" error is related to the row identifier, not your string field. The SQL connector expects a numeric value (such as Line No. or Document Type), but it's receiving a string value (like Document No.).
How to resolve:
Copilot Studio doesn't allow direct SQL queries. To work around this, you can use a Power Automate flow as an intermediary:
Always use parameterized stored procedures and avoid generating dynamic SQL from user input for security. Ref Doc: Call an agent flow from an agent - Microsoft Copilot Studio | Microsoft Learn
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 796
Vish WR 335
Haque 278