Azure Code Samples

Learn to interact with Azure services through code

439 code samples match your filter

Getting started with Service Fabric with Java

Getting started with Service Fabric with Java

vturecek by Vaclav Turecek,
Last updated: 4/28/2017

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: 4/28/2017

Securing a web API with Azure AD

A NodeJS web API that is secured using Azure AD and OAuth 2.0 access tokens.

brandwe by Brandon Werner,
Last updated: 4/28/2017

Using Azure AD Graph API directory extensions in a PHP web app

A PHP web application that calls the Graph API to register new directory extensions and manipulate the extension properties

brandwe by Brandon Werner,
Last updated: 4/28/2017

Calling the Azure AD Graph API in a web application

A java web application that shows how to query the Azure AD Graph API including authentication, submitting REST requests & parsing JSON for read and write operations.

brandwe by Brandon Werner,
Last updated: 4/28/2017

Integrating an android app with Azure AD (Android API Level 18+)

An android app that uses Azure AD and the ADAL library for authenticating the user and calling a web API using OAuth 2.0 access tokens.

brandwe by Brandon Werner,
Last updated: 4/28/2017

Calling the Azure AD Graph API from a PHP web app

This PHP sample application demonstrates how to Read and Write tenant data to Azure Active Directory using the AAD Graph API

brandwe by Brandon Werner,
Last updated: 4/28/2017

Integrate Azure AD into an iOS application

An iOS application that authenticates Azure AD users and calls a web API using OAuth 2.0 access tokens.

brandwe by Brandon Werner,
Last updated: 4/28/2017

An iOS task application with Azure AD B2C using third party libraries

Demonstrates how you can use a third party library to build an iOS application that authenticates Microsoft identity users to our B2C identity service and calls a web API using OAuth 2.0 access tokens

brandwe by Brandon Werner,
Last updated: 4/28/2017

Azure Data Lake Store: Getting Started

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.

asikaria-msft by Atul Sikaria,
Last updated: 4/27/2017

An iOS task application with Azure AD v2.0 using third party libraries

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.

azure-samples by Azure Samples,
Last updated: 4/26/2017

Azure Service Fabric watchdog sample

Sample watchdog service that can monitor service health and metrics reporting them to Application Insights

toddabel by Todd Abel,
Last updated: 4/26/2017

Integrate Azure AD B2C into an Objective-C iOS application

Demonstrates how you can use a third party library to build an iOS application in Objective-C that authenticates Microsoft identity users to our Azure AD B2C identity service.

SaeedAkhter-MSFT by SaeedAkhter-MSFT,
Last updated: 4/26/2017

Deploy an SSH Enabled VM with a Template in Python

An example illustrating how to use Python to deploy an Azure Resource Manager Template

lmazuel by Laurent Mazuel,
Last updated: 4/25/2017

Getting Started with Managed - Create Virtual Machine Using Specialized Disk From Vhd - in .Net

Getting started with creating a virtual machine by importing a specialized operating system disk VHD

anuchandy by Anu Thomas Chandy,
Last updated: 4/25/2017

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: 4/25/2017

Getting Started with Managed - Create Virtual Machine Using Custom Image From V H D - in .Net

Getting started with creating a virtual machine using a VHD, either OS or data disk VHD

anuchandy by Anu Thomas Chandy,
Last updated: 4/25/2017

Getting Started with Managed - Create Virtual Machine Using Custom Image From V M - in .Net

Getting started with creating a virtual machine using a custom image

anuchandy by Anu Thomas Chandy,
Last updated: 4/25/2017