Skip to main content
AI/MLCrestApps

orchardcore-microsoft-auth

Skill for configuring Microsoft authentication in Orchard Core. Covers Microsoft Account login, Microsoft Entra ID (Azure AD) integration, Azure app registration, multi-tenant support, recipe-based configuration, configuration overrides, and callback URL setup. Use this skill when requests mention Orchard Core Microsoft Authentication, Microsoft Account Authentication, Microsoft Account Settings, Microsoft Account Configuration Override, Microsoft Entra ID (Azure Active Directory) Authentication, Entra ID Settings, or closely related Orchard Core implementation, setup, extension, or troubleshooting work. Strong matches include work with OrchardCore.Microsoft.Authentication, OrchardCore.Users.Registration, ConfigureMicrosoftAccountSettings, OrchardCoreBuilder. It also helps with Microsoft Entra ID (Azure Active Directory) Authentication, Entra ID Settings, Multi-Tenant App Registrations, plus the code patterns, admin flows, recipe steps, and referenced examples captured in this skill.

Stars
13
Source
CrestApps/CrestApps.AgentSkills
Updated
2026-05-29
Slug
CrestApps--CrestApps.AgentSkills--orchardcore-microsoft-auth
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/CrestApps/CrestApps.AgentSkills/HEAD/plugins/orchardcore/skills/orchardcore-microsoft-auth/SKILL.md -o .claude/skills/orchardcore-microsoft-auth.md

Drops the SKILL.md into .claude/skills/orchardcore-microsoft-auth.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Orchard Core Microsoft Authentication

Enable one or both external-authentication features:

Feature ID Settings path
OrchardCore.Microsoft.Authentication.MicrosoftAccount Settings → Security → Authentication → Microsoft
OrchardCore.Microsoft.Authentication.AzureAD Settings → Security → Authentication → Microsoft Entra ID

Both depend on OrchardCore.Users.ExternalAuthentication. Register each tenant's exact HTTPS callback URL at the provider.

Microsoft Account

The default callback path is /signin-microsoft. The module's recipe handler is named MicrosoftAccountSettings:

{
  "steps": [
    {
      "name": "Feature",
      "enable": [
        "OrchardCore.Microsoft.Authentication.MicrosoftAccount"
      ]
    },
    {
      "name": "MicrosoftAccountSettings",
      "AppId": "microsoft-application-id",
      "AppSecret": "supply-from-a-secret-store",
      "CallbackPath": "/signin-microsoft"
    }
  ]
}

Microsoft Entra ID

The Entra recipe handler is AzureADSettings:

{
  "steps": [
    {
      "name": "Feature",
      "enable": [
        "OrchardCore.Microsoft.Authentication.AzureAD"
      ]
    },
    {
      "name": "AzureADSettings",
      "DisplayName": "Sign in with Microsoft Entra ID",
      "AppId": "entra-application-id",
      "TenantId": "organizations",
      "CallbackPath": "/signin-oidc"
    }
  ]
}

Use the specific configuration extension for environment-backed secrets and enable OrchardCore.Users.Registration only when external identities may create local Orchard users.