Azure Code Samples

Learn to interact with Azure services through code

419 code samples match your filter

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

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

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 M - in .Net

Getting started with creating a virtual machine using a custom image

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

Getting Started with Compute - Manage Virtual Machines In Parallel With Network - in .Net

Getting started on managing virtual machines within subnets in parallel in C#

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

Getting Started with Compute - Manage Virtual Machine Scale Set With Unmanaged Disks - in .Net

Getting started with managing Virtual Machine Scale Sets with Managed Disks in C#

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

Getting Started with Compute - Create V Ms Using Custom Image Or Specialized V H D - in .Net

Getting started on creating virtual machines from generalized image or specialized VHD in C#

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

active-directory-ios-native-nxoauth2-v2

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.

danieldobalian by Daniel Dobalian,
Last updated: 4/25/2017

Using ADAL for Objective-C in Xamarin using bindings

This sample shows how to build a Xamarin binding to our native ADAL for iOS library.

xerners by Brandon Werner,
Last updated: 4/25/2017

Integrating Azure AD into a NodeJS web application

A NodeJS web application that authenticates Azure AD users with OpenID Connect.

xerners by Brandon Werner,
Last updated: 4/25/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.

xerners by Brandon Werner,
Last updated: 4/25/2017

Using ADAL for Android in Xamarin with bindings

This sample shows how to build a Xamarin binding to our native ADAL for Android library.

xerners by Brandon Werner,
Last updated: 4/25/2017

Securing a web API with Azure AD

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

xerners by Brandon Werner,
Last updated: 4/25/2017

Integrating Azure AD into a Java command line using username and password

A java command line program for Windows, Linux, or OS X that demonstrates non-interactive authentication to Azure AD using a username & password.

xerners by Brandon Werner,
Last updated: 4/25/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

xerners by Brandon Werner,
Last updated: 4/25/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.

xerners by Brandon Werner,
Last updated: 4/25/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

xerners by Brandon Werner,
Last updated: 4/25/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.

xerners by Brandon Werner,
Last updated: 4/25/2017