Jump to content


anyweb

Dipping your toes into Azure Virtual Desktop

Recommended Posts

Introduction

Look out for a new series of blogs from myself and my MVP buddy, Paul Winstanley as we explore the world of Azure Virtual Desktop (AVD).

In the meantime, we have collaborated on a kick the tyres exercise to experience the AVD solution via the Microsoft quickstart. This blog post details that experience with a simple step-by-step guide.

Microsoft provides the quickstart as a great way to test out an AVD environment with minimal fuss. It will create a small, low cost environment in approximately 20 minutes.

Prerequisites

To create the environment you will need to meet the following prerequisites:

What gets deployed during the Quickstart

  • A resource group called rg-avd-quickstart-<GUID>
  • A virtual network and subnet. The IPv4 address space will be 192.168.0.0/24 and will use Azure provided DNS servers
  • A network security group that is associated with the subnet of the virtual network and uses only the default rules. No inbound rules are required for Azure Virtual Desktop
  • A host pool with single-sign-on (SSO) enabled
  • An Entra joined session host running Windows 11 Enterprise multi-session with Microsoft 365 apps preinstalled with English (US). The virtual machine is a Standard_D4ds_v4 size virtual machine (4 vCPUs, 16 GiB memory) configured with a standard SSD disk
  • An application group that publishes the desktop from the session host
  • A workspace

For a complete list of the resource published by the quickstart, take a look the Microsoft documentation https://learn.microsoft.com/en-us/azure/virtual-desktop/quickstart?tabs=windows#deployed-resources.

Getting started

The first step is to register the Microsoft.DesktopVirtualization resource provider on your Azure subscription

In the Azure portal, go to your Subscriptions and select that one you will use for this exercise. Select Resource providers from the menu and look for Microsoft.DesktopVirtualization.

If this is listed as NotRegistered in your subscription, then click the three dots and select Register as shown below.

image-1.png?w=1024

If it is already listed as Registered then there is nothing else you need to do. Before continuing, ensure that Microsoft.DesktopVirtualization is listed as registered.

image-2.png?w=1024

 

Deploying the quickstart solution

You can find the quickstart solution in the Azure portal by searching for Azure Virtual Desktop and then selecting Quickstart from the menu. Click the Create button to begin the process.

image-3.png?w=1024

You will need to enter specific information on the Basics tab.

  • Subscription: Ensure you choose the subscription where you have registered the resource provider previously.
  • Location: Select the Azure region where you want the AVD resources deployed to.
  • Local administrator account:
    • Username: Enter the name for a local administrator
    • Password: Enter and confirm your password for the local admin
  • User assignment: Select a maximum of two users who will have access to the AVD devices (see screenshot below)

Once all the details have been entered click Review + create to continue through the quickstart wizard.

max-of-two-users.png

Ensure you receive a confirmation that Validation passed and click Create.

image-5.png?w=859

The deployment of the resources will be in progress.

image-6.png?w=1024

If all goes well, Your deployment is complete will be returned.

image-7.png?w=1024

Connecting to your AVD desktops

You can connect to your AVD desktops via the Windows app, which is available from the Microsoft Store.

When installed, and one of your allocated users is authenticated to the app, you should see a SessionDesktop item (in addition to any Cloud PC’s or other AVD’s available to that user). This is your AVD desktop.

Click Connect to access.

avd-in-windows-app.png

Once done, you will be prompted to enter your password, or MFA details and then asked to Allow remote desktop connection. This message can be suppressed using a list of trusted devices (see https://learn.microsoft.com/en-us/azure/virtual-desktop/configure-single-sign-on for more information).

sign-in-after-clicking-connect.png

Just to note, you can also alter the display settings for your AVD session by clicking the ellipsis (three dots) and adjusting.

session-desktop-display-options.png

Eventually, you will hit the Windows 11 desktop.

image-11.png?w=1024

Since this is multi session, your other allocated user can log in and use the AVD desktop at the same time. Note, the screenshot below, the same hostname is in use.

image-12.png?w=1024

Removing the quickstart services

Once you have used the quickstart, you may wish to clean up the resources, ready for your deeper dive into AVD.

To do this, locate your AVD virtual machine under Virtual machines in the Azure portal and click on the device.

image-13.png?w=1024

Click Stop to deallocate the device.

image-15.png?w=1024

You will be prompted to confirm the deallocation. Click Yes.

image-16.png?w=776

Wait until the device reports back as Stopped (deallocated) under its Status.

image-17.png?w=1024

Now we need to remove the resources which were created. In Azure, search for Resource groups and find the one created by AVD. As mentioned, this will have a naming convention of rg-avd-quickstart-<GUID>.

image-18.png?w=1024

Click into the resource group, select all the resources under Overview and then click Delete.

image-19.png?w=1024

You will need to confirm their removal by entering delete in the field below and also you can select Apply force delete for selected Virtual machines and Virtual machine scales sets, if you so wish. Once done, click the red Delete button.

image-20.png?w=580

You will then need to confirm the deletion of the resources. Click Delete one more time.

image-21.png?w=350

The resources will no longer be listed when they are removed.

image-22.png?w=1024

Next, click Delete resource group to remove the quickstart resource group.

image-23.png?w=1024

Enter the name of the resource group to confirm its deletion and click Delete.

image-24.png?w=589

Once again, confirm by clicking Delete.

image-25.png?w=354

I hope this guide gives you a good oversight into how quickly you can test out the Azure Virtual Desktop using Microsoft’s quickstart option. You can get a VM up and running in no time and experiment with it.

As mentioned, we will be taking a deeper dive look at AVD very soon, so watch this space and keep an eye on the SCCMentor and Windowsnoob websites.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.