microsoft / microsoft/fabric_data_agent_client
service principal authentication
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 36
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Currently, when authenticating a Fabric Data Agent via code, only BrowserCredential and DefaultAzureCredential (CLI-based) flows work reliably.
While this is fine for local development, it becomes a major blocker for containerization and production deployments, where:
- Interactive browser auth is not possible unless VMs are provisioned
- Azure CLI is not available or recommended inside containers
- Headless / non-interactive auth is required
This makes it difficult to deploy Data Agents in:
- Docker containers
- Kubernetes
- CI/CD pipelines
- Cloud-hosted services (App Service, Container Apps, etc.)
Expected behavior
The SDK should support non-interactive, production-grade authentication mechanisms, such as:
- Client Secret–based Service Principal authentication
- Managed Identity (system-assigned / user-assigned)
- Explicit TokenCredential injection without requiring browser or CLI dependencies
These are standard patterns across Azure SDKs and are essential for real-world deployments.
Actual behavior
-
BrowserCredential works only locally and requires user interaction
-
DefaultAzureCredential falls back to Azure CLI, which:
- Is unavailable in containers by default
- Is not a recommended auth mechanism for production workloads
As a result, agents cannot be reliably productionized today.
Why this matters
Without headless authentication support:
- Data Agents remain effectively dev-only
- Teams cannot adopt them in enterprise environments
- CI/CD, automation, and scalable deployments are blocked
This significantly limits real-world adoption.
Request
Please add support and documentation for:
- Service Principal–based authentication
- Managed Identity authentication
- Explicit
TokenCredentialconfiguration patterns suitable for containers
Environment
- SDK: Fabric Data Agent (Python)
- Deployment target: Docker / Cloud-hosted services
- OS: Linux containers
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start at the Python SDK's authentication entry point and trace the existing BrowserCredential and DefaultAzureCredential flows. Done means supporting documented service-principal, managed-identity, and explicit TokenCredential patterns without browser or CLI dependencies, including container-oriented usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- authentication, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100