Azure Code Samples

Learn to interact with Azure services through code

52 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: 7/22/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: 7/9/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: 7/5/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: 7/1/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: 6/27/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: 6/27/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: 6/27/2019

Manage key vaults with Python

Manage Key Vaults with Python

  • Key Vault
  • Python
lmazuel by Laurent Mazuel,
Last updated: 6/27/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: 6/27/2019

Manage Azure Container Instances

How to manage your Azure Container Instances using the Python SDK

  • Python
kevinhillinger by Kevin Hillinger,
Last updated: 6/27/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: 6/27/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: 6/27/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: 6/27/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: 6/27/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: 6/27/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: 6/27/2019

Hybrid-Compute-Python-Manage-VM

Getting Started with Compute - Manage Virtual Machines using Python on Azure Stack hybrid cloud https://docs.microsoft.com/en-us/python/azure

  • Azure Stack
  • Python
viananth by Vishnu Priya Ananthu Sundaram,
Last updated: 5/21/2019

Hybrid-KeyVault-Python-Deploy-Certificates-To-VM

This sample illurstrates how to deploy certificates from a keyvault to VM using Python SDK against Azure Stack

  • Azure Stack
  • Virtual Machines
  • Key Vault
  • Python
viananth by Vishnu Priya Ananthu Sundaram,
Last updated: 5/16/2019