Prepare Azure
For smooth integration of the Azure platform with the HyWorks Controller, use the following guides:
Supported Feature Matrix
Feature | Sub Feature Category | Sub Feature | Azure |
---|---|---|---|
Deploy pool with existing VMs | - | - | Yes |
Desktop VM Provisioning | Clone Type | Linked Clone | Not Applicable |
Full Clone | Yes | ||
Clone from Snapshot | - | No | |
Network Preserve | - | Yes | |
Disk Encryption | - | Yes | |
Disk persistence | Persistent VM Deployment | Yes | |
Non-persistent VM Deployment | No | ||
Enable DVM Reset | No | ||
Deployment Setting | Only resource group, not Location | ||
Customization | Both (Sysprep and Hyprep) | ||
IP Address Filter | Yes | ||
Shared hosted desktop provisioning and automated deployment | Yes | ||
Automated power management and scaling | Yes | ||
Desktop Power Operations | - | - | Yes |
Operating Systems Support on Provider | Windows Desktops | Windows 7 | Yes |
Windows 8.1 | Yes | ||
Windows 10 | Yes | ||
Windows 11 | Yes | ||
Windows Servers | Windows Server 2008 R2 | Yes | |
Windows Server 2012 R2 | Yes | ||
Windows Server 2016 | Yes | ||
Windows Server 2019 | Yes | ||
Windows Server 2022 | Yes | ||
Linux Desktops | CentOS 7 | Yes | |
Ubuntu 16.04/1 | Yes | ||
Ubuntu 18.04/1 | Yes | ||
Ubuntu 20.04/1 | Yes | ||
RHEL v7.9 | Yes |
Prerequisites
-
Application ID: Application ID is a unique identifier (GUID) of an application created and granted under tenant.
-
Secret: A client secret is known only to your application and the authorization server. It protects your resources by only granting tokens to authorized requestors.
-
Tenant ID: Tenant ID is a Globally Unique Identifier (GUID) different from the tenant name or domain.
-
Subscription ID: The subscription ID is a GUID that uniquely identifies your subscription to use Azure services.
Configure Azure App
-
Sign in to your Azure Account through the Azure portal: https://portal.azure.com/.
-
Select Azure Active Directory: https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview
-
Select App Registrations followed by New Registration.
-
After setting the values, select Register.
-
Select your registered application followed by Certificates and Secret, then create and copy a new Secret.
-
Navigate to app Overview and copy the application ID, tenant ID, secret key, and subscription ID.
Create Secret
Follow the steps to create a Secret for the configured app:
-
Select Azure Active Directory.
-
From App registrations in Azure AD, select your application.
-
Select Certificates & Secret.
-
Select Client Secret > New Client Secret.
-
Provide a description, check expiry, and click Add.
The value of the Client Secret is displayed upon saving it. Make sure to copy this value, as it won’t be able to retrieve the key later. Make a copy (Save) of the auto-generated Client Secret key in the personal vault.
Configure Access Control
To access resources in your Subscription, you must assign a role to the application.
-
Select your Subscription on the Home page.
-
Select Access Control (IAM).
-
Navigate to Role Assignments and click Add. Select Role assignment.
-
Select Role as Contributor for HyWorks based delivery and Role as Owner for AVD delivery via HyLabs.
-
Set Assign access to as Azure Ad user, group, or Service principal.
Note
If Azure is being configured for AVD delivery via HyLabs the role must be Owner and not contributor.
-
-
Select your app.
-
Click Save to finish assigning the role.
Important
The above Application ID may take around 30 minutes to become active. Configuring the application in HyWorks before it becomes active will give an error message as: Invalid credentials.
Add URLs to whitelist in the Firewall or Proxy server
If a Firewall is used to control internet access and HyWorks is deployed behind a Firewall or proxy server, then the HyWorks controller will not have internet access. In such case, you will have to whitelist the following URLs in your Firewall or allow access via the proxy server:
Following the URL to integrate with Azure automation
-
*.azure-automation.net
-
Port: Only TCP 443 is required for outbound internet access
Important
If it's a multi-node active-active deployment, the configurations must be made on all controller management and session nodes.
Configure Controller for Domain Account Authentication in Proxy server
The following configurations are required to be done in the Controller when a proxy server is configured on the Controller, and an Azure-based Desktop Provider is used:
-
Install HyWorks Controller Service using this account (not the Local System account)
-
The account should be configured as Logon as Service.
-
Configuration can be done at the time of installation or later.
-
A specified account will be used to authenticate in the proxy server.
-
Whitelist URLs mentioned above.
-
Fig: Configuration post installation
<system.net>
<defaultProxy>
<proxy usesystemdefault="true" />
</defaultProxy>
</system.net>
or alternate configuration
<system.net>
<defaultProxy useDefaultCredentials="true" >
</defaultProxy>
</system.net>
-
Verify the above configuration in the HyWorks controller.
x:\Program Files (x86)\Accops\HyWorks\Service\EDC.Service.exe.config
Fig: Configuration file change
Note
-
You need to re-login to apply the above changes.
-
If it's a multi-node active-active deployment, the configurations must be made on all controller management and session nodes.
Desktop Operation Support
Operation | Support | Status on Azure | Status on HyWorks |
---|---|---|---|
Power On | Yes | Powered On | Powered On |
Power Off | Yes (De-allocated) | De-allocated | powered Off |
Shutdown | Yes (De-allocated) | De-allocated | powered Off |
Restart | Yes | Restart | Restart |
De-allocate | Yes (Use power off) | De-allocated | powered Off |
Reset | No | - | - |
Refresh (Desktop Information on HyWorks) | Yes | - | Update the VM details and call the DVM agent. |
Re-Create (single VM from Desktop VMs page) | Yes | - | - |
Limitations with Azure Handler
-
The non-de-allocated shutdown VM is shown as being Powered Off. There is no difference between a Non-deallocated and a De-allocated VM.
-
Change Location (current VM will be cloned in source VM location).
-
Gold Master Disk should be a Managed disk.