active-directory-aspnetcore-webapp-openidconnect-v2
Add sign-in, API calls, and authorization to ASP.NET Core web apps.
Add sign-in, API calls, and authorization to ASP.NET Core web apps.
This chapter-based tutorial incrementally adds Microsoft identity features to an ASP.NET Core web application. It starts with user sign-in, then covers calling Microsoft Graph or your own APIs, role and group authorization, and deployment to Azure, with complete code available for individual stages. The examples address organizational, multitenant, personal-account, and sovereign-cloud scenarios, but exclude daemon applications that call APIs using the app's own identity.
Resource types
Use cases
Audience
Public GitHub facts last synced Jul 14, 2026.
Build a protected ASP.NET Core API called from a WPF client.
Make coding agents consult live Tensorlake documentation before writing SDK code.
Learn how a WPF app signs in users and calls Microsoft Graph.
Guide Claude Code through modern Solana dApp and on-chain program development.