AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

entra-app-registration

Guides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure OAuth, set up authentication, add API permissions, generate service principal, MSAL example, console app auth, Entra ID setup, Azure AD authentication. DO NOT USE FOR: Key Vault secrets (use azure-keyvault-expiration-audit), general Azure resource security guidance.

Original source
microsoft
License
MIT
Pinned revision
3f5b461b2314e01c400564051e92469114c5b68f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read microsoft--entra-app-registration at revision 3f5b461b2314e01c400564051e92469114c5b68f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 16

references/sdk/azure-identity-py.md

Authentication — Python SDK Quick Reference

Condensed from azure-identity-py. Full patterns (async, ChainedTokenCredential, token caching, all credential types) in the azure-identity-py plugin skill if installed.

Install

pip install azure-identity

Quick Start

Auth: DefaultAzureCredential is for local development. See auth-best-practices.md for production patterns.

from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()

Best Practices

  • Use DefaultAzureCredential for local development only (CLI, PowerShell, VS Code). In production, use ManagedIdentityCredential — see auth-best-practices.md
  • Never hardcode credentials — use environment variables or managed identity
  • Prefer managed identity in production Azure deployments
  • Use ChainedTokenCredential when you need a custom credential order
  • Close async credentials explicitly or use context managers
  • Set AZURE_CLIENT_ID env var for user-assigned managed identities
  • Exclude unused credentials to speed up authentication