agentsclimarketplace

Fabric data agent remediate

Skill PatrickGallucci/fabric-skills/skills/fabric-data-agent-remediate

Copilot, Claude AI Skills for Microsoft Fabric

Install
npx -y skills add PatrickGallucci/fabric-skills --skill fabric-data-agent-remediate

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 16 stars16 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Diagnose and resolve Microsoft Fabric Data Agent issues including tenant settings, data source configuration, query generation failures, cross-region capacity errors, XMLA endpoint setup, Power BI semantic model integration, lakehouse/warehouse/KQL connectivity, example query validation, publishing/sharing problems, and Azure AI Foundry integration. Use when asked to troubleshoot data agent, fix Fabric AI agent, debug NL2SQL/NL2DAX/NL2KQL, resolve Copilot tenant settings, or diagnose Fabric data agent errors.

The file declares its own license as Complete terms in LICENSE.txt. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.3 KB, as published. Nobody here has run it

Fabric Data Agent remediate

Structured remediate guide for diagnosing and resolving issues with Microsoft Fabric Data Agent (preview). Covers the full lifecycle from tenant configuration through data source setup, query tuning, publishing, and external integration.

When to Use This Skill

  • Fabric data agent cannot be created or is missing from the workspace
  • Data agent returns errors, empty results, or inaccurate queries
  • Tenant settings are misconfigured for Copilot and Azure OpenAI
  • Power BI semantic model data source fails to connect (XMLA)
  • Cross-region capacity errors prevent query execution
  • Example queries fail validation or are ignored by the agent
  • Published data agent is inaccessible to shared users
  • Azure AI Foundry or Copilot Studio integration issues
  • Agent generates incorrect SQL, DAX, or KQL queries
  • Conversation history is lost or not persisting

Prerequisites

  • Microsoft Fabric capacity: F2 or higher (or Power BI Premium P1+ with Fabric enabled)
  • Fabric Admin Portal access (for tenant settings)
  • At least one data source with data: lakehouse, warehouse, Power BI semantic model, KQL database, or ontology
  • Workspace Contributor (or higher) permissions
  • PowerShell 7+ recommended for diagnostic scripts

Quick Diagnosis Workflow

Follow this decision tree to rapidly identify your issue category:

  1. Cannot create data agent? → See Tenant Settings Checklist
  2. Data agent created but queries fail? → See Query remediate
  3. Data source not appearing or erroring? → See Data Source Connectivity
  4. Published agent inaccessible? → See Publishing and Sharing
  5. Integration with Foundry/Teams failing? → See External Integration

Known Limitations (Preview)

These are product limitations, not configuration errors. Do not troubleshoot these as bugs:

LimitationDetail
Read-only queriesAgent generates only SELECT/read queries; no INSERT, UPDATE, or DELETE
English onlyNon-English questions, instructions, and examples are not supported
No unstructured dataPDF, DOCX, TXT files cannot be used as data sources
Lakehouse filesAgent reads lakehouse tables only, not standalone CSV/JSON files
Fixed LLMThe underlying LLM model cannot be changed
Max 5 data sourcesUp to five data sources in any combination per agent
Max 100 example queriesPer data source limit for example query pairs
Cross-region blockedData source and agent capacities must be in the same region
Conversation historyMay reset during backend updates or model upgrades
No PBI example queriesPower BI semantic models do not support sample query/question pairs

Common Error Patterns

SymptomLikely CauseQuick Fix
"Data agent" item type missingTenant setting disabledEnable "Fabric data agent" in Admin Portal
Agent created but no responseCopilot tenant switch offEnable "Users can use Copilot and other features powered by Azure OpenAI"
Cross-geo processing errorCross-geo settings disabledEnable both cross-geo processing AND storing settings
XMLA connection failureXMLA endpoints not enabledEnable "Allow XMLA endpoints" in Integration settings
Query returns empty/wrong resultsPoor table/column names or missing examplesAdd descriptive names and example query pairs
"Cannot execute query" errorCapacity region mismatchMove agent or data source to same region capacity
First queries fail after creationAgent initialization delayWait 2-3 minutes after creation before querying
Example queries ignoredInvalid SQL/KQL syntaxValidate all example queries match schema exactly
Published agent not visiblePermissions not sharedShare agent with Read permission to target users
403 Forbidden on data sourceUser lacks data accessGrant workspace Contributor or data Read permissions

Diagnostic Script

Run the Fabric Data Agent Diagnostic PowerShell script to validate tenant settings and connectivity prerequisites programmatically.

./scripts/Test-FabricDataAgentConfig.ps1 -WorkspaceId "<guid>" -Verbose

Configuration Validation Template

Use the Configuration Checklist template to document and track your data agent configuration for team handoff or support tickets.

References

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.