fabric-network-remediate
Skill17 starsChanged 9 months agoMITView on GitHub
Diagnose and resolve Microsoft Fabric network performance issues including connectivity failures, latency, private endpoints, managed VNets, outbound access protection, gateway diagnostics, OneLake endpoint routing, service tag configuration, firewall allowlisting, DNS resolution, and Spark session startup delays. Use when remediate Fabric networking, slow Spark jobs, connection timeouts, private link errors, managed private endpoint approval, or capacity throttling.
In this repository24 other files it gives its agents.
- fabric-data-agent-perf-remediateSkill
- fabric-data-agent-remediateSkill
- fabric-data-agentSkill
- fabric-data-factory-perf-remediateSkill
- fabric-dataflows-perf-remediationSkill
- fabric-delta-spark-perfSkill
- fabric-iqSkill
- fabric-lakehouse-access-controlSkill
- fabric-lakehouse-perf-remediateSkill
- fabric-lakehouse-views-perf-remediateSkill
- fabric-notebook-perf-remediateSkill
- fabric-onelake-perf-remediateSkill
- fabric-pandas-perf-remediateSkill
- fabric-pbi-perf-remediateSkill
- fabric-pbi-security-remediateSkill
- fabric-performance-monitoringSkill
- fabric-pyspark-perf-remediateSkill
- fabric-rest-api-perf-remediateSkill
- fabric-rest-api-remediateSkill
- fabric-rti-perf-remediateSkill
- fabric-spark-compute-perf-remediateSkill
- fabric-spark-compute-remediateSkill
- fabric-spark-perf-remediateSkill
- fabric-udf-perf-remediateSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 8 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 45
Run the diagnostic script for automated assessment:
- Distinctive: line 51
When Private Links or Managed VNets are enabled, Starter Pools are unavailable and Fabric must create clusters on demand, adding 2-5 …
- Distinctive: line 57
If Pending or Failed, see private-endpoint-remediate.md
- Distinctive: line 66
Run the automated validation:
- Distinctive: line 95
When outbound access protection is enabled, public repositories (PyPI, Conda) are blocked.
- Distinctive: line 109
When all Spark VCores are consumed, new jobs receive HTTP 430 errors.
- Distinctive: line 111
Check current utilization in the Monitoring Hub
- Distinctive: line 113
Consider upgrading capacity SKU if sustained
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Microsoft Fabric Network Performance remediate
Systematic toolkit for diagnosing and resolving network performance issues across Microsoft Fabric workloads including Spark, OneLake, Data Warehouse, Pipelines, and Dataflows.
When to Use This Skill
- Fabric Spark sessions take longer than expected to start (>10 seconds)
- Connection timeouts to external data sources from notebooks or pipelines
- Managed private endpoint status shows Pending or Failed
- DNS resolution returns public IPs instead of private IPs
- Outbound access protection blocks required dependencies (PyPI, Conda)
- On-premises data gateway connectivity failures
- OneLake API calls returning 403 or timeout errors
- Capacity throttling errors (HTTP 430)
- Dataflow Gen2 staging failures behind firewalls
- Cross-workspace environment attachment failures due to network mismatch
Prerequisites
- PowerShell 7+ with Az module installed (
Install-Module Az -Scope CurrentUser) - Fabric Admin or Workspace Admin role for network configuration changes
- Azure portal access for Private Link Service and DNS zone management
- Network access to run
nslookup,Test-NetConnection, andResolve-DnsName
Step-by-Step Workflows
Workflow 1: Diagnose Spark Session Startup Delays
Spark startup times vary based on networking configuration. Consult the reference table:
| Scenario | Typical Startup Time |
| Default settings, no libraries | 5-10 seconds |
| Default settings + library dependencies | 5-10 sec + 30 sec-5 min |
| High traffic in region, no libraries | 2-5 minutes |
| High traffic + library dependencies | 2-5 min + 30 sec-5 min |
| Network security (Private Links/VNet) | 2-5 minutes |
| Network security + library dependencies | 2-5 min + 30 sec-5 min |
Run the diagnostic script for automated assessment:
.\scripts\Test-FabricNetworkHealth.ps1 -WorkspaceId "<workspace-id>" -CheckType SparkStartupWhen Private Links or Managed VNets are enabled, Starter Pools are unavailable and Fabric must create clusters on demand, adding 2-5 minutes to session start time.
Workflow 2: Validate Managed Private Endpoint Connectivity
- Navigate to Fabric workspace Settings > Network security
- Under Managed private endpoints, verify Status shows Approved
- If Pending or Failed, see private-endpoint-remediate.md
- Validate DNS routing from a Fabric Notebook:
nslookup sqlserver.corp.contoso.comConfirm the returned IP is a private range (10.x.x.x or 172.x.x.x), not public.
- Run the automated validation:
.\scripts\Test-FabricNetworkHealth.ps1 -WorkspaceId "<workspace-id>" -CheckType PrivateEndpointWorkflow 3: Configure Firewall Allowlisting
Fabric requires specific endpoints and service tags. Run the firewall audit script:
.\scripts\Test-FabricNetworkHealth.ps1 -CheckType FirewallEndpointsFor the complete endpoint reference, see firewall-endpoints.md.
Key service tags for Azure Firewall / NSG rules:
| Tag | Purpose | Direction |
| Power BI | Fabric core services | Both |
| DataFactory | Pipeline operations | Both |
| PowerQueryOnline | Dataflow processing | Both |
| SQL | Warehouse connectivity | Outbound |
| EventHub | Real-Time Analytics | Outbound |
| KustoAnalytics | Real-Time Analytics | Both |
Workflow 4: Troubleshoot Outbound Access Protection
When outbound access protection is enabled, public repositories (PyPI, Conda) are blocked. To install libraries in secured environments:
- Prepare a
requirements.txton a machine with internet access - Download packages and dependencies using pip:
pip download -r requirements.txt -d ./packages- Upload packages as custom libraries in the Fabric Environment
- See outbound-access-guide.md for detailed steps
Workflow 5: Resolve Capacity Throttling (HTTP 430)
When all Spark VCores are consumed, new jobs receive HTTP 430 errors. Formula: 1 Capacity Unit = 2 Spark VCores.
- Check current utilization in the Monitoring Hub
- Cancel idle or stuck Spark sessions
- Consider upgrading capacity SKU if sustained
- Enable queueing for pipeline and Spark Job Definition workloads
For queue limits by SKU, see capacity-throttling.md.
remediate Quick Reference
| Symptom | Likely Cause | First Action |
| Spark startup >2 min | Private Link/VNet enabled | Expected; Starter Pools unavailable |
| Connection timeout from Spark | Firewall blocking Fabric subnet | Open required ports (1433 for SQL) |
| DNS resolves to public IP | Private DNS zone not linked | Add A record pointing to private IP |
| MPE status = Failed | PLS rejected or deleted | Re-create MPE, verify PLS exists |
| HTTP 430 error | Capacity VCores exhausted | Cancel jobs or upgrade SKU |
| PyPI install blocked | Outbound access protection | Upload packages as custom libraries |
| Cross-workspace env fails | Network settings mismatch | Ensure same capacity and network config |
| OneLake API 403 | Endpoint URL validation | Use *.dfs.fabric.microsoft.com |
References
- Private Endpoint remediate
- Firewall Endpoints and Allowlist
- Outbound Access Protection Guide
- Capacity Throttling and Queue Limits
- Diagnostic Report Template
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

