Mastering Azure Virtual Desktop - Second Edition

Book description

Explore the advanced capabilities of Azure Virtual Desktop and enhance your skills in cloud-based virtualization and remote application delivery

Key Features

  • Learn how to design a strong architecture for your Azure Virtual Desktop
  • Implement, monitor, and maintain a virtual desktop environment
  • Gain insights into Azure Virtual Desktop and prepare successfully for the AZ-140 exam
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Acquire in-depth knowledge for designing, building, and supporting Azure Virtual Desktop environments with the updated second edition of Mastering Azure Virtual Desktop. With content aligned with exam objectives, this book will help you ace the Microsoft AZ-140 exam.

This book starts with an introduction to Azure Virtual Desktop before delving into the intricacies of planning and architecting its infrastructure. As you progress, you’ll learn about the implementation process, with an emphasis on best practices and effective strategies. You’ll explore key areas such as managing and controlling access, advanced monitoring with the new Azure Monitoring Agent, and advanced application deployment. You’ll also gain hands-on experience with essential features like the MSIX app attach, enhancing user experience and operational efficiency. Beyond advancing your skills, this book is a crucial resource for those preparing for the Microsoft Certified: Azure Virtual Desktop Specialty certification.

By the end of this book, you’ll have a thorough understanding of the Azure Virtual Desktop environment, from design to implementation.

What you will learn

  • Architect a robust Azure Virtual Desktop setup
  • Master the essentials of networking and storage configurations
  • Create and configure session host images and host pools
  • Gain insights into controlling access and enhancing security
  • Implement FSLogix profile containers and Cloud Cache for improved performance
  • Discover MSIX app attach for efficient application delivery
  • Understand strategies for business continuity and disaster recovery
  • Monitor and manage the performance and health of your Azure Virtual Desktop environment

Who this book is for

Mastering Azure Virtual Desktop is for IT professionals, modern workspace administrators, architects, and consultants who want to learn how to design, implement, and manage Azure Virtual Desktop environments. Whether you're aiming to enhance your expertise in cloud virtualization or preparing for the Microsoft AZ-140 exam, this guide is an invaluable resource for advancing your skills.

Table of contents

  1. Mastering Azure Virtual Desktop
  2. Foreword
  3. Contributors
  4. About the authors
  5. Guest author
  6. About the reviewers
  7. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
    4. Download the example code files
    5. Conventions used
    6. Get in touch
    7. Share Your Thoughts
    8. Download a free PDF copy of this book
  8. Part 1:Introduction
  9. Chapter 1: Introduction to Azure Virtual Desktop
    1. Desktop virtualization
    2. Azure Virtual Desktop – What is it?
      1. Providing the best user experience
      2. Enhanced security
      3. Simplifying management
      4. Managing AVD performance
      5. What licenses do I need?
    3. Comparing Windows 365 and Azure Virtual Desktop
    4. How does Azure Virtual Desktop work?
    5. What’s managed by Microsoft and what you manage
      1. What Microsoft manages
      2. What does the customer manage?
    6. Azure Virtual Desktop Stack HCI
    7. Summary
  10. Part 2:Planning an Azure Virtual Desktop Architecture
  11. Chapter 2: Designing the Azure Virtual Desktop Architecture
    1. Assessing existing physical and virtual desktop environments
      1. Assessing AVD deployments
      2. User personas
      3. Application groups
    2. Assessing the network capacity and speed requirements for AVD
      1. Applications
      2. Display resolutions
      3. AVD experience estimator
      4. RDP bandwidth requirements
      5. Estimating bandwidth utilization
      6. Estimating the bandwidth that’s used by remote graphics
      7. Dynamic bandwidth allocation
      8. Limit network bandwidth use with throttle rate limiting
      9. Reverse connect transport
      10. Session host communication channel
      11. Client connection sequence
      12. Connection security
    3. Identifying an OS for an AVD implementation
      1. Supported Azure OS images
      2. What is Windows 11 multi-session?
      3. Customizing the Windows 11 multi-session image for your organization
    4. Planning and configuring name resolution for AD and Microsoft Entra Domain Services
    5. Planning a host pool architecture
      1. App groups
      2. End users
      3. Registering the DesktopVirtualization resource provider
      4. Registering the provider using Azure PowerShell (optional)
    6. Resource groups, subscriptions, and management group limits
    7. Configuring the location for the AVD metadata
    8. Calculating and recommending a configuration for capacity and performance requirements
      1. Multi-session recommendations
      2. Recommendations on sizing VMs
      3. General recommendations for VMs
      4. Testing workloads
    9. Summary
    10. Questions
    11. Further reading
  12. Chapter 3: Designing for User Identities and Profiles
    1. Selecting a licensing model for your Azure Virtual Desktop deployment
      1. Applying Azure Virtual Desktop licensing to virtual machines
      2. Azure Files tiers
    2. Planning for user profiles
      1. User profiles
      2. Challenges with previous user profile technologies
      3. An introduction to FSLogix profile containers
      4. Azure Files integration with Entra ID DS
      5. Microsoft Entra Kerberos for hybrid identities
      6. Planning for user identities
    3. Planning for Windows Remote Desktop client deployment
      1. Installing the Windows Remote Desktop client
      2. Windows App for the Windows Store (currently in public preview)
      3. Subscribing to a workspace
      4. Accessing client logs
      5. Connecting to Azure Virtual Desktop using the web client
      6. Setting up email discovery to subscribe to the Azure Virtual Desktop feed
    4. Summarizing the prerequisites for Azure Virtual Desktop
    5. Summary
    6. Questions
  13. Chapter 4: Implementing and Managing Networking for Azure Virtual Desktop
    1. Implementing Azure VNet connectivity
      1. Azure VNet
      2. What is an Azure VNet?
      3. Communication between Azure resources
      4. Communication with on-premises networks
      5. Filtering and routing Azure network traffic
      6. Understanding what VNet integration is for Azure services
    2. Managing connectivity to the internet and on-premises networks
      1. Types of VPNs available to you
      2. Internet access and outbound connections
    3. Implementing and managing network security
      1. Azure network security overview
      2. Understanding AVD network connectivity
    4. Managing AVD session hosts using Azure Bastion
      1. What is Azure Bastion?
      2. Setting up Azure Bastion
      3. Connecting to a VM using Azure Bastion
    5. Monitoring and troubleshooting network connectivity
    6. Summary
    7. Questions
  14. Chapter 5: Implementing and Managing Storage for Azure Virtual Desktop
    1. Configuring storage for FSLogix components
      1. FSLogix profile container storage options
      2. The different Azure Files tiers
      3. Best practices for Azure Files with AVD
    2. Configuring storage accounts
      1. Step 1 – Creating a new storage account
      2. Step 2 – Configuring the basics
      3. Step 3 – Configuring advanced settings
      4. Step 4 – Configuring networking
      5. Step 5 – Configuring data protection
      6. Step 6 – Configuring encryption
    3. Configuring file shares
    4. Configuring disks
      1. Ephemeral OS disks
      2. Creating a VHD image
      3. Creating a VM
      4. Creating a local image
      5. Dynamic disks versus fixed disks
    5. Summary
    6. Questions
    7. Further reading
  15. Part 3:Implementing an Azure Virtual Desktop Infrastructure
  16. Chapter 6: Creating Host Pools and Session Hosts
    1. Creating a host pool by using the Azure portal
      1. Host pool creation
      2. Workspace information
    2. Automating the creation of AVD hosts and host pools
      1. Setting up PowerShell for AVD
      2. Creating an AVD host pool with PowerShell
    3. Summary
    4. Questions
  17. Chapter 7: Configuring Azure Virtual Desktop Host Pools
    1. Windows Server session host licensing
    2. Configuring host pool settings
      1. Customizing RDP properties
      2. Using PowerShell to customize RDP properties
      3. Using PowerShell to configure load-balancing methods
      4. Assigning users to host pools via PowerShell
      5. Configuring automatic assignment
      6. Re-assigning a personal desktop
      7. Configuring direct assignment using PowerShell
      8. Applying OS and application updates on an Azure Virtual Desktop host
      9. Configuring a validation pool
      10. Applying security and compliance settings to session hosts
    3. Summary
    4. Questions
  18. Chapter 8: Entra ID Join for Azure Virtual Desktop
    1. Prerequisites
    2. Deploying an Entra ID-joined host pool
    3. Enabling user access
      1. Connecting to Entra ID-joined session hosts using the Remote Desktop client
    4. Enabling Microsoft Entra authentication for RDP
    5. Configuring local admin access
    6. Summary
    7. Questions
  19. Chapter 9: Creating and Managing Session Host Images
    1. Creating a golden image
      1. Creating a VM
      2. Connecting to the VM
    2. Custom image templates
      1. Creating your first custom image
    3. Modifying a session host image
      1. Disabling automatic updates
      2. Installing language packs in AVD
      3. Optimizing an image
      4. Capturing an image template
    4. Creating and using an ACG
      1. Creating your first ACG
      2. Capturing an image in an ACG
      3. Creating an image definition from the ACG
      4. Creating an image version
    5. Troubleshooting OS issues related to AVD
      1. VMs are not joined to the domain
      2. AVD Agent and AVD bootloader are not installed
      3. AVD Agent is not registering with the AVD service
      4. Basic performance troubleshooting in AVD
      5. Networking troubleshooting
    6. Summary
    7. Questions
  20. Part 4:Managing Access and Security
  21. Chapter 10: Managing Access
    1. Introduction to Azure RBAC
    2. Planning and implementing Azure roles and RBAC for AVD
      1. The delegated access model
      2. Assigning RBAC roles to IT admins
      3. The PowerShell way to assign role assignments
      4. Creating a custom role using the Azure portal
    3. Managing local roles, groups, and rights assignments on AVD session hosts
      1. Configuring user restrictions by using Entra ID Domain Services group policies
    4. Summary
    5. Questions
  22. Chapter 11: Managing Security
    1. Introduction to MFA
    2. How does Entra MFA Work?
      1. Security defaults
      2. Conditional Access
    3. Planning and implementing MFA
      1. Creating a Conditional Access policy for MFA
    4. Managing security by using Microsoft Defender for Cloud
      1. Securing AVD using Microsoft Defender for Cloud
    5. Using Microsoft Defender for Cloud and AVD
    6. Enabling enhanced security for AVD
    7. Configuring Microsoft Defender Antivirus for session hosts
      1. What’s the difference between Microsoft Defender Antivirus and Microsoft Defender for Endpoint?
      2. Getting the latest updates
      3. Setting the scheduled task to run the PowerShell script
      4. Manually downloading and unpacking
      5. Configuring quick scans
      6. Suppressing notifications
      7. Enabling headless UI mode
    8. Summary
    9. Questions
  23. Part 5:Managing User Environments and Apps
  24. Chapter 12: Implementing and Managing FSLogix
    1. Installing and configuring FSLogix
      1. License requirements for FSLogix profile containers
      2. FSLogix key capabilities
      3. FSLogix installation and configuration
    2. Configuring antivirus exclusions
      1. Configuring exclusions using PowerShell
      2. Configuring profile containers
    3. Cloud Cache
      1. Configuring Cloud Cache
    4. Microsoft Teams integration
      1. Teams exclusions
    5. FSLogix profile container best practices
    6. Summary
    7. Questions
  25. Chapter 13: Configuring User Experience Settings
    1. Configuring Universal Print
      1. Prerequisites for Universal Print
      2. Universal Print administrator roles
      3. Setting up Universal Print
      4. Registering printers using the Universal Print connector
      5. Assigning permissions and sharing printers
      6. Adding a Universal Print printer to a Windows device
    2. Configuring user settings using Microsoft Intune
    3. Start VM on Connect
      1. Configuring with the Azure portal
      2. Supported VM sizes
      3. Prerequisites for enabling hibernation mode
      4. Integrating hibernation into AVD
    4. Enabling screen capture protection for AVD
      1. Enabling screen capture protection via Intune
    5. Enabling watermarking
      1. Prerequisites for watermarking
      2. Enabling watermarking using Group Policy
      3. Enabling watermarking via Intune
    6. Troubleshooting FSLogix profile issues
    7. Troubleshooting AVD client issues
      1. Testing connectivity
      2. Resetting the Remote Desktop client
      3. The Remote Desktop client is showing no resources
    8. Summary
    9. Further reading
    10. Questions
  26. Chapter 14: MSIX App Attach
    1. Configuring dynamic application delivery by using MSIX app attach
    2. What is MSIX?
    3. What does it look like inside MSIX?
    4. What is MSIX app attach?
    5. MSIX app attach terminology
    6. An overview on how MSIX app attach works
    7. Prerequisites
    8. Creating an MSIX package
      1. Packaging a simple application in an MSIX container
    9. Creating an MSIX image
    10. Configuring Azure Files for MSIX app attach
    11. Importing the code-signed certificate
    12. Uploading MSIX images to Azure Files
    13. Configuring MSIX app attach
    14. Publishing an MSIX app to a RemoteApp application group
    15. Troubleshooting MSIX app attach
      1. Published MSIX app attach applications not showing in the Start menu
    16. App attach (public preview)
      1. How app attach works
      2. Key differences between MSIX app attach and app attach
      3. Creating an app attach package
    17. Summary
    18. Further reading
    19. Questions
  27. Chapter 15: Configuring Apps on a Session Host
    1. Application masking
      1. Rule types available
      2. Deploying an application as a RemoteApp application
      3. Implementing and managing OneDrive for Business for a multi-session environment
    2. Implementing and managing Microsoft Teams AV redirection
    3. Implementing and managing multimedia redirection
    4. Managing internet access for Azure Virtual Desktop sessions
    5. What are VM applications?
    6. Summary
    7. Questions
  28. Part 6:Monitoring and Maintaining an Azure Virtual Desktop Infrastructure
  29. Chapter 16: Planning and Implementing Business Continuity and Disaster Recovery
    1. Designing a backup strategy for Azure Virtual Desktop
    2. Planning and implementing a disaster recovery plan for Azure Virtual Desktop
      1. Virtual network
      2. Virtual machines
      3. Managing user identities
      4. Configuring user and app data
      5. Disaster recovery considerations for MSIX app attach
      6. Application dependencies
    3. Configuring backup and restore for FSLogix user profiles, personal virtual desktop infrastructures (VDIs), and golden images
      1. Virtual machine backup and restore
      2. Zone-redundant storage
      3. Azure file backup and restore
      4. Replicating virtual machine images between regions
    4. Summary
    5. Questions
  30. Chapter 17: Automating Azure Virtual Desktop Management Tasks
    1. Creating an Automation account for Azure Virtual Desktop
      1. Giving the Automation account permissions
    2. Automating the management of host pools, session hosts, and user sessions using PowerShell
      1. Configuring an Azure automation runbook
      2. Testing a PowerShell runbook in Azure
      3. Creating a schedule
    3. Autoscale – scaling plans
      1. Giving Microsoft access to start and stop VMs
      2. Creating a pooled scaling plan (multiuser)
      3. Creating a personal scaling plan (assigned user)
    4. Summary
    5. Questions
  31. Chapter 18: Monitoring and Managing Performance and Health
    1. Configuring Azure Monitor for AVD
      1. Creating a Log Analytics workspace
      2. Configuring the monitoring of AVD
      3. Configuring performance counters and event logs
    2. Using Insights
      1. Differences between AVD Insights and host pool insights
      2. Using the host pool insights
      3. Setting up alerts using alert rules
    3. Introduction to Kusto
      1. Connecting Log Analytics to Kusto.Explorer
      2. Creating queries for AVD using Kusto.Explorer
      3. Some additional Kusto queries
    4. Using Azure Advisor for AVD
    5. Summary
    6. Questions
  32. Chapter 19: Azure Virtual Desktop’s Quickstart Feature
    1. How the Quickstart feature works
      1. Prerequisites
    2. Using the Quickstart feature with Entra ID Domain Services (Entra ID DS)
    3. Using the Quickstart feature without an identity provider
    4. Post-deployment cleanup
    5. Troubleshooting the Quickstart feature
    6. Summary
    7. Questions
  33. Final Assessment
    1. Questions
    2. Answers
  34. Appendix
    1. Microsoft Resources and Microsoft Learn
    2. Azure Virtual Desktop community shout-outs!
    3. Cool vendors
    4. Introducing EtherAssist – the premier AI technical assistant
      1. Specialized support for Azure Virtual Desktop
    5. Level up at AVD TechFest
      1. Why attend AVD TechFest?
    6. Summary
  35. Index
    1. Why subscribe?
  36. Other Books You May Enjoy
    1. Packt is searching for authors like you
    2. Share Your Thoughts
    3. Download a free PDF copy of this book

Product information

  • Title: Mastering Azure Virtual Desktop - Second Edition
  • Author(s): Ryan Mangan, Neil McLoughlin, Marcel Meurer
  • Release date: July 2024
  • Publisher(s): Packt Publishing
  • ISBN: 9781835884140