microsoft avatar

Entra App Registration Skill

Works in Grok Bot

Installs
779k
Repo stars
1.7k
Security scans passed
3/3
Publisher
Verified official
License
MIT
Repo updated
Nov 27, 2026

TL;DR

Entra App Registration skill: Guides Microsoft Entra ID app registration end to end: register the app in the portal, CLI or Bicep, configure authentication per app type, grant API permissions such as Microsoft Graph User.Read, create a client secret, certificate or federated credential, and implement the OAuth 2.0 flow with MSAL.

Install if

Developers registering a web app, SPA, console app or daemon in Entra ID who need correct redirect URIs, permissions and credentials.

Skip if

Not for Key Vault secret expiry (use azure-keyvault-expiration-audit) or general Azure resource security guidance.

npx skills add https://github.com/microsoft/azure-skills --skill entra-app-registration
On this page
  1. What entra-app-registration covers
  2. entra-app-registration by the numbers
  3. What does the Entra App Registration skill produce?
  4. What files ship with entra-app-registration?
  5. Which skills are related to entra-app-registration?
  6. How does entra-app-registration compare?
  7. Entra App Registration skill FAQ
  8. More in this repo

What entra-app-registration covers

  • Five-step workflow from registration to OAuth flow
  • Covers web, SPA, mobile and daemon app types
  • Azure CLI az ad app commands plus a Bicep example
  • MSAL for .NET, JavaScript, TypeScript and Python
  • Security table: certificates, least privilege, no hardcoded secrets

entra-app-registration by the numbers

All-time installs778,893 (779k)skills.sh registry
Repo stars★ 1.7kGitHub
Security audit3 / 3 scanners passedskills.sh audit
Repo last updatedNovember 27, 2026GitHub
LicenseMITSKILL.md / GitHub
Repositorymicrosoft/azure-skills ↗

Data as of Nov 29, 2026 (Skillselion catalog sync)

  • 5-step core workflow
  • 4 application types
  • 3 MSAL languages: .NET, JavaScript, Python

What can the entra-app-registration skill do in Claude Code?

Free MIT-licensed skill; requires an Azure AD/Entra tenant.

Capabilities
app registration · oauth setup · msal integration · service principal creation
Works with
azure
Use cases
security audit
Runs
Hosted SaaS
Pricing
Free
From the docs

What entra-app-registration says it does

MSAL is the recommended library for integrating Microsoft identity platform.
SKILL.md
| **Use certificates over secrets** | More secure for production |
SKILL.md
Use Client Credentials flow
SKILL.md

What does the Entra App Registration skill produce?

A configured Entra ID app registration with redirect URIs, API permissions, credentials, and working MSAL code to paste into the app.

  • An Entra ID app registration
  • Configured OAuth permissions and credentials
  • MSAL code snippet

What files ship with entra-app-registration?

SKILL.mdMarkdownGitHub ↗

Overview

Microsoft Entra ID (formerly Azure Active Directory) is Microsoft's cloud-based identity and access management service. App registrations allow applications to authenticate users and access Azure resources securely.

Key Concepts
ConceptDescription
App RegistrationConfiguration that allows an app to use Microsoft identity platform
Application (Client) IDUnique identifier for your application
Tenant IDUnique identifier for your Azure AD tenant/directory
Client SecretPassword for the application (confidential clients only)
Redirect URIURL where authentication responses are sent
API PermissionsAccess scopes your app requests
Service PrincipalIdentity created in your tenant when you register an app
Application Types
TypeUse Case
Web ApplicationServer-side apps, APIs
Single Page App (SPA)JavaScript/React/Angular apps
Mobile/Native AppDesktop, mobile apps
Daemon/ServiceBackground services, APIs

Core Workflow

Step 1: Register the Application

Create an app registration in the Azure portal or using Azure CLI.

Portal Method:

  1. Navigate to Azure Portal → Microsoft Entra ID → App registrations
  2. Click "New registration"
  3. Provide name, supported account types, and redirect URI
  4. Click "Register"

CLI Method: See references/cli-commands.md IaC Method: See references/BICEP-EXAMPLE.bicep

It's highly recommended to use the IaC to manage Entra app registration if you already use IaC in your project, need a scalable solution for managing lots of app registrations or need fine-grained audit history of the configuration changes.

Step 2: Configure Authentication

Set up authentication settings based on your application type.

  • Web Apps: Add redirect URIs, enable ID tokens if needed
  • SPAs: Add redirect URIs, enable implicit grant flow if necessary
  • Mobile/Desktop: Use http://localhost or custom URI scheme
  • Services: No redirect URI needed for client credentials flow
Step 3: Configure API Permissions

Grant your application permission to access Microsoft APIs or your own APIs.

Common Microsoft Graph Permissions:

  • User.Read - Read user profile
  • User.ReadWrite.All - Read and write all users
  • Directory.Read.All - Read directory data
  • Mail.Send - Send mail as a user

Details: See references/api-permissions.md

Step 4: Create Client Credentials (if needed)

For confidential client applications (web apps, services), create a client secret, certificate or federated identity credential.

Client Secret:

  • Navigate to "Certificates & secrets"
  • Create new client secret
  • Copy the value immediately (only shown once)
  • Store securely (Key Vault recommended)

Certificate: For production environments, use certificates instead of secrets for enhanced security. Upload certificate via "Certificates & secrets" section.

Federated Identity Credential: For dynamically authenticating the confidential client to Entra platform.

Step 5: Implement OAuth Flow

Integrate the OAuth flow into your application code.

See:

  • references/oauth-flows.md - OAuth 2.0 flow details
  • [references/console-app-example.md](referen

Which skills are related to entra-app-registration?

How does entra-app-registration compare?

Use entra-app-registration for application identity and OAuth; use azure-rbac for resource-level role assignments on Azure services.

Entra App Registration skill FAQ

Who is the Entra App Registration skill for?

Developers registering a web app, SPA, console app or daemon in Entra ID who need correct redirect URIs, permissions and credentials. Not for Key Vault secret expiry (use azure-keyvault-expiration-audit) or general Azure resource security guidance.

When should I use entra-app-registration?

Invoke when asked to create an app registration, register an Azure AD app, configure OAuth, add API permissions or generate a service principal.

Which OAuth flow suits a background service?

Service-to-service auth uses the client credentials flow, which needs no redirect URI. You choose a secret or certificate for the app.

Should I use a client secret or a certificate?

The skill recommends certificates over secrets for production, with secrets stored in Key Vault and rotated. Managed identity avoids secrets for Azure-hosted apps.

Can I register the app with code instead of the portal?

Yes. The skill covers az ad app create and related CLI commands, and recommends Bicep IaC when you already use IaC or manage many registrations.

Is Entra App Registration safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Add a entra-app-registration badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Get the embed code
Securitysecretsappsec

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.