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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 277
11manish 206
sannavajjala87 156 Super User 2026 Season 1