Compétences entra-app-registration
🔐

entra-app-registration

Sûr

Microsoft Entra ID アプリケーションの登録

このスキルは、Microsoft Entra ID でのアプリケーション登録、OAuth 2.0 認証フローの設定、および複数のプログラミング言語での MSAL ライブラリの統合に関するステップバイステップのガイダンスを提供します。

Prend en charge: Claude Codex Code(CC)
🥉 76 Bronze
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "entra-app-registration". Create an app registration for a web app using Azure CLI

Résultat attendu:

  • Step 1: Register the app
  • az ad app create --display-name 'MyWebApp' --sign-in-audience AzureADMyOrg
  •  
  • Step 2: Add redirect URI
  • az ad app update --id <app-id> --web-redirect-uris 'https://localhost:5001/signin-oidc'
  •  
  • Step 3: Configure implicit flow (if needed)
  • az ad app update --id <app-id> --oauth2-allow-implicit-flow true

Utilisation de "entra-app-registration". Add Microsoft Graph permissions to existing app

Résultat attendu:

  • az ad app permission add --id <app-id> --api 00000003-0000-0000-c000-000000000000 --api-permissions 311dfae8-5d4b-4b4b-4b4b-4b4b4b4b4b4b=Scope
  •  
  • Grant admin consent:
  • az ad app permission admin-consent --id <app-id>

Audit de sécurité

Sûr
v1 • 2/20/2026

All 529 static findings are false positives. The skill is official Microsoft documentation for Entra ID app registration, OAuth 2.0 flows, and MSAL integration. Detected patterns (external_commands, network, filesystem, env_access) are legitimate documentation showing Azure CLI commands and Microsoft endpoint URLs.

16
Fichiers analysés
2,657
Lignes analysées
0
résultats
1
Total des audits
Aucun problème de sécurité trouvé

Motifs détectés

Documentation False Positives
Audité par: claude

Score de qualité

50
Architecture
100
Maintenabilité
87
Contenu
50
Communauté
100
Sécurité
83
Conformité aux spécifications

Ce que vous pouvez construire

初回アプリ登録

Microsoft Entra ID での初めてのアプリケーション登録を開発者に案内。アプリタイプの選択、リダイレクト URI の設定、認証のセットアップなど。

コンソールアプリの認証

MSAL ライブラリとインタラクティブログインフローを使用して、コンソールアプリケーションにユーザー認証を追加する方法を開発者に提供。

サービス間認証

バックグラウンドジョブと API 用のクライアントクレデンシャルフローを使用した、デーモンまたはサービス認証の実装をガイド。

Essayez ces prompts

新規アプリ登録の作成
Help me create a new app registration in Microsoft Entra ID for a web application. I need to configure OAuth 2.0 authentication.
API 権限の追加
How do I add Microsoft Graph API permissions to my Entra ID app registration? I need User.Read and Mail.Send permissions.
クライアントクレデンシャルフローの設定
Show me how to implement client credentials flow for a daemon service that needs to call Microsoft Graph API without user interaction.
トークンエラーのトラブルシューティング
My MSAL authentication is failing with error AADSTS50011. How do I fix the redirect URI mismatch?

Bonnes pratiques

  • 本番環境の Web アプリではクライアントシークレットの代わりに証明書を使用する
  • 必要最小限の API 権限のみを要求する(最小権限の原則)
  • シークレットの保存を避けるため、Azure ホスト型アプリにはマネージド ID を使用する
  • セキュリティとユーザー体験のバランスを考慮してトークン有効期間ポリシーを設定する

Éviter

  • ソースコードや設定ファイルにクライアントシークレットをハードコーディングする
  • コンフィデンシャルクライアントにインプリシットフローを使用する(代わりに認証コードフローを使用)
  • アプリに不要な過剰な権限を要求する
  • 本番環境アプリケーションでトークン検証をスキップする

Foire aux questions

アプリ登録とエンタープライズアプリケーションの違いは何ですか?
アプリ登録はテナント内にアプリ定義を作成します。エンタープライズアプリケーションは、アプリが使用される各テナントでアプリを表すサービスプリンシパルインスタンスです。
クライアントシークレットと証明書はいつ使用すべきですか?
本番環境では証明書の方が安全なため、証明書を使用してください。クライアントシークレットは開発用としてはシンプルですが、頻繁にローテーションする必要があります。
テナント ID の目的は何ですか?
テナント ID は、アプリが登録されている Azure AD 組織(ディレクトリ)を識別します。認証リクエストに必要です。
シングルサインオン(SSO)を実装するにはどうすればよいですか?
Microsoft Entra ID にアプリを登録し、同じ認証エンドポイントを使用するように設定します。既に Entra にサインインしているユーザーは自動的に認証されます。
MSAL とは何ですか?なぜ使用すべきですか?
MSAL(Microsoft Authentication Library)は、Microsoft ID プラットフォームと統合するための推奨ライブラリです。トークンのキャッシュ、更新、更新を自動的に処理します。
登録後にアプリケーション ID を取得するにはどうすればよいですか?
アプリケーション ID(クライアント ID)は、Azure CLI でアプリを作成したときに返されます。または、Azure Portal の App registrations で確認できます。