Azure Code Samples
Learn to interact with Azure services through code
51 code samples match your filter
A web application that sync's data from the Microsoft Graph using the identity of the application, instead of on behalf of a user.
A .NET 4.5 multi-tenant web API that is secured using Azure AD and OAuth 2.0 access tokens, and accepts calls from Azure AD users in any tenant via a Windows Store client.
A sample .NET 4.5 MVC web app that signs-up and signs-in users from any Azure AD tenant using OpenID Connect.
An ASP.NET Core web application that authenticates Azure AD users from any tenant and calls a web API using OAuth 2.0 access tokens.
A sample .NET 4.5 MVC SaaS web app that signs-up and signs-in users from any Azure AD tenant, and calls the Azure AD Graph API.
A .NET 4.5 MVC web app that uses Azure AD application roles for authorization.
An ASP.NET Core web application that signs-in Azure AD users from a single Azure AD tenant.
How to manually process a JWT access token in a web API using the JSON Web Token Handler For the Microsoft .Net Framework 4.5.
A server app that uses Azure AD and the ADAL4J library for authenticating the user and calling a web API using OAuth 2.0 access tokens.
A Windows console application that calls a web API using its app identity (instead of a user's identity) to get access tokens in an unattended job or process.
A windows desktop program that demonstrates non-interactive authentication to Azure AD using a username & password, and optionaly windows integrated authentication.
An ASP.NET Core 2.0 Web App which lets sign-in users with work and school or Microsoft personal accounts
A .NET MVC web application that uses OpenID Connect to sign-in users from a single Azure Active Directory tenant.
A Python Web App calling the Microsoft Graph API, leveraging ADAL Python
This PHP sample application demonstrates how to Read and Write tenant data to Azure Active Directory using the AAD Graph API
A demo web application that uses Azure AD for sign up & sign in and calls the Azure AD Graph API to search for users.
A .NET MVC web application that uses WS-Federation to sign-in users from a single Azure Active Directory tenant, using the ASP.Net WS-Federation OWIN middleware.