Official samples WebAppSignIn Overview App registration Code configuration Sign-in and sign-out WebApp that calls WebAPI Overview App registration Code configuration Global sign-out Acquire token for the app Call a web API WebAPI Overview App registration Code configuration Verification of scopes or app roles Blazor Server HostedAAD StandaloneAAD Other samples On Behalf Of flow B2C