Azure Code Samples

Learn to interact with Azure services through code

27 code samples match your filter

Getting Started with Azure Storage Management in Python

An example illustrating how to use Python to manage your Azure storage account

lmazuel by Laurent Mazuel,
Last updated: 6/23/2017

Sign in Azure AD B2C Users using Python-Flask Open Source Libraries

Demonstrates how you can use a third party library to build a Python-Flask application that signs in users to Azure AD B2C.

navyasric by Navya Canumalla,
Last updated: 6/20/2017

Sign in Azure AD + MSA Users using Python-Flask Open Source Libraries

Demonstrates how you can use a third party library to build a Python-Flask application that signs in users and gets an Access Token for the Microsoft Graph.

navyasric by Navya Canumalla,
Last updated: 6/20/2017

Manage Azure websites with Python

This sample demonstrates how to manage your WebApps using the Python SDK

lmazuel by Laurent Mazuel,
Last updated: 6/19/2017

Azure Management API IaaS VM Inventory Sample Scripts

This sample generates a list of VMs and associated disks that allows you to examine the deployed resources.

abhisekb by Abhisek Banerjee,
Last updated: 6/16/2017

Recovery scenario samples for Azure Key Vault using the Azure Python SDK

Samples of using the Key Vault python SDK for recovering deleted Secrets, Keys, Certificates and Vaults

schaabs by Scott Schaab,
Last updated: 6/16/2017

Getting Started with Azure SQL Management in Python

An example illustrating how to use Python to manage your SQL Azure databases

lmazuel by Laurent Mazuel,
Last updated: 6/12/2017

Azure Virtual Machines Management Samples - Python

An example illustrating how to use Python to manage your Azure Virtual Machines

lmazuel by Laurent Mazuel,
Last updated: 6/7/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: 5/22/2017

Developing a Python app using Azure Cosmos DB

Azure Cosmos DB's DocumentDB API provides a JSON document database data model and the power of SQL and JavaScript over schema-less data. This tutorial shows how to get started with the DocumentDB API and the Python SDK.

arramac by Aravind Krishna R.,
Last updated: 5/9/2017

Manage key vaults with Python

Manage Key Vaults with Python

lmazuel by Laurent Mazuel,
Last updated: 5/5/2017

Collecting Scheduled Events with Event Hub

Use scheduled events to create a central log of all maintenance (and other) events

zivraf by zivraf,
Last updated: 5/3/2017

Getting Started with Application Gateway in Python

An example illustrating how to use Python to manage Azure Application Gateway

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

hdinsight-python-storm-wordcount

How to use Python components in an Apache Storm topology on HDInsight

blackmist by Larry Franks,
Last updated: 4/5/2017

Python sample for Azure App Service - Django

This Python (Django) sample app is used by the getting started content to demonstrate how easy it is to develop a web app and deploy it to Azure App Service.

cephalin by Cephas Lin,
Last updated: 3/28/2017

How to get started for using IoT Hub REST API in Python

This Python sample app is used by the getting started content to demonstrate how easy it is to create an IoTHub Instance on Azure portal, and register a new device for the IoTHub, then send a message from device (simulated device app) to cloud.

msonecode by One Code,
Last updated: 3/28/2017

How to create Azure Batch PaaS Cloud service by Python

This sample demonstrates how to use Python to create PaaS cloud service pool in Azure Batch

msonecode by One Code,
Last updated: 2/16/2017

Azure Storage: Getting Started with Azure Storage in Python

This sample demonstrates how to make a use of modules provided by Microsoft Azure Queue Service in Python.

dineshmurthy by Dinesh Murthy,
Last updated: 10/14/2016