Delete Azure Virtual Desktop (classic)
This article describes how to delete Azure Virtual Desktop (classic).
Warning
When you delete resources as described in this article, these actions are irreversible.
Prerequisites
Before you begin, make sure you have the following things ready:
A global administrator account within the Microsoft Entra tenant
Download and import the Azure Virtual Desktop module to use in your PowerShell session if you haven't already
Delete Azure Virtual Desktop (classic)
Sign into Azure Virtual Desktop (classic) in your PowerShell window:
Add-RdsAccount -DeploymentUrl https://rdbroker.wvd.microsoft.com
Sign in to Azure Resource Manager:
Login-AzAccount
If you have multiple subscriptions, select the one you want to delete your resources to with this cmdlet:
Select-AzSubscription -Subscriptionid <subID>
Run get commands for locating RDS resources
Get-RDSTenant Get-RDSHostPool -TenantName <tenantname> Get-RDSSessionHost -TenantName <tenantname> -HostPoolName <hostpoolname> Get-RDSAppGroup -TenantName <tenantname> -HostPoolName <hostpoolname> Get-RDSRemoteApp -TenantName <tenantname> -HostPoolName <hostpoolname> -AppGroupName <appgroupname>
The next steps remove the classic version of Azure Virtual Desktop.
Remove-RDSRemoteApp -TenantName <tenantname> -HostPoolName <hostpoolname> -AppGroupName <appgroupname> -name 'name' Remove-RDSAppGroup -TenantName <tenantname> -HostPoolName <hostpoolname> -Name <appgroupname> Remove-RDSSessionHost -TenantName <tenantname> -HostPoolName <hostpoolname> -Name <sessionhostname> Remove-RDSHostPool -TenantName <tenantname> -Name <hostpoolname> Remove-RDSTenant -Name <tenantname>
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for