Requirement: AI-Powered Natural Language Querying for Existing Azure SQL Database
We have an existing Azure SQL database containing Fact and Dimension tables that are already structured for reporting and analytics.
We want to add AI capabilities on top of this existing database so that business users can interact with the data using natural language instead of writing SQL queries.
For example, a user should be able to ask questions such as:
"How many sales did we have last month?"
"What were our total sales this year?"
"Which product generated the highest sales?"
"What were the sales for Australia in July?"
"Compare sales between 2025 and 2026."
"Show me the top 10 customers by sales."
The AI agent should understand the user's question, identify the relevant Fact and Dimension tables, generate the appropriate SQL query, execute the query against the Azure SQL database, analyze the returned results, and provide a clear natural-language answer.
Expected Flow
User Question
→ "How many sales did we have last month?"
↓
AI Agent
Understands the question and identifies the relevant tables, relationships, measures, and filters.
↓
SQL Generation
The agent generates an appropriate SQL query, for example:
SELECT SUM(SalesAmount)
FROM FactSales
JOIN DimDate
ON FactSales.DateKey = DimDate.DateKey
WHERE DimDate.Month = ...
↓
Azure SQL Database
The generated query is executed against the existing Fact and Dimension tables.
↓
Result
Azure SQL returns the actual data.
↓
AI Agent
Interprets the result and responds:
"Total sales last month were $2.4 million."
Key Requirement
We do not want to replace or redesign our existing Azure SQL database.
We want to understand how we can add an AI/Data Agent capability on top of the existing Fact and Dimension model, while ensuring that:
The agent queries the actual Azure SQL data rather than relying on general LLM knowledge.
The agent understands our Fact/Dimension relationships and business definitions.
Natural-language questions can be converted into reliable SQL queries.
The SQL is executed against the live/current database data.
The response is based on the actual query results.
Database security and existing permissions are respected.
We can control which tables and data the AI agent is allowed to access.
The solution can handle business terminology, metrics, filters, and relationships correctly.
The solution provides reliable answers and minimizes hallucinations.
Main Question
What is the recommended Microsoft/Azure architecture and technology for implementing a conversational AI/Data Agent on top of our existing Azure SQL database, where users can ask natural-language questions and the agent generates and executes SQL against our Fact and Dimension tables to return accurate business answers?
We would also like to understand whether we should use Microsoft Fabric Data Agent, Microsoft Foundry Agent Service with SQL/MCP capabilities, or another Azure-native approach, and what changes, if any, are required to our existing Azure SQL database to support this capability.
Requirement: AI-Powered Natural Language Querying for Existing Azure SQL Database
We have an existing Azure SQL database containing Fact and Dimension tables that are already structured for reporting and analytics.
We want to add AI capabilities on top of this existing database so that business users can interact with the data using natural language instead of writing SQL queries.
For example, a user should be able to ask questions such as:
"How many sales did we have last month?"
"What were our total sales this year?"
"Which product generated the highest sales?"
"What were the sales for Australia in July?"
"Compare sales between 2025 and 2026."
"Show me the top 10 customers by sales."
The AI agent should understand the user's question, identify the relevant Fact and Dimension tables, generate the appropriate SQL query, execute the query against the Azure SQL database, analyze the returned results, and provide a clear natural-language answer.
Expected Flow
User Question
→ "How many sales did we have last month?"
↓
AI Agent
Understands the question and identifies the relevant tables, relationships, measures, and filters.
↓
SQL Generation
The agent generates an appropriate SQL query, for example:
SELECT SUM(SalesAmount)
FROM FactSales
JOIN DimDate
ON FactSales.DateKey = DimDate.DateKey
WHERE DimDate.Month = ...
↓
Azure SQL Database
The generated query is executed against the existing Fact and Dimension tables.
↓
Result
Azure SQL returns the actual data.
↓
AI Agent
Interprets the result and responds:
"Total sales last month were $2.4 million."
Key Requirement
We do not want to replace or redesign our existing Azure SQL database.
We want to understand how we can add an AI/Data Agent capability on top of the existing Fact and Dimension model, while ensuring that:
The agent queries the actual Azure SQL data rather than relying on general LLM knowledge.
The agent understands our Fact/Dimension relationships and business definitions.
Natural-language questions can be converted into reliable SQL queries.
The SQL is executed against the live/current database data.
The response is based on the actual query results.
Database security and existing permissions are respected.
We can control which tables and data the AI agent is allowed to access.
The solution can handle business terminology, metrics, filters, and relationships correctly.
The solution provides reliable answers and minimizes hallucinations.
Main Question
What is the recommended Microsoft/Azure architecture and technology for implementing a conversational AI/Data Agent on top of our existing Azure SQL database, where users can ask natural-language questions and the agent generates and executes SQL against our Fact and Dimension tables to return accurate business answers?
We would also like to understand whether we should use Microsoft Fabric Data Agent, Microsoft Foundry Agent Service with SQL/MCP capabilities, or another Azure-native approach, and what changes, if any, are required to our existing Azure SQL database to support this capability.