Skip Navigation

Azure Code Samples

Learn to interact with Azure services through code

769 code samples match your filter

Integrate Microsoft identity and the Microsoft Graph into a Xamarin forms app using MSAL

This is a simple Xamarin Forms app showcasing how to use MSAL to authenticate MSA and Azure AD via the converged MSA and Azure AD authentication endpoints, and access the Microsoft Graph with the resulting token.

jmprieur by Jean-Marc Prieur,
Last updated: 2/23/2019

Calling an ASP.NET Core Web API from a WPF application using Azure AD V2

Calling a ASP.NET Core Web API from a WPF application using Azure AD v2.0

jmprieur by Jean-Marc Prieur,
Last updated: 2/23/2019

WPF application signing in users with Microsoft and calling the Microsoft Graph

Sample showing how a windows Desktop .NET (WPF) application can get an access token using MSAL.NET and call the Microsoft Graph API or other APIs protected by Azure Active Directory v2

jmprieur by Jean-Marc Prieur,
Last updated: 2/23/2019

Universal Windows Platform application signing in users with Microsoft and calling the Microsoft Graph

A Windows Universal Platform client application using msal.net, accessing the Microsoft Graph for a user authenticating with Azure AD V2 endpoint

jmprieur by Jean-Marc Prieur,
Last updated: 2/23/2019

.NET Core Console application letting users sign-in with Username/password to call Microsoft Graph API

A .NET Core 2.1 console application which gets an access token to call the graph using a username and password

jmprieur by Jean-Marc Prieur,
Last updated: 2/23/2019

A .NET Core 2.x simple daemon console application calling the graph with its own identity

A .NET Core 2.x simple daemon console application calling the graph with its own identity

jmprieur by Jean-Marc Prieur,
Last updated: 2/23/2019

Invoking an API protected by Azure AD from a text-only device

.NET Core 2.1 console application letting a user acquire a token for the Microsoft Graph by signing in through another device having a Web browser, with the Azure AD v2.0 endpoint

jmprieur by Jean-Marc Prieur,
Last updated: 2/23/2019

Sample Android application for TensorFlow models exported from Custom Vision Service

Sample Anroid app for image classification using a TensorFlow model exported from Microsoft Cognitive Services Custom Vision

aminbagheri by aminbagheri,
Last updated: 2/22/2019

Build an app with admin restricted scopes using the v2.0 endpoint

An ASP.NET MVC application that shows how to use the Azure AD v2.0 endpoint to collect consent for permissions that require administrative consent.

jmprieur by Jean-Marc Prieur,
Last updated: 2/22/2019

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: 2/22/2019

Invoking an API protected by Azure AD with Integrated Windows Authentication, on a Windows domain jointed or AAD joined machine

.NET console application letting a user acquire a token for the Microsoft Graph using Integrated Windows Authentication (on domain joined or AAD joined machines)

jmprieur by Jean-Marc Prieur,
Last updated: 2/22/2019

Microsoft Azure Blockchain Workbench

Azure Blockchain Content and Samples

mmercuri by mmercuri,
Last updated: 2/22/2019

An ASP.NET Core web app with Azure AD B2C

An ASP.NET Core web application that can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API.

dstrockis by Danny Strockis,
Last updated: 2/21/2019

WPF application signing in users with Azure Active Directory B2C and calling an API

Sample showing how a Windows Desktop .NET (WPF) application can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API.

jmprieur by Jean-Marc Prieur,
Last updated: 2/21/2019

Azure Media Services v3 Node samples

This repository contains Azure Media Services v3 node.js tutorials

Juliako by Julia Kornich,
Last updated: 2/21/2019

Media Services: Integrating Azure Media Services with Azure Functions and Logic Apps

Sample Azure Functions for use with Azure Media Services. Ingest from Azure Blobs, encode and output to Azure Blobs, monitor encoding progress, and use WebHooks or Queues to hook into the workflow.

johndeu by John Deutscher,
Last updated: 2/20/2019

Using the Circuit Breaker pattern in your HA apps with RA-GRS Storage

Shows how to implement the Circuit Breaker pattern for HA apps using RA-GRS Storage

robinsh by Robin Shahan,
Last updated: 2/20/2019

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, as well as incrementental consent.

jmprieur by Jean-Marc Prieur,
Last updated: 2/20/2019