Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article shows you how to get started with Microsoft Copilot in Fabric in the Data Factory workload. You can use Copilot to create data integration solutions using natural language prompts in both Dataflow Gen2 and Data pipelines.
Tip
To learn more about Copilot features and capabilities, see What is Copilot in Fabric in the Data Factory workload?
Before your business can start using Copilot capabilities in Fabric, your administrator needs to enable Copilot in Microsoft Fabric.
Note
- Your administrator needs to enable the tenant switch before you start using Copilot. See the article Copilot tenant settings for details.
- Your F2 or P1 capacity needs to be in one of the regions listed in this article, Fabric region availability.
- If your tenant or capacity is outside the US or France, Copilot is disabled by default unless your Fabric tenant admin enables the Data sent to Azure OpenAI can be processed outside your tenant's geographic region, compliance boundary, or national cloud instance tenant setting in the Fabric Admin portal.
- Copilot in Microsoft Fabric isn't supported on trial SKUs. Only paid SKUs (F2 or higher, or P1 or higher) are supported.
- See the article Overview of Copilot in Fabric and Power BI for more information.
Prerequisites
To use Copilot in the Data Factory workload, you need:
- A Microsoft Fabric license
- A workspace with a Fabric capacity
- Copilot enabled in your tenant
Get started with Copilot for Dataflow Gen2
Use the following steps to get started with Copilot for Dataflow Gen2:
Create a new Dataflows Gen2.
On the Home tab in Dataflows Gen2, select the Copilot button.
In the bottom left of the Copilot pane, select the starter prompt icon, then the Get data from option.
In the Get data window, search for OData and select the OData connector.
In the Connect to data source for the OData connector, input the following text into the URL field:
https://services.odata.org/V4/Northwind/Northwind.svc/
From the navigator, select the Orders table and then Select related tables. Then select Create to bring multiple tables into the Power Query editor.
Select the Customers query, and in the Copilot pane type this text:
Only keep European customers
, then press Enter or select the Send message icon.Your input is now visible in the Copilot pane along with a returned response card. You can validate the step by referencing the corresponding step title in the Applied steps list and reviewing the formula bar or the data window for the accuracy of your results.
Select the Employees query, and in the Copilot pane type this text:
Count the total number of employees by City
, then press Enter or select the Send message icon. Your input is now visible in the Copilot pane along with a returned response card and an Undo button.Select the column header for the Total Employees column and choose the option Sort descending. The Undo button disappears because you modified the query.
Select the Order_Details query, and in the Copilot pane type this text:
Only keep orders whose quantities are above the median value
, then press Enter or select the Send message icon. Your input is now visible in the Copilot pane along with a returned response card.Either select the Undo button or type the text
Undo
(any text case) and press Enter in the Copilot pane to remove the step.To use the power of Azure OpenAI when creating or transforming your data, ask Copilot to create sample data by typing this text:
Create a new query with sample data that lists all the Microsoft OS versions and the year they were released
Copilot adds a new query to the Queries pane list, containing the results of your input. At this point, you can either transform data in the user interface, continue to edit with Copilot text input, or ask Copilot to explain the query with an input such as
Explain my current query
.
Use AI to generate data transformation queries
You can use AI tools, such as Copilot, to generate custom transformation queries for your specific data scenarios. Instead of manually writing complex Power Query M expressions, you can describe your transformation needs in natural language.
Take my current data and create a transformation that filters for customers in Europe, groups employees by city with counts, and removes orders below the median quantity value.
Note
AI powers Copilot, so surprises and mistakes are possible.
Get started with Copilot for Data pipelines
You can use Copilot to generate, summarize, or even troubleshoot your Data pipelines.
Generate a Data pipeline with Copilot
Use these steps to generate a new pipeline with Copilot for Data Factory:
Create a new Data pipeline.
On the Home tab of the Data pipeline editor, select the Copilot button.
Then you can get started with Copilot to build your pipeline with the Ingest data option.
Copilot generates a Copy activity, and you can interact with Copilot to complete the whole flow. You can type
/
to select the source and destination connection, and then add all the required content according to the prefilled started prompt context.After everything is set up, select Run this pipeline to execute the new pipeline and ingest the data.
If you're already familiar with Data pipelines, you can complete everything with one prompt command, too.
Use AI to generate data pipeline workflows
You can use AI tools, such as Copilot, to generate complete data pipeline workflows from natural language descriptions. Instead of manually creating and configuring pipeline activities, describe your data integration needs and let Copilot generate the pipeline structure.
Create a data pipeline that copies data from a SQL Server database table called "Orders" to an Azure Data Lake Storage Gen2 container, with error handling and logging enabled.
Note
AI powers Copilot, so surprises and mistakes are possible.
Summarize a Data pipeline with Copilot
Use these steps to summarize a pipeline with Copilot for Data Factory:
Open an existing Data pipeline.
On the Home tab of the pipeline editor window, select the Copilot button.
Then you can get started with Copilot to summarize the content of the pipeline.
Select Summarize this pipeline, and Copilot generates a summary.
Troubleshoot pipeline errors with Copilot
Copilot empowers you to troubleshoot any pipeline with error messages. You can use Copilot as an assistant for pipeline error messages on the Fabric Monitor page or the pipeline authoring page. The steps below show you how to access the pipeline Copilot to troubleshoot your pipeline from the Fabric Monitor page; however, you can also use these steps from the pipeline authoring page.
Go to the Fabric Monitor page and select filters to show pipelines with failures.
Select the Copilot icon beside the failed pipeline.
Copilot provides a clear error message summary and actionable recommendations to fix it. In the recommendations, troubleshooting links are provided to help you investigate further efficiently.
Use AI to troubleshoot pipeline errors
You can use AI tools, such as Copilot, to help diagnose and resolve pipeline errors. When your pipeline fails, instead of manually analyzing error logs, you can ask Copilot to explain the error and provide troubleshooting recommendations.
Explain this pipeline error and provide troubleshooting steps: "The pipeline failed with a timeout error when connecting to the SQL Server database. Connection string: Server=myserver;Database=mydb;Integrated Security=true"
Note
AI powers Copilot, so surprises and mistakes are possible.