Questions? Feedback? powered by Olark live chat software
Skip Navigation

Azure Code Samples

Learn to interact with Azure services through code

237 code samples match your filter

How to authenticate Azure Rest API with Azure Service Principal by Powershell

This sample demonstrates how to authenticate Azure Rest API with Azure Service Principal by Powershell

MSOneCode by One Code,
Last updated: 9/29/2016

Service Fabric Getting Started Samples

Get started with Service Fabric with these simple introductory sample projects.

seanmck by Sean McKenna,
Last updated: 9/29/2016

Call the Azure AD Graph API from a native client

A .NET console application that performs various queries against the Azure AD Graph API using both user identities and application identities.

dstrockis by Danny Strockis,
Last updated: 9/29/2016

Power BI Embedded - Integrate a report into a web app

A Power BI Embedded sample that shows you how to integrate a Power BI report into your own web app

dvana by Derrick VanArnam [MSFT],
Last updated: 9/29/2016

Microsoft Azure Billing API Code Samples: RateCard API

A simple console app that calls the Azure Billing RateCard REST API to retrieve the list of resources per Azure offer in a given subscription, along with the pricing details for each resource. The Microsoft Azure Billing APIs enable integration of Azure Billing information into your applications, providing new insights into your consumption of Azure resources, allowing you to accurately predict and manage your Azure resource consumption costs.

BryanLa by Bryan Lamos,
Last updated: 9/28/2016

Azure Storage: Getting Started with Azure Storage in Python

Samples documenting basic operations with Azure storage services (Blob, File, Table, Queue) in Python

dineshmurthy by Dinesh Murthy,
Last updated: 9/28/2016

Service Fabric Predictive Backend Sample

A Service Fabric back-end real-time data streaming and analysis system using WebSockets and Azure ML.

stascode by Stas Kondratiev,
Last updated: 9/28/2016

Integrating a Windows Universal application with Azure AD

A Windows Store 8.1 application that uses Azure AD and the ADAL library to authenticate the user and call a web API using OAuth 2.0 access tokens.

dstrockis by Danny Strockis,
Last updated: 9/28/2016

Service Fabric Web Reference Application

An end-to-end Service Fabric application that demonstrates patterns and features in a web application scenario.

masnider by Matt,
Last updated: 9/28/2016

C# Azure Function for Reacting to Azure Insights Events

This sample demonstrates how you can react to Azure Insights events using a Webhook trigger in Azure Functions

SyntaxC4 by Cory Fowler,
Last updated: 9/27/2016

Identity Management for Multitenant Applications in Microsoft Azure

How to manage user identities in a multitenant app on Microsoft Azure, using Azure Active Directory for authentication.

MikeWasson by Mike Wasson,
Last updated: 9/27/2016

Integrating Azure AD into an AngularJS single page app

An AngularJS based single page app, implemented with an ASP.NET Web API backend, that signs in users and calls web APIs using Azure AD

dstrockis by Danny Strockis,
Last updated: 9/27/2016

Build a multi-tenant SaaS web application using Azure AD & OpenID Connect

A sample .NET 4.5 MVC web app that signs-up and signs-in users from any Azure AD tenant using OpenID Connect.

dstrockis by Danny Strockis,
Last updated: 9/27/2016

MyDriving - An Azure IOT and Mobile Sample Application

Building IoT or Mobile solutions are fun and exciting. This year for Build, we wanted to show the amazing scenarios that can come together when these two are combined. So, we went and developed a sample application. MyDriving uses a wide range of Azure services to process and analyze car telemetry data for both real-time insights and long-term patterns and trends. The following features are supported in the current version of the mobile app.

Azure-Samples by Azure Samples,
Last updated: 9/26/2016

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: 9/26/2016

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.

vibronet by Vittorio Bertocci,
Last updated: 9/24/2016

Build a multi-tenant daemon with the v2.0 endpoint

A web application that sync's data from the Microsoft Graph using the identity of the application, instead of on behalf of a user.

dstrockis by Danny Strockis,
Last updated: 9/24/2016