Can't remove old classic WVD feed from appearing

Iain Jackson 1 Reputation point

One of my predecessors set up a WVD environment back when it was powershell only - a classic deployment. I was added to the app pool at the time as an end user only. The subscription has since been deleted and the WVD admin Azure AD account no longer exists. Fast forward to today and I have created an ARM based WVD deployment which works great, only I can still see the old classic feed in the Remote Desktop App which obviously doesn't work, but I have no way of getting rid of it. I have tried powershell using my Azure Admin account but Get-RdsTenant and Get-AzWvdWorkspace both return blank. Get-RdsHostPool returns a not found error also. Is there any way to unpublish/remove this classic feed?

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,420 questions
{count} votes

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 25,446 Reputation points

    @Iain Jackson

    Apologies in delayed response.

    You need to assign Tenant creator role to your user following this guide and then remove all the classic artifacts using the old RDS powershell cmdlets.

    Hope this helps.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

  2. Chris Wilson 1 Reputation point

    @Iain Jackson /@Tommi Hovi - We just went through a similar situation here and found that the old tenant was set up using a Service Principal.

    Check Azure Active Directory > App Registrations > All applications to see if there are any Service Principals that were used to create your Classic deployment.

    If there is, create a new secret and connect in this manner:

    $aadtenant = "Directory (tenant) ID"  
    $appid = "Application (client) ID"  
    $secret = "Client Secret (value)"  
    $creds = New-Object System.Management.Automation.PSCredential($appid, (ConvertTo-SecureString $secret -AsPlainText -Force))  
    Add-RdsAccount -DeploymentUrl "" -Credential $creds -ServicePrincipal -AadTenantId $aadtenant
    0 comments No comments