BRKSP619 · Breakout
Build AI-powered Microsoft Fabric workflows with GitHub Copilot
Speakers: Kevin Pereira, Leslie Welch
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
Two SHI practitioners show how Fabric data engineers and Power BI developers can use GitHub Copilot in VS Code safely and productively. The first half covers licensing and AI credits, the risk profile of the Copilot modes (Ask, Plan, Autopilot), context layers including instructions files and MCP servers (Fabric/Power BI, GitHub, Microsoft Learn), and a Git-based eight-step workflow with human review. The demos analyse quarantined records in a medallion project via T-SQL, a stored procedure and a PySpark notebook, apply CSV-sourced descriptions to a semantic model's TMDL, and generate per-page layout views with a reusable script that saves tokens. The session closes with takeaways, prompting patterns and anti-patterns, and two GitHub repositories with starter material; Fabric IQ for the GitHub Copilot app is mentioned as being in preview.
Best for: Fabric data engineers and Power BI developers who are new to GitHub Copilot and want a practical, Git-safe way to start using it.
New material starts at 22:39. Before 22:39 the session covers licensing, Copilot modes, guardrails and data engineering demos of established practices; at 22:39 the Power BI demo starts, which applies CSV descriptions to a semantic model and mentions the new Fabric IQ preview for the GitHub Copilot app.
Where to skip: If You already know GitHub Copilot basics, skim 06:24-13:24 for the context layers, MCP servers and Git workflow, then watch the demos from 13:24 (setup) and 17:20 (SQL/PySpark); the Power BI demos at 22:39 and 28:30 are the most useful part, and 38:30 lists prompting anti-patterns. The intro, licensing and resources segments can be skipped.
Chapters (12)
- 00:07 Recap Depth 100 · Novelty 0/3
Speaker introductions and session agenda
Leslie Welch (Data and AI practice lead at SHI) and Kevin Pereira (data engineer and solutions architect at SHI) introduce themselves. The agenda covers licensing and cost, the target audience and where to start, guardrails for working safely with GitHub Copilot, data engineering and Power BI demos, takeaways and Q&A.
- 01:58 Deep dive Depth 200 · Novelty 1/3
Licensing and cost: GitHub Copilot seats, AI credits and Fabric capacity
GitHub Copilot requires a per-user licence (the slide lists Business at $19 and Enterprise at $39 per user/month); code completions are covered by the licence, while agent-mode work has consumed AI credits since June. Admins should set budgets per user or group before granting access to credits to avoid unexpected bills. GitHub Copilot does not consume Fabric capacity, but whatever it builds does, and a Fabric capacity (a trial capacity is sufficient) is needed for Git integration.
- 03:28 Recap Depth 100 · Novelty 0/3
Target audience and first steps for data engineers and BI developers
The session targets Fabric data engineers (pipelines, notebooks, SQL) and Power BI practitioners who are experienced in their craft but new to AI pair programming. Recommended start: install VS Code, GitHub Copilot and Copilot Chat, ask for explanations of existing code, and above all write a Copilot instructions file. Data engineers should start with explaining notebooks and stored procedures and writing data quality and validation checks; BI developers with adding descriptions to semantic models, layout views and running the Best Practice Analyzer on every pull request.
- 06:24 Deep dive Depth 200 · Novelty 1/3
Copilot modes and risk, and why context closes the knowledge gap
GitHub Copilot modes carry different risk: inline suggestions (no extra AI credits), read-only Ask mode, Plan mode that proposes an approach first, and Autopilot mode (formerly agent mode) that edits multiple files, runs commands and uses tools. The more the tool can do, the more review and context are needed. Copilot knows syntax and common patterns but not your data, business rules, team standards or acceptance criteria, and fills gaps with confident guesses. Context layers: an instructions file read on every request, the right local files, live context via MCP servers, and small, clear, single-task asks.
- 09:48 Deep dive Depth 200 · Novelty 1/3
MCP servers, Git branching guardrails and the eight-step repeatable workflow
Recommended MCP servers for Copilot with Fabric are the Fabric and Power BI MCP server, the GitHub MCP server and the Microsoft Learn docs MCP server (configured in .vscode/mcp.json per the slide). Version control with Git, the version control method available in Fabric, is the safety net: a protected main branch, local feature branches and human pull request review. Teams should add a copilot-instructions.md file and later CODEOWNERS and PR templates. The workflow is: instructions, prompt, generate, review, commit, PR, sync to Fabric, run and validate, with review/commit/PR as the human-in-the-loop steps.
- 13:24 Demo Depth 300 · Novelty 1/3
Demo setup: VS Code extensions, MCP servers and layered Copilot instructions
Kevin installs the Microsoft Fabric and MSSQL extensions in VS Code and adds MCP servers by typing 'add MCP' in the Extensions view; the Microsoft Learn server is found by searching 'docs', not 'learn'. In a repo already on a feature branch, he previews copilot-instructions.md (Ctrl+Shift+V), which describes a coffee-shop medallion architecture (CSV to bronze, cleansing, deduplication and quarantine in silver, gold warehouse). Separate Python/PySpark instruction files point to team standards in a standards folder so the main instructions file stays small.
- 17:20 Demo Depth 300 · Novelty 1/3
Data engineering demo: project overview, T-SQL query, stored procedure and PySpark notebook
Using saved prompt files, Kevin asks Copilot to review the repository (1 min 44 s, 9 steps) and then to write a read-only T-SQL query for quarantined records, which returns 483 rows with unit_price_mismatch in the Silver lakehouse SQL endpoint. A second prompt builds a stored procedure; Copilot validated and built the SQL project, iterating in 17 steps (about 2.5 min), and applied team commenting standards. A third prompt generates a PySpark notebook that, after committing through the branch, returns the same 483 rows in Fabric.
- 22:39 Demo Depth 300 · Novelty 2/3
Power BI demo: adding CSV-sourced descriptions to a semantic model; Fabric IQ preview
Leslie adds the instructions file to chat context and runs an add-descriptions prompt that applies business descriptions from a CSV file to the TMDL of a Power BI project, instructing Copilot to use descriptions verbatim, never invent them, and report only a short list of updated objects, unmatched rows, skipped blanks and missing measures to save tokens. She notes that Fabric IQ was announced this week as available in preview for the GitHub Copilot app, offering a more direct source for business descriptions from ontologies. The model in Power BI Desktop then shows descriptions on tables and fields after a refresh; she advises against having Copilot generate descriptions itself.
- 28:30 Demo Depth 300 · Novelty 1/3
Power BI demo: deterministic layout views via a Copilot-generated script
Leslie runs a prompt that calls a script GitHub Copilot previously created to deterministically generate model layout views, one per report page; it ran in 25 seconds instead of the 6-8 minutes the agent-driven approach takes, using far fewer tokens. A separate read-only prompt checks whether the model (ideally a star schema) suits layout views. The demo hits a snag because Power BI Desktop re-enabled Auto date/time, which creates hidden date tables; she recommends disabling it in both local and global settings, then reruns the prompt.
- 35:56 Closing Depth 200 · Novelty 1/3
Takeaways: context, Git and CI/CD first, and where to start on Monday
Three things to remember: extend existing expertise safely, bring context so the tool knows your standards, and treat Git as the safety net. Without dev/test/prod (or UAT) deployment, teams should put source control and CI/CD in place before adopting AI-assisted coding. Starting points: commit messages and PR descriptions, using Copilot to build the instructions file, ER diagrams, model documentation, Best Practice Analyzer, troubleshooting errors, data quality checks and pipeline expressions.
- 38:30 Deep dive Depth 200 · Novelty 1/3
Prompting patterns for data work and anti-patterns to avoid
Effective prompting patterns: bring context by referencing files with the # symbol, name the exact tables or partitions, ask for tests, and ask what could go wrong (schema drift, 10x volume). Anti-patterns: accepting large fast edits without review, prompting against production instead of dev/test/prod workspaces, skipping tests or test review because something ran, and putting secrets or credentials into prompts.
- 40:47 Closing Depth 100 · Novelty 0/3
Resources, GitHub repos, related sessions and close
The speakers share two GitHub repositories (github.com/kevinjpereira/Ignite2026 and github.com/lesliewelch/Ignite2026) with starter instructions, notebooks, pipeline and semantic model examples, and the presentation PDF. They list learning resources and related sessions, including BRK268 and BRK372, and close the session.
Announcements (2)
-
Autopilot mode in GitHub Copilot (renamed from agent mode)
The autonomous mode that edits multiple files, runs commands and uses tools is now called autopilot mode instead of agent mode.
Speaker’s quote (at 06:50)
„there's this autopilot mode, used to be called agent mode, can act on its own.“
-
Fabric IQ for the GitHub Copilot app
Fabric IQ is available in preview in the GitHub Copilot app, giving a direct way to pull business descriptions from ontologies.
Speaker’s quote (at 26:13)
„One thing that was announced this week is that Fabric IQ is now available in preview for the GitHub Copilot app.“
Demos (4)
-
Prepare a VS Code environment for a data engineer to use GitHub Copilot with a Microsoft Fabric medallion project.
Steps (8)
- Open the Extensions view in Visual Studio Code and install the Microsoft Fabric extension to connect to the Fabric environment.
- Install the MSSQL extension to organise SQL projects that are deployed to the workspace.
- Type 'add MCP' in the Extensions search to switch to MCP server extensions.
- Search 'Fabric' and add the Fabric MCP server.
- Search 'docs' (not 'learn') and add the Microsoft Learn MCP server.
- Open the repository connected to GitHub, working on a personal feature branch.
- Open copilot-instructions.md and press Ctrl+Shift+V to view the Markdown preview.
- Describe the architecture and implementation in the file and reference separate Python/PySpark instruction files that point to team standards in a standards folder.
Prerequisites: GitHub Copilot licence, Visual Studio Code, a GitHub repository connected via Fabric Git integration, and a Fabric capacity (trial is sufficient).
-
A data engineer uses GitHub Copilot to understand an inherited Fabric project and analyse quarantined records repeatably via SQL query, stored procedure and PySpark notebook.
Steps (8)
- Run the saved prompt asking Copilot to review the repository and give technical considerations for the solution.
- Run the saved prompt asking for a targeted read-only T-SQL query on a specific table and field list for quarantined records.
- Open the Silver lakehouse SQL analytics endpoint in the Fabric workspace and execute the generated query.
- Inspect the quarantine reasons (unit price mismatch between transactions and menu prices).
- Run the prompt to build a stored procedure; let Copilot build and validate the SQL project against the instructions.
- Sync the stored procedure to the Fabric warehouse and execute it to get the same output.
- Run the prompt to build a read-only PySpark notebook for the same analysis on named tables.
- Commit through the branch, open the notebook in Fabric, run it and verify the same rows.
Prerequisites: GitHub Copilot licence with AI credits, VS Code with Fabric and MSSQL extensions, a Fabric workspace with Git integration, and the presenter's shared repo with prompts and instructions.
-
A BI developer makes a semantic model AI-ready by applying business descriptions from a CSV to every table and field without manual copy-paste.
Steps (6)
- Open the Power BI project folder in VS Code.
- In Copilot Chat, use the plus button to add copilot-instructions.md as context.
- Prepare a CSV file with descriptions (a repo prompt can generate a template from the model's fields).
- Run the add-descriptions prompt that applies CSV descriptions verbatim to the TMDL files.
- Review the short report of updated objects per table, unmatched rows, skipped blanks and missing measures, then keep the changes.
- Open the project in Power BI Desktop, refresh the data and check descriptions in the model view properties.
Prerequisites: GitHub Copilot licence, VS Code, a Power BI project (PBIP/TMDL) in a Git repo, Power BI Desktop and a CSV with business descriptions.
-
A BI developer creates per-page model layout views to make complex models easier to understand and troubleshoot, using a reusable script to save tokens.
Steps (5)
- Add copilot-instructions.md to the Copilot Chat context.
- Run the layout model views prompt, which calls a deterministic script created earlier by GitHub Copilot.
- Optionally run the read-only layout compatibility check prompt to assess whether the model is close to a star schema.
- Ensure Auto date/time is turned off in Power BI Desktop for both the current file and global settings.
- Rerun the prompt if needed and reopen the project in Power BI Desktop to see a layout view for each report page.
Prerequisites: GitHub Copilot licence, VS Code, a Power BI project in the shared repo, Power BI Desktop with Auto date/time disabled.