Deploying Windows Virtual Desktop in Microsoft Azure

Reading Time: 8 minutes

In this blog post, I will be creating a new Windows Virtual Desktop (WVD) platform using a Windows 10 image from the Azure Gallery. I will be covering the deployment and opimisation of a base WVD image in a further blog post. The purpose of this blog post is to allow you to get an idea of how a WVD platform is deployed.

What is Windows Virtual Desktop?

Windows Virtual Desktop is a desktop and app virtualisation service that runs in Microsoft Azure.

Here’s what you can do when you run Windows Virtual Desktop in Azure:

  • Set up a multi-session Windows 10 deployment that delivers a full Windows 10 with scalability
  • Virtualise Microsoft 365 Apps for enterprise and optimize it to run in multi-user virtual scenarios
  • Provide Windows 7 virtual desktops with free Extended Security Updates
  • Bring your existing Remote Desktop Services (RDS) and Windows Server desktops and apps to any computer
  • Virtualise both desktops and apps
  • Manage Windows 10, Windows Server, and Windows 7 desktops and apps with a unified management experience

If you’re just getting started, below are a few links that may be useful to you before you get started with deploying Window Virtual Desktop (WVD)

  1. Add and verify custom domain in Azure AD
  2. Create a virtual network
  3. Configure Azure Bastion (If you require secure access to your VM’s from within the Azure Portal). For this demo, I have enabled RDP access but I recommend to give Bastion. It’s a great feature
  4. Build a server in Azure (Low spec server for a domain controller is sufficient for this lab)
  5. Configure Active Directory
  6. Configure Azure AD Connect Sync
  7. Assign your domain controller a static IP address in Azure


Before you get started, create a Security Group within your Active Directory domain controller, along with a couple of user accounts.

For this demo, I have created:

Group: WVD Users
Domain user: Cloudbuilduser1 and CloudBuilduser2 (both users are members of the WVD Users group)

By default, Azure AD Connect syncs every 30 minutes so your new group and accounts will have sync’d to Azure AD by the time we get to testing the WVD platform. You could also force a sync by running the following command on your ADConnect server Start-ADSyncSyncCycle.

Let’s get started

Create a Workspace (Windows Virtual Desktop)

A workspace is a logical grouping of application groups in Windows Virtual Desktop. Each Windows Virtual Desktop application group must be associated with a workspace for users to see the remote apps and desktops published to them. You will also get the opportunity to create the workspace later in this blog post. For this demo, I will be creating a workspace first.

(1) Log in to the Azure Portal portal.azure.com

Power on your domain controller if you have not already done so and don’t forget to enable auto shutdown of your domain controller (Lab Only) to save on costs. You don’t want to be doing this in a production environment!!

(2) Search for Windows Virtual Desktop and click

(3) Click on Workspaces located in the left pane

(4) Click + Add

(5) Complete the details, see the example below. I have created a new resource group. Click Next

(6) I don’t currently have any Application Groups, so for now I’ll click next, create tags as required and click review and create.

(7) Validation passed, click create

Deploy a Windows Virtual Desktop Host Pool

(8) Click Windows Virtual Desktop
(9) Click Create a Host Pool

(10) Input details, see the example below. I have created a new Resource Group. Note that the location needs to be the same as the location of your Workspace Resource Group. For this demo I have selected the options below:

Location: At the moment the only locations available for Meta Data are US regions. Don’t worry, nothing important is stored there apart from MetaData.

Validation Environment
Azure will deploy WVD updates to the Validation Environment to ensure there are no issues as a result of updates.

Host pool types:
Pooled desktops: Multiple users on the same virtual machine.
Personal desktops: One user per desktop VM

Max session limit
The maximum number of users that have concurrent sessions on a session host. For this demo, I’m leaving this empty.


Load balancing algorithm – Breadth-First and Depth-First
Breath-First load balancing
will distribute new user sessions across all available session hosts in the host pool
Depth-first load balancing distributes new user sessions to an available session host with the highest number of connections but has not reached its maximum session limit threshold.

More info can be located at WVD Pooled vs Personal Desktops

As mentioned above, the only locations for Meta Data storage at the time of writing this blog post were US based.

(11) Click next to move on to Virtual Machines

(12) Click Yes to Add Virtual Machines. These will become the session hosts that users will connect to.

(13) Input details


  1. – Leave the resource group as is
    – Set the location. This is the location of the VM. I’m setting UK South. The location will need to be the same as where your VNETS are located. The location does not need to be the same as the MetaData location. In this demo, I only have the one VNET.
  2. For this demo, I am selecting a B2s with 2 vcpu’s and 4gb RAM (Update: note that if you’re using an Azure free trial account, select a machine with 1vcpu. There are limits when setting up a WvD platform using the Azure Trial account).
     
  3. I’m using standard HDD disks for this demo but Microsoft recommend using premium SSD for all session hosts
  4. Network Security Group, I am leaving as basic
  5. AD Join – Use a dedicated account for this task. It’s an important task that would cause major issues with VM deployment in the event the account was disabled or deleted. See post How to allow domain users to add computers to the domain

Note: you could also create a base image. For the purpose of this demo, i’m using a windows 10 image without any additional apps installed. The following post covers creating and optimising a base image for WVD. Click Create and Optimise a Windows Virtual Desktop Image

(14) Click next to move onto Workspace

(15) Click Yes to register the desktop app group and select the workspace created as part of the earlier step. If you decided not to create a workspace in the beginning of this blog post, you can create one now using the ‘Create New’ link

(16) Click next and add tags as required
(17) Click review

(18) Click create after validation passes. This process may take a few minutes.

Common issues:

– Incorrect domain credentials
– Is the account you’re using to add session hosts to the domain sync’d to Azure AD
– Is the domain controller up and running
– Is the VNET DNS set to the IP of the domain controller

If you decided to select a virtual machine size including 2 vCpu’s, you may come across an error similar to the one below:

Errors The template deployment ‘0000000000000000′ is not valid according to the validation procedure. The tracking id is ‘123456789-1234-1cc9-b42d-1a1b11f01fcf’. See inner errors for details.

As mentioned earlier, there are limits on what you can configure when using an Azure Trial account. One to keep in mind. When changing the virtual machine size to DS1 v2 (1vcpu), the validation process should succeed.

(19) ok, so validation succeeded

(20) Click Create. The process can take up to 10 minutes. My deployment took 9 minutes

(21) Deployment succeeded

Set App Group Permissions

(22) Click Windows Virtual Desktop

(23) Let’s add some user permissions – click Windows Virtual Desktop

(24) Click application groups

(25) Click on the application group name

(26) Click Assignments

(27) Click Add, and then select the WVD Users Group you created on your Active Directory domain controller and sync’d to Azure AD. If you recall, we added two test user accounts to the group. Clouduserbuild1 and clouduserbuild2

(28) Add and click select

And we’re done. Let’s move on to testing

(29) From a browser, visit:

https://rdweb.wvd.microsoft.com/arm/webclient

(30) Sign in with a user account which is a member of the WVD user group

I’ll be logging in with cloudbuilduser2 for this demo

(31) Skip MFA or setup. For this demo, I will skip MFA.

(32) and we’re in

(33) Launch the Default Desktop and click allow

(34) Login again

(35) Our newly built desktop launches successfully.

(36) Here are the two virtual machines

That’s your basic WVD solution deployed

Additional notes:

– There are limits when using an Azure Free trial account. I successfully deployed 2 sessions hosts with 1 VCPU and 3.5gb of Ram

– A host pool includes session hosts (Session hosts the VM’s)

– A host pool can only include one desktop application group. As seen in the lab, the desktop application is created by default when I deployed a host pool

– A host pool can host multiple Remoteapp application groups (This is a collection of remote applications).

– A user can be assigned to one or more application groups in a host pool.


– An application group has to be added to a workspace. Users communicate with the workspace when connecting to WVD

– Applications groups can only be added to one workspace within a host pool

– If a user requires access to both a published desktop and a published application, users can not launch both published desktop and published app at the same time (At the time of writing this blog post). It’s understandable that there may be requirements to publish the app separately due to compatibility issues. To get around this, you will need to create a separate host pool.

Windows Virtual Desktop Pooled vs Personal

Reading Time: 2 minutes

What is the difference between a Pooled and Personal host pool in Windows Virtual Desktop?

Both options are visible when connecting to the Azure Portal, clicking Windows Virtual Desktop and clicking the option to create a new Host Pool. See screenshot below:

Personal:
Personal desktops also known as persistent desktops are where each user is allocated a desktop. Users can modify their desktop to meet personal preferences and can save files in their own desktop environment.

When configuring personal desktops within the Azure Portal, there are two further options as shown below:

Automatic: The service will select an available host and assign to the user
Direct: This allows admins to select a specific host to assign to users


Pooled:
Pooled desktops, also known as non persistent desktops, assign users to whichever session host is available at the time. This depends on the configured load balancing algorithm which I have documented below. Because the users don’t always return to the same session host each time they connect to the Windows Virtual Desktop (WVD) solution, the users have limited ability to customise the desktop environment.

When selecting a pooled configuration within WVD located in the Microsoft Azure Portal, further options become visible as shown below:

  • Breath First load balancing will distribute new user sessions across all available session hosts in the host pool
  • Depth first load balancing distributes new user sessions to an available session host with the highest number of connections but has not reached its maximum session limit threshold.

What is Windows 10 Enterprise multi session?

I know this is off topic to what the post title describes, but I thought it would be a good idea to document some information about Windows 10 multi session.

Windows 10 Enterprise multi session, previously known as Windows 10 Enterprise for virtual desktops, allows multiple concurrent interactive sessions. This was previously only an option with Windows Server.

Windows 10 Enterprise multi session provides multi session functionality exclusively for Windows Virtual Desktop which is a Microsoft Azure Service. Windows 10 Enterprise multi session has been tested, optimised, and supported exclusively on Microsoft Azure only. Microsoft does not support Windows 10 Enterprise multi session on non Azure deployments.

When planning your deployment, it’s important to check your application compatibility and contact application vendors if required. You may find that some applications don’t support certain configurations such as multi session.

You may also be interested in the posts below:

Deploying Windows Virtual Desktop
Windows Virtual Desktop Application Group Creation


Install Azure AD Connect and sync to Azure AD

Reading Time: 5 minutes

In this blog post I will go through the process of installing and configuring Azure AD Connect in a lab environment within the Azure Portal. I will also sync a test OU and a couple of test users to Azure AD.

I already have a Azure trial subscription with a custom domain configured and verified within Azure AD. I have also built a server within Azure for Azure AD Connect and also have a single domain controller (Windows 2019 server) hosted in the Azure Portal.

You may find the links below interesting:

– Add a custom domain to Azure AD
– Create a VNET within the Azure Portal
– How to configure Azure Bastion to connect to Azure VM’s securely from within the Portal
– Build a server within the Azure Portal (Build a low spec server if you’re just testing
– Assign server static IP address within Azure
– Configure a new AD Forest and AD domain

Please note, the links above demonstrate builds within a Lab environment. Please follow best practice depending on the solutions you’re building in your production environment.

If you don’t have access to the Azure Portal, you can setup a free month trial account at Azure Free Trial.

Ok, so we’re all set. Let’s get started with installing Azure AD Connect and syncing some test accounts to Azure AD!

  1. As you’ll see from within Azure AD, the current status of Azure AD Connect is not enabled and a sync has never taken place. You can locate the below info by clicking Azure Active Directory and then the overview option found in the left pane.

2. I have built a server within the Azure Portal, and for the purpose of this Lab, I have assigned the server a public IP address and opened the RDP port. Something you don’t want to do in a production environment.

So i’m RDP’ing to my newly built server in Azure

3. Download Azure AD Connect. From the Azure Portal, click on Azure Active Directory and from the left pane click Azure AD Connect

4. Click Download Azure AD Connect. You can also down the Azure AD Connect app from the Microsoft website

5. Click download

6. Launch the AzureADConnect MSI file

7. Allow the install to initiate

8. When ready, click I agree to the license terms and privacy notice. Click continue.

9. For the purpose of this demo, i’ll be clicking use express settings. In most cases this option does the job. Take a look at the customize option if you have different requirements, such as specifying a custom location for or connecting the application to a dedicated SQL server.

10. Provide credentials. This is a one off authentication for now. You will be required to login again each time you wish to make changes to the application.

If you receive a password expiry message. Login with the account at portal.azure.com and change your password when prompted.

11. When connected to Azure successfully, you’ll move on and be prompted to type in a domain account.

12. Input details and click next


13. For now, I am going to untick the option to start the synchronization process. I only want to sync a couple of accounts to Azure AD as part of this demo. Click Install. The process may take up to 10 mins

14. Now that you have Azure AD Connect installed, launch the application. For the purpose of this demo, I created a test OU and a couple of test accounts as shown below.

15. Click configure

16. Please familiarise yourself with the other options that Azure AD Connect offers. For the purpose of this demo, I will only be configuring Azure AD Connect to sync a couple of accounts to Azure AD.

Click Customize synchronization options and click next.

17. You will be prompted for your global admin account

18. Click next

19. For the purpose of this demo, i’m syncing the cloudbuild OU containing two test users to Azure AD. See screen shot below. Click next

20. Click next. Please study the other options

21. Start the sync process and click configure

22. We’re done. Let’s move onto the Azure Portal and check the results

23. Success

Stay tuned for the next blog post

MS-700 Managing Teams Exam Preparation

Reading Time: 6 minutes

I am pleased to announce that I recently passed the MS-700 Managing Teams exam. I’ll be preparing for the MS-100 exam next but before I make a start, I thought it would be a great idea to blog about my experience and how I prepared for the exam.

The MS-700 exam measures your ability to accomplish the following technical tasks: plan and configure a Microsoft Teams environment; manage chat, calling, and meetings; and manage Teams and app policies.

Candidates for this exam are Microsoft Teams Administrators for their organisation. The Microsoft Teams Administrator configures, deploys, and manages Office 365 workloads for Microsoft Teams that focus on efficient and effective collaboration and communication in an enterprise environment.

The Teams Administrator must be able to plan, deploy, and manage Teams chat, apps, channels, meetings, audio conferencing, live events, and calling. The Teams Administrator is also responsible for upgrading from Skype for Business to Teams.

The Teams Administrator collaborates with Telephony engineers to integrate advanced voice features into Microsoft Teams. This role is not responsible for configuring direct routing, configuring call routing, or integrating telephony. The Teams Administrator may work with other workload administrator roles, including security and compliance, messaging, networking, identity, and devices.

Candidates for this exam should be proficient at managing Teams settings by using PowerShell. The Teams Administrator has a fundamental understanding of integration points with apps and services, including but not limited to SharePoint, OneDrive for Business, Exchange, Azure AD, and Office 365 Groups. The Teams Administrator understands how to integrate external apps and services.

You only need to take the one exam to achieve Microsoft 365 Certified: Teams Administrator Associate

Please note: that the content of this exam will be updated on November 24, 2020. You can download the skills measured document at Exam MS-700: Managing Microsoft Teams

How I studied for the MS-700 exam:

There are a number of websites available offering courses for preparing for the exam so you’ll find that other bloggers may have taken a different route to prepare for the exam, but the destination is the same, to understand and learn the skills required to pass the exam. As you go through your studies, you’ll find out more about the architecture of Microsoft Teams, how the application relies on a number of Microsoft services and the Teams Location of data

There is a lot to understand but I promise that you will really enjoy studying for this exam if you have the passion. It’s a great certification you’re earning because as you know Microsoft Teams is growing rapidly and the most recent stats at the time of writing this blog post is that Teams is being used by over 115 million users daily! This number is going to grow.

Studying for this certification means your experience with managing Teams will become greater and you’ll be able to go back to your employer with a lot more knowledge then you had previously. You may be able to recommend additional improvements within you internal security, compliance and governance departments. Share your knowledge and improve the user experience.

Please take the time to study each area, pause the video, do some extra research, lab it, understand it and then continue with the video. It’s important that you understand before moving on.

Let’s move on to how I prepared. Just so you are aware, I watched around 20 hours of videos and read a large number of articles. It really depends on how passionate you are about passing this exam and then putting that knowledge into action.

MS-700 Teams Study Guide

  1. Firstly, it’s important that you visit and download the skills measured document on the Microsoft website to understand what the exam will cover. There is a PDF download link available towards the bottom of the MS-700 exam page. Microsoft also offer a free learning path to help you prepare for the exam. Both can be found at Exam MS-700: Managing Microsoft Teams.

    Just another reminder that the content of this exam will be updated on November 24, 2020. You can download the skills measured document at the link above.

  2. I signed up to a number of Microsoft Teams related sessions at Microsoft Ignite (Virtual due to the Covid-19 Pandemic). It was great to know about what’s new with Teams and live sessions with the experts were a bonus. As the event is over you can visit the following link What’s New in Microsoft Teams. Please note that new Microsoft Teams features are continuously being released so stay up to date as you’ll find the link above may be out dated.

  3. Keep an eye on this great Microsoft website – Microsoft 365 Roadmap. The site includes details on what Microsoft are rolling out, what’s in development and what has already been rolled out. I would recommend visiting this site from time to time to allow you to keep up to date on O365 updates.

  4. Twitter! In my opinion, Twitter is the main social media platform that all the Microsoft Engineers, MVP’s and experts hang out. It’s a great platform to keep up to date with what’s going on with Microsoft Teams and other products and services. You can connect with the guys who work with Microsoft Teams day in day out. You’ll also find a few Microsoft Teams User Groups and their free to join so do take advantage of this and don’t be shy to ask questions if you’re not sure about something. I have had a great experience on Twitter and have managed to connect with some great techies who are also passionate about sharing knowledge and growing the community.

  5. Sign up for a free 1 month Office 365 E3 license. You don’t want to be configuring settings on a live environment. If you don’t want to continue with the free trial after the month, please ensure that you cancel the subscription via the portal, or else you will be charged for the following month. It’s not a trial which will stop after one month. Something to keep in mind.

    If you don’t want to sign up for the 30 day trial, you could also sign up for the free Microsoft 365 Developer Program. It’s a renewable 90-day Microsoft 365 E5 developer subscription. As a program member, you can get a free Microsoft 365 developer subscription with 25 user licenses to use to build your solutions. This subscription will remain active for as long as you’re actively developing and deploying solutions. More details on the program can be located here

  6. Time, you really need to work out when you’ll be studying for this exam and setup a schedule. Will your employer allow you to study for the exam in working hours? or do you need to study for the exam in your own time?

  7. I went through a great course by Skylines Academy at Microsoft MS-700 Certification: Managing Teams. Includes practice test questions.

  8. In case you’re not aware, Skype for Online Business is going end of life July 2021 and will no longer be available. That’s right it will stop working! If you have not migrated to Teams, starting planning now. If you’re studying for the exam prior to July 2021, it’s VERY important that you understand the complete process of migrating from Skype For Online Business to Microsoft Teams. If you’re sitting the exam after July 2021, remember that Microsoft are still supporting the On premise version of Microsoft Skype For Business until the year 2024 so the exam will most likely cover Skype for Business On premise to Teams migration type of questions. You will need to understand the process involved in migrating from Skype for Online Business and on premise to Microsoft Teams. Below are links to the great videos that I watched. Highly recommended. It is very important that you understand the migration process as you will be tested on this in the exam.


    – Introduction to Upgrade from Skype for Business to Microsoft Teams (Upgrade part 1 of 4)

    – Plan your upgrade from Skype for Business to Microsoft Teams (Upgrade part 2 of 4)

    – Manage Coexistence and Interoperability between SfB and Teams (Upgrade part 3 of 4)

    – Administrator experience for the upgrade from SfB to Teams (Upgrade part 4 of 4)

  9. Know the Teams Admin Center like the back of your hand. You may be used to working in the O365 Portal and know where all the required policies are. But do you know where all those policies are located without looking. For example, what policies are located in Teams, where would you need to configure 365 group permissions, Access Reviews, expiration policies, retention, private channel permissions, meeting settings, network planner, reporting, alerting, chat permissions, barrier policies, and so on. There will be questions based on policies inside and outside the Teams Admin Center, and where you would need to configure the required settings.

  10. I then visited the skills measured document on the Microsoft website again (See step 1) and went through the skills measured. I performed additional research on the features where I believed further reading and research was required. For example, if you want to know more about direct routing, visit the Coffee in the Cloud YouTube channel and visit the video Direct Routing. Or if you want to learn more about Network Planner you may want to perform a search and visit a post such as Use the Network planner for Microsoft Teams. Or you may want to revisit your training video’s depending on where you’re learning, whether that’s via Microsoft Learn, CloudSkills.io, Skyline Academy or Udemy. There is lots of great content out there.

    It’s important that if you don’t understand something from the training videos or articles, perform a search and study further. Or make a note and come back to that topic if you wish to move on.

I am happy to help, so if you have any questions please contact me via my Twitter Handle @ITSupportBlog

All the best and i’m sure you will enjoy preparing for this exam like i did.

Thanks for reading my post and please share 🙂

How to add a custom domain to Azure AD Step By Step

Reading Time: 3 minutes

The process below will guide you through adding a custom domain to Azure AD. For the purpose of this demo, I will be adding and verifying cloudbuild.co.uk to my lab setup

Please comment towards the end of this post if you have any questions

  1. Login to the Azure Portal at portal.azure.com

If you’re starting out with Azure, you can setup a free trial at Azure Free Trial

2. Select Azure Active Directory from the menu towards the left or use the search field as shown below

3. Select custom domain names from the left menu

4. Click + Add Custom Domain

5. Add your domain and click Add domain

Note: To add a domain, you must already own a domain name and have the necessary sign in credentials to update the DNS records with your domain name registrar.

6. At this point you need to add a txt record to your domain DNS portal. This process verifies that you own the domain that you’re trying to add.

7. Let’s login to the domain portal. In my case, i’ll be adding the txt record to the cloudbuild.co.uk domain portal at my registrar’s website

8. I have now added details to my domain portal as per instructions above

9. Let’s move back to the Azure Portal and verify the domain. If the domain does not verify, wait for DNS replication.

10. Verified

11. I’m going to make this domain primary

Done

Stay tuned for the next blog post