SOLVED
Home

How do I get a list of all RDS Tenant Groups associated with an AAD tenant?

%3CLINGO-SUB%20id%3D%22lingo-sub-928950%22%20slang%3D%22en-US%22%3EHow%20do%20I%20get%20a%20list%20of%20all%20RDS%20Tenant%20Groups%20associated%20with%20an%20AAD%20tenant%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-928950%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%3C%2FP%3E%3CP%3EWe%20have%20been%20experimenting%20with%20the%20new%20Windows%20Virtual%20Desktop%20tech%20and%20have%20had%20a%20number%20of%20failed%20attempts.%20I%20need%20to%20clean%20up%20existing%20tenant%20groups%20that%20have%20been%20created%20previously%20so%20they%20can%20be%20deleted.%3C%2FP%3E%3CP%3EI%20know%20there%20are%20at%20minimum%202%20associated%20given%20the%20subscription%20feed%20showing%20in%20the%20test%20user's%20Remote%20Desktop%2C%20but%20get%20can't%20get%20them%20to%20show%20in%20any%20list%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3CP%3EMark%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-928950%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAAD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Erds%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWVD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-955551%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20I%20get%20a%20list%20of%20all%20RDS%20Tenant%20Groups%20associated%20with%20an%20AAD%20tenant%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-955551%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F286084%22%20target%3D%22_blank%22%3E%40MarkMiddlemist%3C%2FA%3E%3A%20To%20get%20the%20list%20of%20tenants%20you%20have%20created%20run%20the%20following%20cmdlet%20documented%20here%3A%20%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fwindowsvirtualdesktop%2Fget-rdstenant%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fwindowsvirtualdesktop%2Fget-rdstenant%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20style%3D%22background-color%3A%20%23ffffff%3B%22%3ETo%20delete%20the%20tenant%20you%20run%20this%20PowerShell%20Cmdlet.%20You%20need%20to%20have%20all%20resources%20associated%20to%20it%20deleted%20first%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fwindowsvirtualdesktop%2Fremove-rdstenant%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fwindowsvirtualdesktop%2Fremove-rdstenant%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
MarkMiddlemist
Visitor

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

1 Reply
Solution

@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

 

 

 

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
36 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies