Azure Code Samples

Learn to interact with Azure services through code

603 code samples match your filter

Use Key Vault from App Service with Managed Service Identity and Nodejs

Sample that shows how to fetch a secret from Azure Key Vault at run-time from an App Service with a Managed Service Identity (MSI) and Node.

williexu by Willie Xu,
Last updated: 1/23/2018

AzureStack-AdminPowerShell-OMSIntegration

This Azure Code sample provides an ARM template and powershell scripts to automate deployment and collection of Azure Stack cloud operational data to OMS.

chasat-ms by chasat-ms,
Last updated: 1/22/2018

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: 1/22/2018

Integrating Azure AD into an ASP.NET Core web app

An ASP.NET Core web application that signs-in Azure AD users from a single Azure AD tenant.

jmprieur by Jean-Marc Prieur,
Last updated: 1/22/2018

An ASP.NET Core 2.0 web API with Azure AD B2C

An ASP.NET Core Web API for Azure AD B2C that shows how to protect your web api and accept B2C access tokens

dstrockis by Danny Strockis,
Last updated: 1/18/2018

Use Apache Kafka with Apache Spark on hdinsight

An example of using Spark Structured Streaming to read data from Kafka on HDInsight and store it into Azure Cosmos DB

blackmist by Larry Franks,
Last updated: 1/16/2018

Azure Government PaaS Sample

A Web App on Azure Government that utilizes different Azure PaaS services

azure-samples by Azure Samples,
Last updated: 1/15/2018

PHP Web Application with Azure AD B2C

A PHP web application that authenticates users with Azure AD B2C using OpenID Connect.

t-olhuan by t-olhuan,
Last updated: 1/15/2018

Service Fabric Container Samples

This sample demonstrate two guest executable services communicating (one C# and one Nodejs) which are then packaged into docker containers

suhuruli by Sudhanva Huruli,
Last updated: 1/10/2018

Get Azure invoice with .NET Core

An example on how to use .NET Core to connect to Azure and get your invoices

jlian by John Lian,
Last updated: 1/9/2018

Create a VM with MSI authentication enabled

This sample demonstrates how to create Azure virtual machine with Managed Service Identity Extension using a Python client

lmazuel by Laurent Mazuel,
Last updated: 1/9/2018

Integrating Azure AD into a Java web application

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.

brandwe by Brandon Werner,
Last updated: 1/5/2018

Process events from Azure Event Hubs with Storm on HDInsight (Java)

A basic example of how to read and write data to Azure Event Hubs from an Apache Storm topology running on HDInsight.

blackmist by Larry Franks,
Last updated: 1/5/2018

Write to HDFS from Storm on HDInsight

Learn how to write data to Azure Data Lake Store from a Java-based Apache Storm topology using HDInsight.

blackmist by Larry Franks,
Last updated: 1/5/2018

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

azure-samples by Azure Samples,
Last updated: 1/4/2018