Forum Discussion
MarkMiddlemist
Oct 22, 2019Copper Contributor
How do I get a list of all RDS Tenant Groups associated with an AAD tenant?
Hi All
We have been experimenting with the new Windows Virtual Desktop tech and have had a number of failed attempts. I need to clean up existing tenant groups that have been created previously so they can be deleted.
I know there are at minimum 2 associated given the subscription feed showing in the test user's Remote Desktop, but get can't get them to show in any list
Thanks in advance
Mark
MarkMiddlemist: To get the list of tenants you have created run the following cmdlet documented here: https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/get-rdstenant
To delete the tenant you run this PowerShell Cmdlet. You need to have all resources associated to it deleted first: https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/remove-rdstenant
1 Reply
Sort By
- evasseFormer Employee
MarkMiddlemist: To get the list of tenants you have created run the following cmdlet documented here: https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/get-rdstenant
To delete the tenant you run this PowerShell Cmdlet. You need to have all resources associated to it deleted first: https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/remove-rdstenant