Skip navigation

Azure Code Samples

Learn how to interact with Azure services through code

659 code samples match your filter

Integrate Microsoft identity and the Microsoft Graph into a web application using OpenID Connect

A sample showcasing how to develop a web application that handles sign on via the unified Azure AD and MSA endpoint, so that users can sign in using both their work/school account or Microsoft account. The sample also shows how to use MSAL to obtain a token for invoking the Microsoft Graph.

jmprieur by Jean-Marc Prieur,
Last updated: 23/04/2018

Calling a downstream web API from a web API using Azure AD

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 the MIcrosoft Graph

jmprieur by Jean-Marc Prieur,
Last updated: 23/04/2018

Universal Windows Platform (UWP) application calling the Microsoft Graph using Windows 10 Web Account Manager

A Universal Windows Platform (UWP) app that uses the Windows 10 WebAccountManager API to obtain an access token for and call the Azure AD Graph API.

jmprieur by Jean-Marc Prieur,
Last updated: 23/04/2018

Integrate Azure AD B2C into a Xamarin forms app using MSAL

This is a simple Xamarin Forms app showcasing how to use MSAL to authenticate users via Azure Active Directory B2C, and access a Web API with the resulting tokens.

jmprieur by Jean-Marc Prieur,
Last updated: 23/04/2018

This sample has been archived

This sample demonstrates how you can use a third party library to build a Python-Flask application that signs in users and gets an Access Token for the Microsoft Graph.

Azure-Samples by Navya Canumalla,
Last updated: 21/04/2018

This sample has been archived

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.

Azure-Samples by Jean-Marc Prieur,
Last updated: 21/04/2018

Authentication samples for Azure Key Vault using the Azure Python SDK

Samples of authenticating to an Azure Key Vault vault

schaabs by Scott Schaab,
Last updated: 20/04/2018

Getting Started with Azure Search using the REST API

Getting started with Azure Search using the REST API

brjohnstmsft by Bruce Johnston,
Last updated: 20/04/2018

Customer Car Reviews

This is a sample application which acts as a Car Review web site and showcases the Azure Serverless services.

nzthiago by Thiago Almeida,
Last updated: 20/04/2018

Analytics & Visualization Samples for Academic Graph

Various examples to perform big data analytics over Microsoft Academic Graph and visualize the results.

alch-msft by Alvin Chen,
Last updated: 20/04/2018

Getting started with Service Fabric with .NET Core

Get started with Service Fabric with .NET Core

raunakpandya by Raunak Pandya,
Last updated: 20/04/2018

Use Network Watcher and Azure Functions to process VM alerts and intiate a packet capture

The repository contains code and deployment templates for an Azure Function that processes and Azure Monitor Alert and triggers a packet capture using Network Watcher on the VM that triggered the Alert.

mattreatMSFT by mattreatMSFT,
Last updated: 20/04/2018

Getting started with Service Fabric with Java

Getting started with Service Fabric with Java

vturecek by Vaclav Turecek,
Last updated: 19/04/2018

Single-Page Application built using Angular2.4 and MSAL.js with Azure AD B2C

A single page app implemented using Angular 2.4.5 that signs up & signs in users using Azure AD B2C and calls a web API using OAuth 2.0 access tokens. http://aka.ms/aadb2c

parakhj by Parakh Jain,
Last updated: 19/04/2018

Bursting from AKS to ACI with the Virtual Kubelet

Run image recognition from Azure Container Service (AKS) and burst into Azure Container Instances (ACI) with the Virtual-Kubelet.

azure-samples by Azure Samples,
Last updated: 19/04/2018

Azure IoT Samples for iOS Platform

azure-iot-samples-ios provides a set of easy-to-understand, continuously-tested samples for using Azure IoT Hub via Azure/azure-iot-sdk-c.

azure-samples by Azure Samples,
Last updated: 19/04/2018

Getting Started with Azure Search using .NET

Getting Started with Azure Search using .NET

azure-samples by Azure Samples,
Last updated: 18/04/2018