Azure Samples
Azure Samples
active-directory-dotnet-daemon-certificate-credential
A .NET 4.5 daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens.
active-directory-dotnet-deviceprofile
This sample demonstrates how to leverage ADAL .NET to authenticate user calls to a web API (in this case, the directory Graph) from apps that do not have the capability of offering an interactive auth...
active-directory-dotnet-external-identities-api-connector-azure-function-validate
.NET Core Azure Function for use with API connector to validate user attributes on external user self service sign-up
active-directory-dotnet-graphapi-console
A .NET console application that performs various queries against the Azure AD Graph API using both user identities and application identities.
active-directory-dotnet-webapp-openidconnect-aspnetcore-v2
An ASP.NET Core web application that signs-in users with Microsoft Accounts and Azure AD Accounts from multiple Azure AD directories
active-directory-javascript-singlepageapp-dotnet-webapi-v2
A JavaScript based single page app with a .NET backend that authenticates users for AzureAD, Microsoft personal and work accounts, and more, and calls the backend web api using access tokens, without...
ms-identity-android-native
[DEPRECATED]An Android app showcasing how to use MSAL to authenticate MSA and Azure AD via the converged v2.0 authentication endpoint, and access the Microsoft Graph with the resulting token.
active-directory-dotnet-iwa-v2
.NET console application letting a user acquire a token for the Microsoft Graph using Integrated Windows Authentication (on domain joined or AAD joined machines)
azure-search-openai-demo
A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
contoso-real-estate
Intelligent enterprise-grade reference architecture for JavaScript, featuring OpenAI integration, Azure Developer CLI template and Playwright tests.