Azure Code Samples
Learn to interact with Azure services through code
656 code samples match your filter
Demonstrates how you can use a third party library like nxoauth2 to build an iOS application that authenticates Microsoft identity users to our new v2 (converged) identity service and calls a web API using OAuth 2.0 access tokens.
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 java command line program for Windows, Linux, or OS X that demonstrates non-interactive authentication to Azure AD using a username & password.
A console application that demonstrates how to make Differential Query calls to the Graph API, allowing applications to request only changed data from Azure AD tenants.
This sample Java application shows you how to use the Java SDK to upload and download files to Azure Data Lake Store, and do other filesystem operations.
A Python Web App calling the Microsoft Graph API, leveraging ADAL.python
A .NET core daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens to a .NET core web api
Basic example of using Java to create a producer and consumer that work with Kafka on HDInsight. Also a demonstration of the streaming api.
Learn how to use Azure Container Instances with Logic Apps to deploy containers in an event-driven way.
Various examples to perform big data analytics over Microsoft Academic Graph and visualize the results.
A .NET 4.5 daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens.
Samples of authenticating to an Azure Key Vault vault
Demonstrates how you can use a third party library like oidcandroidlib to build an Android application that authenticates Microsoft identity users to our new v2 (converged) identity service and calls a web API using OAuth 2.0 access tokens.
A .NET 4.5 MVC Web API protected by Azure AD that receives tokens from a client and uses ADAL to get tokens for calling a downstream web API with a Conditional Access policy applied to it.
A simple MVC application that demonstrates how to build data-driven .NET Core apps in Azure App Service
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 authentication experience.