<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AI Archives - AzureOps</title>
	<atom:link href="https://azureops.org/articles/category/ai/feed/" rel="self" type="application/rss+xml" />
	<link>https://azureops.org/articles/category/ai/</link>
	<description>Notable things about Cloud, Data and DevOps.</description>
	<lastBuildDate>Fri, 03 Apr 2026 11:04:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/azureops.org/wp-content/uploads/2021/04/cropped-android-chrome-512x512-1.png?fit=32%2C32&#038;ssl=1</url>
	<title>AI Archives - AzureOps</title>
	<link>https://azureops.org/articles/category/ai/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">190208641</site>	<item>
		<title>SSMS 21 Copilot: Here&#8217;s How It Works</title>
		<link>https://azureops.org/articles/ssms-21-copilot/</link>
		
		<dc:creator><![CDATA[Kunal Rathi]]></dc:creator>
		<pubDate>Sat, 11 Oct 2025 08:59:10 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft Copilot]]></category>
		<category><![CDATA[SQL Database]]></category>
		<category><![CDATA[SSMS]]></category>
		<category><![CDATA[SSMS with Copilot]]></category>
		<guid isPermaLink="false">https://azureops.org/?p=8592</guid>

					<description><![CDATA[<p>SQL Server Management Studio (SSMS) version 21 introduces native Copilot integration, enhancing SQL development. Users can connect to Azure OpenAI for efficient query generation and debugging in read-only mode. Copilot aids in writing, fixing, and optimizing SQL queries without executing modifications, ensuring control and security over data.</p>
<p>The post <a href="https://azureops.org/articles/ssms-21-copilot/">SSMS 21 Copilot: Here&#8217;s How It Works</a> appeared first on <a href="https://azureops.org">AzureOps</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="">SQL Server Management Studio (SSMS) has been a staple for database professionals for years. With version 21, Microsoft has added something many users have been waiting for: <strong>native Copilot integration</strong>. No extensions, no hacks—just open it up, connect to Azure, and start working smarter. Here’s a walkthrough of the most important features SSMS 21 Copilot offers and how they work in practice.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class=""><em>You write the query, run it, catch a missing condition, tweak the join, test again—repeat until it’s right. SSMS 21 brings Copilot into that loop. </em></p>
</blockquote>



<h2 class="wp-block-heading"><strong>TL;DR:</strong></h2>



<ul class="wp-block-list">
<li class="">SSMS 21 now includes <strong>built-in Copilot</strong>—no extensions. Just require connection to your <strong>Azure OpenAI deployment</strong> (like GPT-4o).</li>



<li class="">Works only with <strong>SQL Server connections</strong> (not SSIS, SSAS, or SSRS).</li>



<li class="">Runs in <strong>read-only mode</strong>—won’t execute any DML or modify data.</li>



<li class="">Can <strong>generate queries</strong>, fix broken SQL, and suggest optimizations.</li>



<li class="">Supports prompts like: “fix this query,” “optimize for performance,” or “generate insert script.”</li>



<li class="">Ideal for SQL developers who want help writing, debugging, or learning better query patterns—without giving up control.</li>
</ul>



<h2 class="wp-block-heading">Installation: Copilot Comes Built-in</h2>



<p class="">The installer for <a href="https://learn.microsoft.com/en-us/ssms/install/install" target="_blank" rel="noreferrer noopener">SSMS 21</a> clearly shows that Copilot is not an afterthought—it’s front and center. Once you launch the installer, you&#8217;ll notice the <strong>&#8220;Copilot Integration&#8221;</strong> checkbox enabled by default. This means no manual setup is required post-install. It&#8217;s part of the core experience now.</p>



<figure class="wp-block-image size-large is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?ssl=1"><img fetchpriority="high" decoding="async" width="1258" height="705" data-attachment-id="8595" data-permalink="https://azureops.org/articles/ssms-21-copilot/ssms-21-installation-with-copilot/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?fit=1258%2C705&amp;ssl=1" data-orig-size="1258,705" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SSMS 21 installation with copilot" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?fit=1200%2C672&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?fit=1200%2C672&amp;ssl=1" alt="ssms 21 copilot installation" class="wp-image-8595" style="width:793px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?w=1258&amp;ssl=1 1258w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?resize=300%2C168&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?resize=1200%2C672&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?resize=1106%2C620&amp;ssl=1 1106w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?resize=768%2C430&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?resize=450%2C252&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/SSMS-21-installation-with-copilot.png?resize=600%2C336&amp;ssl=1 600w" sizes="(max-width: 1258px) 100vw, 1258px" /></a></figure>



<h3 class="wp-block-heading">First Run: Setting Up Your Azure OpenAI Keys</h3>



<p class="">Once SSMS launches, you’ll be prompted to connect Copilot to your <strong>Azure OpenAI</strong> setup.</p>



<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?ssl=1"><img decoding="async" width="1086" height="778" data-attachment-id="8596" data-permalink="https://azureops.org/articles/ssms-21-copilot/enter-open-ai-service-key/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?fit=1086%2C778&amp;ssl=1" data-orig-size="1086,778" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="enter open ai service key" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?fit=1086%2C778&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?fit=1086%2C778&amp;ssl=1" alt="ssms 21 copilot installation - seeting up openai details" class="wp-image-8596" style="width:718px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?w=1086&amp;ssl=1 1086w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?resize=865%2C620&amp;ssl=1 865w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?resize=768%2C550&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?resize=450%2C322&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/enter-open-ai-service-key.png?resize=600%2C430&amp;ssl=1 600w" sizes="(max-width: 1086px) 100vw, 1086px" /></a></figure>



<p class="">In the first prompt, you’ll be asked to provide:</p>



<ul class="wp-block-list">
<li class="">Azure OpenAI service endpoint</li>



<li class="">Azure OpenAI deployment</li>



<li class="">Azure OpenAI API key</li>
</ul>



<p class="">If you haven’t already created this in Azure, it’s a quick process: deploy a model, generate a key, and you’re good to go. we see how this information is pasted into SSMS.</p>



<p class="">It’s a one-time step, and once entered, Copilot starts responding instantly within SSMS.</p>



<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?ssl=1"><img decoding="async" width="996" height="523" data-attachment-id="8601" data-permalink="https://azureops.org/articles/ssms-21-copilot/keys-and-endpoint-3/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?fit=996%2C523&amp;ssl=1" data-orig-size="996,523" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="keys and endpoint" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?fit=996%2C523&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?fit=996%2C523&amp;ssl=1" alt="Create open ai service and get openai endpoint and key." class="wp-image-8601" style="width:802px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?w=996&amp;ssl=1 996w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?resize=300%2C158&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?resize=768%2C403&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?resize=450%2C236&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/keys-and-endpoint-2.png?resize=600%2C315&amp;ssl=1 600w" sizes="(max-width: 996px) 100vw, 996px" /></a></figure>



<p class="">To get an Azure <strong>OpenAI deployment </strong>name for SSMS Copilit, we need Gen AI model. That’s the engine powering your Copilot. GPT-4o is optimized for speed and real-time interaction, making it well-suited for something as dynamic as SQL writing and analysis.</p>



<p class="">If you already use GPT-based models in Azure, you can reuse the same deployment. If not, create a new one and pick GPT-4o or other depending on availability.</p>



<h2 class="wp-block-heading">Which Connections Are Supported?</h2>



<p class="">As of now, <strong>Copilot in SSMS works only with SQL Server connections</strong>—whether it&#8217;s a local database or Azure SQL.</p>



<p class="">It does <strong>not</strong> support:</p>



<ul class="wp-block-list">
<li class="">SQL Server Integration Services (SSIS)</li>



<li class="">SQL Server Analysis Services (SSAS)</li>



<li class="">SQL Server Reporting Services (SSRS)</li>
</ul>



<p class="">So if you’re connected to an SSIS or SSAS instance, you won’t see Copilot suggestions. It’s focused purely on <strong>Transact-SQL (T-SQL)</strong> scenarios for now.</p>



<h3 class="wp-block-heading">Read-Only Mode – No Live Data Changes</h3>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class=""><em>Copilot works in a read-only mode inside SSMS</em> for GOOD.</p>
</blockquote>



<p class="">It will <strong>not execute updates, deletes, or any data-modifying queries</strong> on its own. It doesn’t have permissions to alter databases or run DML commands. You remain in full control.</p>



<p class="">That said, it <strong>can generate</strong> update, insert, and delete queries for you, which you can review, tweak, and run manually. This helps reduce the risk of accidental changes while still speeding up development.</p>



<h2 class="wp-block-heading">Quick Demo: Fixing a Broken Query</h2>



<p class="">I pasted a malformed SELECT query into SSMS. Copilot immediately offered a fix and even explained what was wrong.</p>



<figure class="wp-block-image size-large is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?ssl=1"><img loading="lazy" decoding="async" width="1332" height="277" data-attachment-id="8604" data-permalink="https://azureops.org/articles/ssms-21-copilot/fix-sql-query-in-ssms-using-copilot/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?fit=1332%2C277&amp;ssl=1" data-orig-size="1332,277" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Fix SQL Query in SSMS using copilot" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?fit=1200%2C250&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?fit=1200%2C250&amp;ssl=1" alt="SSMS 21 Copilot" class="wp-image-8604" style="width:1023px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?w=1332&amp;ssl=1 1332w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?resize=300%2C62&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?resize=1200%2C250&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?resize=768%2C160&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?resize=450%2C94&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/Fix-SQL-Query-in-SSMS-using-copilot.png?resize=600%2C125&amp;ssl=1 600w" sizes="(max-width: 1332px) 100vw, 1332px" /></a></figure>



<h3 class="wp-block-heading">Few Prompt Examples: Result Accuracy</h3>



<p class="">In below example, we asked Copilot to generate a complex query involving filters, aggregates, and joins. The result was accurate and ready to run with minimal edits.</p>



<figure class="wp-block-image size-large is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?ssl=1"><img loading="lazy" decoding="async" width="1591" height="968" data-attachment-id="8607" data-permalink="https://azureops.org/articles/ssms-21-copilot/result-1/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?fit=1591%2C968&amp;ssl=1" data-orig-size="1591,968" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="result 1" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?fit=1200%2C730&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?fit=1200%2C730&amp;ssl=1" alt="SSMS 21 Copilot" class="wp-image-8607" style="width:890px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?w=1591&amp;ssl=1 1591w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?resize=300%2C183&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?resize=1200%2C730&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?resize=1019%2C620&amp;ssl=1 1019w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?resize=768%2C467&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?resize=1536%2C935&amp;ssl=1 1536w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?resize=450%2C274&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-1.png?resize=600%2C365&amp;ssl=1 600w" sizes="(max-width: 1591px) 100vw, 1591px" /></a></figure>



<figure class="is-style-default wp-block-image size-large is-resized"><a href="https://marketplace.visualstudio.com/items?itemName=AzureOps.ssiscatalogerpro&amp;ssr=false#overview" target="_blank" rel="noopener"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1200" height="148" data-attachment-id="4839" data-permalink="https://azureops.org/articles/azure-data-studio-for-sql-developers/scmw-horizontal-ad/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?fit=1326%2C163&amp;ssl=1" data-orig-size="1326,163" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SCMW-horizontal-ad" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?fit=1200%2C148&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=1200%2C148&#038;ssl=1" alt="" class="wp-image-4839" style="object-fit:cover;width:811px;height:99px" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=1200%2C148&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=450%2C55&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=600%2C74&amp;ssl=1 600w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=300%2C37&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=768%2C94&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?w=1326&amp;ssl=1 1326w" sizes="(max-width: 1200px) 100vw, 1200px" /></a></figure>



<p class=""> the same query was further optimized by Copilot after being prompted with: <em>&#8220;Make it efficient.&#8221;</em> It introduced indexing suggestions and added a <code>WITH (NOLOCK)</code> hint—something even experienced developers can forget.</p>



<p class="">In another example, we asked Copilot another question on a different query context (another database connection), and it just worked fine.</p>



<figure class="wp-block-image size-full is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-2.png?ssl=1"><img loading="lazy" decoding="async" width="674" height="275" data-attachment-id="8608" data-permalink="https://azureops.org/articles/ssms-21-copilot/result-2/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-2.png?fit=674%2C275&amp;ssl=1" data-orig-size="674,275" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="result 2" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-2.png?fit=674%2C275&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-2.png?fit=674%2C275&amp;ssl=1" alt="SSMS 21 Copilot" class="wp-image-8608" style="width:575px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-2.png?w=674&amp;ssl=1 674w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-2.png?resize=300%2C122&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-2.png?resize=450%2C184&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/06/result-2.png?resize=600%2C245&amp;ssl=1 600w" sizes="(max-width: 674px) 100vw, 674px" /></a></figure>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class=""><em>These examples show that Copilot isn’t just copying boilerplate SQL—it understands context and best practices.</em></p>
</blockquote>



<h2 class="wp-block-heading">Should You Use This?</h2>



<p class="">If your daily work involves writing or reading SQL, then yes—this is probably the most useful update to SSMS in years.</p>



<p class="">Here’s what it helps with:</p>



<ul class="wp-block-list">
<li class="">Writing long queries faster</li>



<li class="">Understanding joins and filters</li>



<li class="">Fixing syntax issues</li>



<li class="">Learning better SQL patterns</li>



<li class="">Generating stored procedure templates</li>



<li class="">Drafting DML scripts (but not running them automatically)</li>
</ul>



<h2 class="wp-block-heading">What It Won’t Do (Yet)</h2>



<p class="">Let’s be clear:</p>



<ul class="wp-block-list">
<li class="">It won’t <strong>connect to SSIS/SSAS/SSRS</strong></li>



<li class="">It won’t <strong>execute anything that modifies data</strong></li>



<li class="">It won’t <strong>automatically run</strong> DDL/ DML code it suggests</li>
</ul>



<p class="">This is intentional, for safety and audit reasons. Think of it as a smart assistant—not a trigger-happy automation engine.</p>



<h2 class="wp-block-heading">A Note on Privacy and Control</h2>



<p class="">Copilot integrates directly with your Azure environment, so you control what it accesses and shares. It processes your prompts and data securely within your subscription. According to Microsoft, it doesn&#8217;t store any query logs outside your environment, which helps meet compliance requirements for enterprise users.</p>



<p class="">SSMS 21 doesn’t just add Copilot—it integrates it naturally into the flow of writing, editing, and reviewing SQL. It’s fast, context-aware, and doesn’t get in the way.</p>



<p class="has-background" style="background-color:#beefca"><strong>Pro tips:</strong><br>1. While it&#8217;s good to have Copilot like features in SSMS 21, it seems to have lost some very important features like Import Export Wizard for databases like Azure SQL.<br>2. <a href="https://azureops.org/articles/data-agent-in-microsoft-fabric-heres-how-it-works/" target="_blank" rel="noreferrer noopener">Learn</a> how to build data agent in Microsoft Fabric.</p>



<h2 class="wp-block-heading">See more</h2>



<iframe width="700" height="394" src="https://www.youtube.com/embed/t2h6xNVFQkc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="is-style-fill wp-block-button"><a class="wp-block-button__link has-white-color has-blush-light-purple-gradient-background has-text-color has-background has-link-color wp-element-button" href="https://azureops.org/product/ssis-catalog-migration-wizard-pro/" target="_blank" rel="noreferrer noopener">Download Now</a></div>
</div>
<p>The post <a href="https://azureops.org/articles/ssms-21-copilot/">SSMS 21 Copilot: Here&#8217;s How It Works</a> appeared first on <a href="https://azureops.org">AzureOps</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8592</post-id>	</item>
		<item>
		<title>Data Agent in Microsoft Fabric &#8211; Here&#8217;s How it Works</title>
		<link>https://azureops.org/articles/data-agent-in-microsoft-fabric-heres-how-it-works/</link>
		
		<dc:creator><![CDATA[Kunal Rathi]]></dc:creator>
		<pubDate>Thu, 07 Aug 2025 16:15:51 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Microsoft Fabric]]></category>
		<category><![CDATA[data agent]]></category>
		<category><![CDATA[data agent in ai foundry]]></category>
		<category><![CDATA[data agent in copilot]]></category>
		<guid isPermaLink="false">https://azureops.org/?p=8717</guid>

					<description><![CDATA[<p>In this post, I’ll walk you through how I built a Fabric Data Agent on top of the standard AdventureWorksDW dataset (via shortcuts), and how you can too — even if you’re a complete beginner.</p>
<p>The post <a href="https://azureops.org/articles/data-agent-in-microsoft-fabric-heres-how-it-works/">Data Agent in Microsoft Fabric &#8211; Here&#8217;s How it Works</a> appeared first on <a href="https://azureops.org">AzureOps</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="">Ever wished you could just ask your data questions in plain English and get instant, intelligent answers?<br>With Microsoft Fabric’s new <strong>Data Agent</strong>, that’s not just possible, it’s powerful.</p>



<p class="">In this post, I’ll walk you through how I built a Fabric Data Agent on top of the standard AdventureWorksDW dataset, and how you can too, even if you’re a complete beginner.</p>



<h2 class="wp-block-heading">TL;DR</h2>



<p class="">Microsoft Fabric’s <strong>Data Agent</strong> lets you ask questions about your data in natural language; no SQL, DAX, or visuals required. Think of it like a chat-based analyst that already knows your data model and never sleeps. This article walks you through building a Data Agent on top of AdventureWorksDW, writing agent instructions, adding data sources, and exploring advanced use cases like AI Foundry and multi-agent systems. By the end, you&#8217;ll be able to create your own interactive AI analyst in under 30 minutes.</p>



<p class="has-pale-cyan-blue-background-color has-background"><strong>Prerequisites:</strong><br>1. You must have access to Microsoft Fabric Capacity specifically F2 or higher.<br>2. Only workspaces with Fabric-enabled capacity will show the &#8220;AI Agent&#8221; option in the &#8220;+ New&#8221; menu.<br>3.Your <strong>Fabric admin</strong> must enable the <strong>Data Agent preview</strong> in the <a href="https://learn.microsoft.com/en-us/fabric/data-science/data-agent-tenant-settings?utm_source=chatgpt.com">Tenant Settings</a> within the Microsoft Fabric Admin Portal. if you don&#8217;t have admin rights, contact your admin.</p>



<h2 class="wp-block-heading">How to Create a Data Agent in Microsoft Fabric</h2>



<p class="">If you’ve never done this before, don’t worry. Here’s a simple step-by-step guide.</p>



<h3 class="wp-block-heading">Step 1: Open the Microsoft Fabric Workspace</h3>



<ol class="wp-block-list">
<li class="">Go to <a class="" href="https://app.fabric.microsoft.com">https://app.fabric.microsoft.com</a>.</li>



<li class="">Select or create a new <strong>Workspace</strong> where your Lakehouse is located.</li>
</ol>



<h3 class="wp-block-heading">Step 2: Create a Lakehouse (if not already done)</h3>



<ol class="wp-block-list">
<li class="">Click <strong>New &gt; Lakehouse</strong> and give it a name (e.g., <code>demolakehouse</code>).</li>



<li class="">Add your data using <strong>Shortcuts</strong>:
<ul class="wp-block-list">
<li class="">Go to the <strong>Tables</strong> pane inside the Lakehouse.</li>



<li class="">Click <strong>Add Shortcut &gt; OneLake data</strong>.</li>



<li class="">Browse and select the relevant tables (e.g., from AdventureWorksDW).</li>
</ul>
</li>
</ol>



<p class="">I used the classic <strong>AdventureWorksDW</strong> dataset, the same one you’ve probably seen in BI demos. Instead of importing tables manually, I used <strong>OneLake Shortcuts</strong>, which connect existing data without duplicating it.</p>



<h3 class="wp-block-heading">Step 3: Create the Data Agent</h3>



<ol class="wp-block-list">
<li class="">In your workspace, click <strong>New &gt; Data agent</strong> <strong>(preview)</strong>.</li>



<li class="">Choose the <strong>Lakehouse</strong> where your data is stored. You can also choose semantic model in case you have created semantic model on top of your lakehouse.</li>



<li class="">Give your agent a name (e.g., <code>Sales Insights Agent</code>).</li>



<li class="">Click <strong>Create</strong> — this opens the agent configuration screen.</li>
</ol>



<figure class="wp-block-image size-large is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?ssl=1"><img loading="lazy" decoding="async" width="1736" height="396" data-attachment-id="8742" data-permalink="https://azureops.org/articles/data-agent-in-microsoft-fabric-heres-how-it-works/create-data-agent/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?fit=1736%2C396&amp;ssl=1" data-orig-size="1736,396" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Create data agent" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?fit=1200%2C274&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?fit=1200%2C274&amp;ssl=1" alt="fabric data agent" class="wp-image-8742" style="width:1179px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?w=1736&amp;ssl=1 1736w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?resize=300%2C68&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?resize=1200%2C274&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?resize=768%2C175&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?resize=1536%2C350&amp;ssl=1 1536w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?resize=450%2C103&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Create-data-agent.png?resize=600%2C137&amp;ssl=1 600w" sizes="(max-width: 1709px) 100vw, 1709px" /></a></figure>



<h3 class="wp-block-heading">Step 4: Add a Data Source to the Data Agent</h3>



<p class="">Once the agent is created, you’ll need to give it instructions and connect it to your data.</p>



<ol class="wp-block-list">
<li class="">Inside the agent editor, go to the <strong>Data Sources</strong> tab.</li>



<li class="">Click <strong>+ Add data source</strong> and choose the <code>Lakehouse</code> as shown in the image below.</li>
</ol>



<h3 class="wp-block-heading">Step 5: Add the Agent Instructions</h3>



<figure class="wp-block-image size-large is-resized"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?ssl=1"><img loading="lazy" decoding="async" width="1615" height="876" data-attachment-id="8752" data-permalink="https://azureops.org/articles/data-agent-in-microsoft-fabric-heres-how-it-works/data-agent-instructions-2/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?fit=1615%2C876&amp;ssl=1" data-orig-size="1615,876" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="data agent instructions" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?fit=1200%2C651&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?fit=1200%2C651&amp;ssl=1" alt="Data Agent in Microsoft Fabric - AI instructions" class="wp-image-8752" style="width:1525px;height:auto" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?w=1615&amp;ssl=1 1615w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?resize=300%2C163&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?resize=1200%2C651&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?resize=1143%2C620&amp;ssl=1 1143w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?resize=768%2C417&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?resize=1536%2C833&amp;ssl=1 1536w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?resize=450%2C244&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/data-agent-instructions-1.png?resize=600%2C325&amp;ssl=1 600w" sizes="(max-width: 1615px) 100vw, 1615px" /></a></figure>



<ol class="wp-block-list">
<li class="">Go to the <strong>Agent Instructions</strong> tab.</li>



<li class="">Provide instuctions for the data agent about it&#8217;s goal and responsibilities. </li>
</ol>



<pre class="wp-block-preformatted"><code>Goal:<br>Assist users in analyzing sales, customers, geography, and product performance.<br><br>Key Relationships:<br>- FactInternetSales ➡ ProductKey ➡ DimProduct ➡ Subcategory ➡ Category<br>- FactInternetSales ➡ CustomerKey ➡ DimCustomer ➡ Geography<br>- FactInternetSales ➡ OrderDateKey ➡ DimDate<br><br>Ask me things like:<br>- Top-selling categories last year?<br>- Sales trend in Q1 2024?<br>- Which cities had highest average order size?<br><br>Answer in charts, tables, or summaries where helpful.<br></code></pre>



<h3 class="wp-block-heading">Step 6: Add the Data Source Instructions</h3>



<ol class="wp-block-list">
<li class="">Add the data source instruction to let data agent understand your data model.</li>
</ol>



<pre class="wp-block-preformatted">yamlCopyEdit<code>name: AdventureWorksDW_Shortcut
type: Lakehouse
tables:
  - name: DimCustomer_shortcut
    description: Customer demographics and keys
  - name: DimDate_shortcut
    description: Calendar date dimension
  - name: DimProduct_shortcut
    description: Product attributes
  - name: DimProductCategory_shortcut
    description: Categories of products
  - name: DimProductSubcategory_shortcut
    description: Subcategories of products
  - name: DimGeography_shortcut
    description: Country, state, and city details
  - name: FactInternetSales_shortcut
    description: Sales facts including sales amount, quantity, and dates
</code></pre>



<figure class="is-style-default wp-block-image size-large is-resized"><a href="https://marketplace.visualstudio.com/items?itemName=AzureOps.ssiscatalogerpro&amp;ssr=false#overview" target="_blank" rel="noopener"><img data-recalc-dims="1" loading="lazy" decoding="async" width="1200" height="148" data-attachment-id="4839" data-permalink="https://azureops.org/articles/azure-data-studio-for-sql-developers/scmw-horizontal-ad/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?fit=1326%2C163&amp;ssl=1" data-orig-size="1326,163" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SCMW-horizontal-ad" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?fit=1200%2C148&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=1200%2C148&#038;ssl=1" alt="" class="wp-image-4839" style="object-fit:cover;width:811px;height:99px" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=1200%2C148&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=450%2C55&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=600%2C74&amp;ssl=1 600w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=300%2C37&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?resize=768%2C94&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2023/01/SCMW-horizontal-ad.png?w=1326&amp;ssl=1 1326w" sizes="(max-width: 1200px) 100vw, 1200px" /></a></figure>



<h3 class="wp-block-heading">Step 7: Test the Agent and fine tunning</h3>



<p class="">Start asking questions to the agent like;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="">1. List top 10 cities by internet sales in last available 12 months.</p>
</blockquote>



<figure class="wp-block-image size-large"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?ssl=1"><img loading="lazy" decoding="async" width="1594" height="792" data-attachment-id="8745" data-permalink="https://azureops.org/articles/data-agent-in-microsoft-fabric-heres-how-it-works/sample-question-to-data-agent-2/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?fit=1594%2C792&amp;ssl=1" data-orig-size="1594,792" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Sample question to data agent" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?fit=1200%2C596&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?fit=1200%2C596&amp;ssl=1" alt="fabric data agent demo" class="wp-image-8745" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?w=1594&amp;ssl=1 1594w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?resize=300%2C149&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?resize=1200%2C596&amp;ssl=1 1200w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?resize=768%2C382&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?resize=1536%2C763&amp;ssl=1 1536w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?resize=450%2C224&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-question-to-data-agent-1.png?resize=600%2C298&amp;ssl=1 600w" sizes="(max-width: 1594px) 100vw, 1594px" /></a></figure>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="">2. List top 5 customers who made the highest purchases in the latest available year:</p>
</blockquote>



<figure class="wp-block-image size-full"><a href="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?ssl=1"><img loading="lazy" decoding="async" width="989" height="714" data-attachment-id="8746" data-permalink="https://azureops.org/articles/data-agent-in-microsoft-fabric-heres-how-it-works/sample-query-2-data-agent/" data-orig-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?fit=989%2C714&amp;ssl=1" data-orig-size="989,714" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Sample query 2 data agent" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?fit=989%2C714&amp;ssl=1" src="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?fit=989%2C714&amp;ssl=1" alt="fabric data agent demo" class="wp-image-8746" srcset="https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?w=989&amp;ssl=1 989w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?resize=300%2C217&amp;ssl=1 300w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?resize=859%2C620&amp;ssl=1 859w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?resize=768%2C554&amp;ssl=1 768w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?resize=450%2C325&amp;ssl=1 450w, https://i0.wp.com/azureops.org/wp-content/uploads/2025/07/Sample-query-2-data-agent.png?resize=600%2C433&amp;ssl=1 600w" sizes="(max-width: 989px) 100vw, 989px" /></a></figure>



<p class="">Notice that it also provides the SQL query it has executed on the lakehouse to get the required output.</p>



<p class="">If the data source and instructions are set correctly, the agent should respond with meaningful tables or summaries. In case you observe issues in the responses, you may need to fine tune the AI instructions and test again.</p>



<h2 class="wp-block-heading">When Should You Use Data Agents?</h2>



<p class="">If you&#8217;re already using:</p>



<ul class="wp-block-list">
<li class="">A well-modeled star schema</li>



<li class="">Lakehouse tables or Delta format</li>



<li class="">Power BI reports or semantic models</li>



<li class="">Microsoft Fabric workspaces with clean relationships</li>
</ul>



<p class="">Then a Data Agent will act like a bridge between your data and your business users. No technical barrier — just questions and answers.</p>



<h2 class="wp-block-heading">Integrations and Advanced Use Cases</h2>



<p class="">What makes Fabric Data Agents truly powerful is not just that they can answer questions — but that they can <strong>plug into larger AI and data ecosystems</strong>. Here are a few ways to take your agent to the next level.</p>



<h3 class="wp-block-heading">1. Integration with Azure AI Foundry</h3>



<p class="">Microsoft Azure&#8217;s <a href="https://ai.azure.com/" target="_blank" rel="noreferrer noopener">AI Foundry</a> allows you to orchestrate LLM-driven pipelines, combine ML models with data operations, and deploy custom copilots. Your Data Agent can be used here in multiple ways:</p>



<ul class="wp-block-list">
<li class="">As a <strong>ready knowledge base</strong> within Foundry apps</li>



<li class="">To <strong>summarize and explain insights</strong> from streaming or batch pipelines</li>



<li class="">As a <strong>modular AI skill</strong> within a larger orchestrated flow</li>
</ul>



<p class="">For example, you could use the agent to automatically generate weekly sales summaries and send them via email to business users — no dashboards needed.</p>



<h3 class="wp-block-heading">2. Use in Multi-Agent Systems with Copilot Studio</h3>



<p class="">Microsoft recently <a href="https://blog.fabric.microsoft.com/en-us/blog/fabric-data-agents-microsoft-copilot-studio-a-new-era-of-multi-agent-orchestration" target="_blank" rel="noreferrer noopener">announced </a>integration of Fabric data agent with Copilot Studio. This means data agent also supports <strong>multi-agent</strong> patterns where different agents work together, each specializing in their role.</p>



<p class="">Your Data Agent can act as:</p>



<ul class="wp-block-list">
<li class="">A <strong>domain expert</strong> (e.g., Sales Agent, Inventory Agent)</li>



<li class="">A <strong>knowledge base</strong> that other agents query</li>



<li class="">A <strong>collaborative AI</strong> alongside others like a document reader, chatbot, or metric generator</li>
</ul>



<h4 class="wp-block-heading">Example: Multi-Agent Use Case</h4>



<p class="">Imagine a scenario where you’ve built:</p>



<ul class="wp-block-list">
<li class="">A <strong>&#8220;Sales Insights Agent&#8221;</strong> (based on the Sales model)</li>



<li class="">A <strong>&#8220;Customer Sentiment Agent&#8221;</strong> (that reads survey data or feedback documents)</li>



<li class="">A <strong>&#8220;Decision Support Agent&#8221;</strong> (that aggregates insights from both)</li>
</ul>



<p class="">Now, a user asks the Decision Support Agent:<br><strong>&#8220;Should we invest more in red-colored bikes for Q3 promotions?&#8221;</strong></p>



<p class="">Here’s what happens behind the scenes:</p>



<ol class="wp-block-list">
<li class="">The <strong>Sales Agent</strong> looks up sales trends for red bikes from your Data Agent.</li>



<li class="">The <strong>Sentiment Agent</strong> checks recent customer feedback about product quality or color preferences.</li>



<li class="">The <strong>Decision Agent</strong> combines both and generates a recommendation — backed by data and context.</li>
</ol>



<p class="">This makes your Data Agent a <strong>building block in a broader AI ecosystem</strong>, not just a standalone tool.</p>



<h2 class="wp-block-heading">Final Thoughts</h2>



<p class="">Data Agents in Fabric aren&#8217;t just experimental toys; they&#8217;re fully capable assistants for real business scenarios. Whether you&#8217;re a data engineer, analyst, or decision maker, you’ll find value in being able to converse with your data.</p>



<p class="">For me, this agent worked perfectly with the AdventureWorksDW model and started answering meaningful business questions within minutes,  no DAX, no Power BI visuals, no joins to write.</p>



<p class="">This service is currently in preview. It does not currently render charts. Hopefully, future updates will enable it to generate Power BI level visuals on the fly.</p>



<h2 class="wp-block-heading">See more</h2>



<iframe width="700" height="394" src="https://www.youtube.com/embed/t2h6xNVFQkc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>



<div class="wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex">
<div class="is-style-fill wp-block-button"><a class="wp-block-button__link has-white-color has-blush-light-purple-gradient-background has-text-color has-background has-link-color wp-element-button" href="https://azureops.org/product/ssis-catalog-migration-wizard-pro/" target="_blank" rel="noreferrer noopener">Download Now</a></div>
</div>



<p class="has-background" style="background-color:#beefca"><strong>Pro tips:</strong><br>1. <a href="https://azureops.org/articles/ssms-21-copilot/" target="_blank" rel="noreferrer noopener">Learn </a>how to integrate Microsoft Copilot in SQL Server Management Studio 21.</p>
<p>The post <a href="https://azureops.org/articles/data-agent-in-microsoft-fabric-heres-how-it-works/">Data Agent in Microsoft Fabric &#8211; Here&#8217;s How it Works</a> appeared first on <a href="https://azureops.org">AzureOps</a>.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8717</post-id>	</item>
	</channel>
</rss>
