Technical & DevelopmentIntermediate
azure-identity-dotnet
Microsoft Entra ID authentication
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/microsoft/skills --skill azure-identity-dotnetnpx skills add https://github.com/microsoft/skills --skill azure-identity-dotnetOr paste this URL into your assistant to install:
Overview
What This Skill Does
Azure Identity is the authentication library for .NET Azure SDK clients. It handles credential acquisition against Microsoft Entra ID, supporting managed identities, service principals, developer tools, and interactive flows through a unified API. DefaultAzureCredential automatically tries multiple auth methods in sequence, so the same code works in local dev and production.
Application
When to use this Skill
- Configuring integration settings for custom agent workflows.
- Optimizing query execution and response latency in production.
- Developing clean, standard-compliant implementations for enterprise services.
- Troubleshooting connection timeouts and authentication handshakes.
- Monitoring API rate limits and execution pipelines programmatically.
Documentation
Show Skills.md file
Azure Identity library for .NET
Authentication library for Azure SDK clients using Microsoft Entra ID.
Installation
dotnet add package Azure.Identity
# For ASP.NET Core integration
dotnet add package Microsoft.Extensions.Azure
# For brokered authentication and Visual Studio Code credential support
dotnet add package Azure.Identity.Broker
Environment Variables
Service Principal with Secret
AZURE_CLIENT_ID=<application-client-id>
AZURE_TENANT_ID=<directory-tenant-id>
AZURE_CLIENT_SECRET=<client-secret-value>
Lines 1 - 25 of 325
Recommendations
Explore other random skills
TechnicalIntermediate
insecure-defaults
Detect insecure default configurations like hardcoded secrets, default credentials, and weak crypto
TechnicalIntermediate
differential-review
Security-focused diff review with git history analysis
TechnicalIntermediate
sharp-edges
Identify error-prone APIs and dangerous configurations