Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
abdoing67
Frequent Visitor

IA skill agent is not able to run the sql query

I have noticed an issue today, the IA Skill agent is not able to run the sql query and I get the message: 

"It seems there was an error retrieving the data using the SQL query provided. Unfortunately, I am unable to provide the requested information at this time". the IA skill is linked to a lakehouse in Fabric and when I run the same SQL query I do get the result, so like there is an issue for some cases to run the query because for other questions the agent is able to run and get the result, I have tried to refresh the agent but still the same issue.

 

#IA Skill, #Fabric, #IA Agent

1 ACCEPTED SOLUTION

Hi @abdoing67,

Thanks for the clarification. Since the SQL is generated correctly and runs fine manually, the issue likely lies with the AI Skill agent's execution context.

I recommend raising a support ticket so the Fabric team can investigate and identify the root cause.
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

Thank you.

View solution in original post

3 REPLIES 3
abdoing67
Frequent Visitor

Hi, if IA skill was not able to generate the sql query I can undestand as maybe it's a complex one but for my case, the hardest part was already done by generating the SQL query the only issue is now running this query that should be in theory the easiest part 🙂

Hi @abdoing67,

Thanks for the clarification. Since the SQL is generated correctly and runs fine manually, the issue likely lies with the AI Skill agent's execution context.

I recommend raising a support ticket so the Fabric team can investigate and identify the root cause.
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi  @abdoing67,

Thank you for reaching out to the Microsoft Fabric Forum Community.

 

Thanks for sharing the issue — I understand the frustration when things work inconsistently.  

Since the AI Skill feature in Microsoft Fabric is currently in public preview, it's not uncommon to experience partial functionality. The fact that some SQL queries work while others don’t suggest that this could be related to query complexity, unsupported syntax, or limitations in the AI Skill's SQL generation or execution context.  

These types of inconsistencies are expected during the preview phase and are usually addressed by the time the feature reaches General Availability.  

For reference, Microsoft recently announced this capability here:  

 Introducing AI Skills in Microsoft Fabric: Now in Public Preview | Microsoft Fabric Blog | Microsoft...

 

If this post helps, please give us ‘Kudos’ and consider accepting it as a solution to help other members find it more quickly.

  

Thank you. 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.