Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello everyone,
While creating a data agent in Fabric, I added some SQL queries as direction for the agent. While doing it manually, I noticed that everytime I added a query, the agent will proceed to validate all the queries including the ones that were already validated. Is there a way to disable this?
Also, I tried uploading JSON files as the example queries, however the validating never stopped. Not sure whats the issue there.
Anyone have any ideas how to resolve the above two?
Great question — both of these are known limitations in the current Fabric Data Agent experience.
There is currently no way to disable this behavior.
Keep each query simple and modular during build/test
Paste in pre-validated SQL (run in Fabric Warehouse first)
JSON Upload Hangs During Validation
The agent expects a very specific JSON structure
Any deviation (invalid syntax, missing fields, extra commas, bad escaping) can cause validation to hang or silently fail
Complex SQL strings with newline characters or quotes can also trip up the parser
Start with a minimal valid JSON template
Improve error handling for bad JSON (e.g., show validation error instead of silent loop)
Support bulk editing with syntax highlighting in the agent editor
If this post helps, then please appreciate giving a Kudos or accepting as a Solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi @ssrithar
Thanks! Appreciate your insights! Another thing that came across my mind is that is there a max number of example queries we can input into the data agent? I played around and noticed anything above 100 will also result in the perpetual validation issue.
@ssrithar I am not an expert in how this is done in Fabric, but I wanted to mention that the Data Agent instructions become part of the context during the chat. The larger the instruction the larger the context the more tokens it consumes during the chats. That will be eating the Fabric Capacity faster. I would suggest there should be a balance between how compex the instructions are and the goal of what you are trying to achive with the agent. I would try and match the instructions set with the main case scenario of this agent intended usage.