Azure Code Samples

Learn to interact with Azure services through code

51 code samples match your filter

Calling Microsoft Graph from a web app using ADAL Python

A Python Web App calling the Microsoft Graph API, leveraging ADAL Python

  • Azure Active Directory
  • Python
azure-samples by Azure Samples,
Last updated: 01-08-2019

Developing a Python Gremlin app using Azure Cosmos DB

Azure Cosmos DB's Graph API provides the graph data model and Gremlin. This tutorial shows how to get started with the Graph (Gremlin) API and the Gremlin driver for Python.

  • Azure Cosmos DB
  • Python
luisbosquez by Luis Bosquez,
Last updated: 01-08-2019

Microsoft Azure Event Grid Publish/Consume Samples for Python

Python Samples that show how you can use Event Grid to publish and consume events, and how to manage topics and event subscriptions.

  • Event Grid
  • Python
lmazuel by Laurent Mazuel,
Last updated: 09-07-2019

Cognitive Services Python SDK Samples

Learn how to use the Cognitive Services Python SDK with these samples

  • Cognitive Services
  • Python
lmazuel by Laurent Mazuel,
Last updated: 05-07-2019

Azure Storage: Getting Started with Azure Storage in Python

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

  • Storage Accounts
  • Python
dineshmurthy by Dinesh Murthy,
Last updated: 01-07-2019

Deploy an SSH Enabled VM with a Template in Python

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

  • Azure Resource Manager
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Getting Started with Azure SQL Management in Python

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

  • Azure SQL Database
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Getting Started with Azure Storage Management in Python

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

  • Storage Accounts
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Manage key vaults with Python

Manage Key Vaults with Python

  • Key Vault
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

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

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 Python.

  • App Service
  • Key Vault
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Manage Azure Container Instances

How to manage your Azure Container Instances using the Python SDK

  • Python
kevinhillinger by Kevin Hillinger,
Last updated: 27-06-2019

Manage Azure websites with Python

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

  • App Service
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Getting Started with Azure Resource Manager for load balancers in Python

An example illustrating how to use Python to manage your Azure load balancers

  • Load Balancer
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

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

  • Virtual Machines
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Use MSI to authenticate simply from inside a VM

Creating Azure resources using Managed Service Identity authentication and Python

  • Azure Resource Manager
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Deploy Certificates to VMs from customer-managed Key Vault in Python

Deploy Certificates to VMs from customer-managed Key Vault in Python

  • Virtual Machines
  • Key Vault
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Getting Started with Application Gateway in Python

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

  • Storage Accounts
  • Python
lmazuel by Laurent Mazuel,
Last updated: 27-06-2019

Hybrid-Resource-Manager-Python-Template-Deployment

An example illustrating how to use Python to deploy an Azure Resource Manager Template against hybrid clouds. Eg. Azure Stack

  • Azure Stack
  • Python
viananth by Vishnu Priya Ananthu Sundaram,
Last updated: 17-01-2019