New Azure Media Services quickstart template for Orchard CMS Video Portal integration

The Azure Media Services team has just published a new ARM template in the azure-quickstart-templates repository to let users easily configure and deploy Orchard CMS integrated with the Azure Media Services module ready to use as a Video Portal hosted in Azure App Service Web Apps. You can find it @

Additionally, this template deploys a new Orchard CMS image that contains the following updates for the Azure Media Services module:

The following are the high-level steps to configure and deploy the new Orchard CMS Video Portal template:

  1. Open a browser, navigate to and click “Deploy to Azure”.
    Orchard CMS Video Portal Template
  2. This will redirect you to the Azure Portal. Sign in with an account that has write access to an active Azure subscription and you will see the Azure quickstart template blade.
  3. Select the parameters in the Basics section to choose where to deploy the template (Subscription, Resource group and Location).
  4. In the Settings section, complete the following parameters, make sure to check the terms and conditions agreement and then click Purchase.
    • App Name: This must be the unique name for your Azure App Service Web App (
    • Db Administrator Login: This is the login name for the SQL Azure server administrator (it’s a SQL Identifier).
    • Db Administrator Login Password: The password for the SQL Azure server administrator.
    • Non Admin Database User Name: This is the login name for that user that will be used to connect to the Orchard CMS database (it’s a SQL Identifier).
    • Non Admin Database Password: The password for the Orchard CMS database user.

    Orchard CMS Video Portal Template in Azure Portal
    Note: The template only exposes the end-user facing parameters. In order to customize additional resource settings, you can modify the following variables in the template:

    "variables": {
        "appServicePlanName":"[concat('serviceplan', uniqueString(resourceGroup().id))]",      
        "appServiceTier": "Basic",
        "appServiceWorkerSize": "0",
        "dbServerName": "[concat('sqlserver', uniqueString(resourceGroup().id))]",
        "dbName": "[concat('sqldatabase', uniqueString(resourceGroup().id))]",
        "dbEdition": "Standard",
        "mediaServicesAccountName": "[concat('media', uniqueString(resourceGroup().id))]",
        "storageAccountName": "[concat('storage', uniqueString(resourceGroup().id))]",
        "storageAccountType": "Standard_LRS"


  5. Wait until the deployment completes. You should see a new Resource Group with the following resources.
    Orchard CMS Video Portal Resource Group
  6. Navigate to the Azure App Service Web App hosting your Orchard CMS instance. It should be
  7. In the Welcome to Orchard setup screen, complete all the form fields, make sure that the “Video Portal” recipe is selected and then click Finish Setup.
    Orchard CM Video Portal Setup
  8. Once the setup is done, you can navigate to the Admin Dashboard page at Open the Settings menu and click Microsoft Azure Media module. You should see that all the account credentials are already configured.
  9. Finally, in order to upload, encode and publish videos with the Microsoft Azure Media module, you just need to go to the Media Library, create a new folder, click Import and then select Microsoft Azure Media.
    Orchard CMS Video Portal Media Library



Leave a Reply