Skip to content
Azure Render Farm Manager (Preview)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Build Status

Azure Render Farm Manager (Preview)

The Azure Render Farm Manager is an Azure Web App to create and manage your cloud or hybrid render farm with native support for PipelineFx Qube! and Thinkbox Deadline 10. The portal Web App can be easily deployed into your existing Azure subscription.

Deploying the Portal

Before you deploy the portal you'll need to create an Azure AD application to login. You can create the application via the Azure Cloud Shell here.

Create an Azure AD Application

The AAD application is used by the portal to authenticate the user and request consent for the portal to access Azure resources as the user. Creating the AAD application via the Azure portal will enable the application as an 'Enterprise Application' which means you can restrict portal access to specific users. This is recommended, otherwise all users in your AAD organization will have access to the portal. It should be noted that the portal uses delegated permissions to access Azure resources so even if a user can log into the portal, it does not guarantee they have access to create or read resources within the subscription.

Using the Azure Portal

Login to the Azure portal and navigate to the Azure Active Directory application registration blade, or click here.

Create the AAD Application

  1. Click New application registration
  2. Enter an application name, e.g. RenderFarmManager
  3. For application type select Web app/ API
  4. Enter a sign-on URL - this is the URL of the Web App that you will deploy next. The URL will be in the format, https://[MyWebAppName] You must ensure the name is globally unique and has not been used by anyone else.
  5. Click Create
  6. Note the Application ID as you'll need it later

Assign API Access Permissions

  1. Click Settings on the application
  2. Click Required permissions
  3. Click Add -> Select an API -> select the Microsoft Graph API and select the following permissions under Delegated Permissions (near the bottom)
  • User.Read - 'Sign in and read user profile'
  • User.ReadBasic.All - 'Read all users' basic profiles'
  1. Click Done to save
  2. Click Add -> Select an API -> select the Windows Azure Service Management API and select the following permissions under Delegated Permissions
  • user_impersonation - Access Azure Service Management as organization users (preview)
  1. Click Done to save

Create a Client Key (Secret)

  1. Under the application Settings blade click Keys
  2. Under Passwords enter a description in the blank box, select Never expires and click Save
  3. Save the displayed Key somewhere safe, you'll need it later. Note, the key cannot be accessed again.

Update the Reply URL

  1. On the application Settings blade click Reply URLs
  2. Edit the existing reply URL to append '/signin-oidc', the new URL should look like: https://[MyWebAppName]
  3. Click Save

Set Application Access Permissions

The following instructions allow you to restrict access to specific users in your organization.

  1. In the Azure portal navigate to Azure Active Directory -> Enterprise Applications
  2. Search for the AAD application you created above using the Application ID
  3. Click on Properties and click Yes for User Assignment Required
  4. Click Save
  5. Click Users and Groups
  6. Add each user that requires access to the portal

Get the AAD Tenant ID

In the Azure Portal navigate to Azure Active Directory -> Properties. Note down the Directory ID, this is your Tenant ID that is required when you deploy the portal.

Using Cloud Shell

Simply copy the script snippet below, update the $webAppName variable and paste the script below into the cloud shell to create a new AAD application. Keep in mind the Web App name must be globally unique and be a valid DNS name as it becomes the host in your website's URL, e.g. https://< webAppName >

$webAppName = "contosorenderfarmmanager"

# Create the application
$app = az ad app create --display-name $webAppName --identifier-uris http://$webAppName --end-date 2040-12-31 --homepage "https://$" --reply-urls "https://$"

# Register the Service Principal in the current directory
az ad sp create --id ($app | ConvertFrom-Json).appId

# Assign the required API permissions

# Windows Azure Active Directory - Sign in and read user profile
az ad app permission add --id ($app | ConvertFrom-Json).appId --api 00000002-0000-0000-c000-000000000000 --api-permissions 311a71cc-e848-46a1-bdf8-97ff7156d8e6=Scope

# Graph API - Sign in and read user profile
az ad app permission add --id ($app | ConvertFrom-Json).appId --api 00000003-0000-0000-c000-000000000000 --api-permissions e1fe6dd8-ba31-4d61-89e7-88639da4683d=Scope

# Windows Azure Service Management API - Access Azure Service Management as organization users (preview)
az ad app permission add --id ($app | ConvertFrom-Json).appId --api 797f4846-ba00-4fd7-ba43-dac1f8f63013 --api-permissions 41094075-9dad-400e-a0bd-54e686782033=Scope

# Print the app details to the shell

Deploying the Portal

Click the following link to start a deployment into your existing Azure subscription. The required input fields are described in detail below.

Deploy to Azure
  • webSiteName: The Azure Web App name. This must be globally unique and is also part of the website's DNS name.
  • hostingPlanName: The name of the hosting plan service, you can leave the default.
  • skuTier*: The Hosting Plan tier that determines the performance and cost for the Web App. Plans and prices are available here.
  • skuSize*: The instance size in the hosting plan tier, choose F1 for the Free tier, SX for Shared, BX for Basic, PX for Premium.
  • aadTenantId ("Directory ID"): the AAD application tenant ID from the application you created above. In the Azure Portal this can be found on the Properties page for the directory.
  • aadDomain: the AAD tenant domain, e.g. In the Azure Portal this is shown on the Overview pane for the directory.
  • aadClientId ("Application ID"): the AAD application (or client) ID from above.
  • aadClientSecret ("Password"): the AAD application/client secret from above.

* Note that auto scale functionality requires the web site to always be running which requires Basic/B1 SKU or higher.

After submitting the deployment your instance of the Portal will be deployed into your subscription. You'll see a link to the deployment to monitor its progress.

Accessing the Portal

Once the deployment is complete you can access the portal at: https://[webSiteName]

Updating the Portal

If updates or fixes have been pushed to the Azure Render Farm Manager portal repository you can deploy the latest changes with the click of a button. Login to the Azure portal and navigate to the portal's Resource Group -> Web App. Click on Deployment Center and then click Sync to pull the latest changes.


This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

You can’t perform that action at this time.