Sample Code from Microsoft Developer Tools

Get started with Microsoft developer tools and technologies. Explore our samples and discover the things you can build.

Filter


Products

Programming languages

1,241 results

  • Certificate Lifecycle Deployment

    This template deploys the environment for the 'Certificate Lifecycle on Azure' scenario.

    • Azure
    • JSON
  • Network Secured Agent with User Managed Identity

    This set of templates demonstrates how to set up Azure AI Agent Service with virtual network isolation using User Managed Identity authetication for the AI Service/AOAI connection and private network links to connect the agent to your secure data.

    • Azure
    • Bicep
  • Function app hosted by Azure Functions in a Flex Consumption plan

    This template creates a serverless function app in the Flex Consumption plan, which is the preferred dynamic hosting plan. When your app runs in the Flex Consumption plan, instances of the Functions host are dynamically added and removed based on the configured per instance concurrency and the number of incoming events. This app securely connects to other Azure services by using Microsoft Entra ID with user-assigned managed identities.

    • Azure
    • Bicep
  • Deploy a VM Scale Set with Linux VMs and Auto Scale

    This template allows you to deploy a simple VM Scale Set of Linux VMs using the latest patched version of Ubuntu Linux 15.04 or 14.04.4-LTS. These VMs are behind a load balancer with NAT rules for ssh connections.They also have Auto Scale integrated

    • Azure
    • JSON
  • Standard Agent Setup

    This set of templates demonstrates how to set up Azure AI Agent Service with the standard setup, meaning with managed identity authentication for project/hub connections and public internet access enabled. Agents use customer-owned, single-tenant search and storage resources. With this setup, you have full control and visibility over these resources, but you will incur costs based on your usage.

    • Azure
    • Bicep
  • Basic Agent Setup Identity

    This set of templates demonstrates how to set up Azure AI Agent Service with the basic setup using managed identity authetication for the AI Service/AOAI connection. Agents use multi-tenant search and storage resources fully managed by Microsoft. You won’t have visibility or control over these underlying Azure resources.

    • Azure
    • Bicep
  • CoC LAB Deployment

    This template deploys the LAB environment for the 'Computer Forensics Chain of Custody in Azure'

    • Azure
    • JSON
  • SharePoint Subscription / 2019 / 2016 fully configured

    Create a DC, a SQL Server 2022, and from 1 to 5 server(s) hosting a SharePoint Subscription / 2019 / 2016 farm with an extensive configuration, including trusted authentication, user profiles with personal sites, an OAuth trust (using a certificate), a dedicated IIS site for hosting high-trust add-ins, etc... The latest version of key softwares (including Fiddler, vscode, np++, 7zip, ULS Viewer) is installed. SharePoint machines have additional fine-tuning to make them immediately usable (remote administration tools, custom policies for Edge and Chrome, shortcuts, etc...).

    • Azure
    • Bicep
  • Dokku Instance

    Dokku is a mini-heroku-style PaaS on a single VM.

    • Azure
    • Bicep
  • Azure AI Studio basic setup

    This set of templates demonstrates how to set up Azure AI Studio with the basic setup, meaning with public internet access enabled, Microsoft-managed keys for encryption and Microsoft-managed identity configuration for the AI resource.

    • Azure
    • Bicep
  • Create an Azure Virtual Network Manager and sample VNETs

    This template deploys an Azure Virtual Network Manager and sample virtual networks into the named resource group. It supports multiple connectivity topologies and network group membership types.

    • Azure
    • Bicep
  • Create a storage task

    This sample shows how to define the conditions of a storage task.

    • Azure
    • Bicep
  • Ready-To-Code Dev Box Images

    This template build demonstrates how to build Ready-To-Code Dev Box images using Azure Image Builder.

    • Azure
    • Bicep
  • Install Configuration Manager Current Branch in Azure

    This template creates new Azure VMs based on which configuration you choose. It configures a new AD domain controler, a new hierarchy/standalone bench with SQL Server, a remote site system server with Management Point and Distribution Point and clients.

    • Azure
    • JSON