Changing Tenant Name

%3CLINGO-SUB%20id%3D%22lingo-sub-820097%22%20slang%3D%22en-US%22%3EChanging%20Tenant%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-820097%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20sure%20it's%20an%20easy%20answer%20but%20I'm%20all%20alone%20today%20and%20don't%20have%20tome%20to%20figure%20it%20out.%26nbsp%3B%20Is%20there%20a%20way%20to%20change%20our%20tenant%20name%3F%26nbsp%3B%20We%20have%20Dev%20in%20there%20but%20we'd%20probably%20roll%20this%20out%20as%20prod%20and%20want%20to%20get%20rid%20of%20the%20Dev.%26nbsp%3B%20Thanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-841530%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20Tenant%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841530%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F279502%22%20target%3D%22_blank%22%3E%40stevenzelenko%3C%2FA%3EIts%20been%20a%20while%2C%20so%20hopefully%20you've%20found%20something%20by%20now%2C%20but%20I'm%20pretty%20sure%20like%20most%20things%20in%20Azure%2C%20you%20can't%20change%20the%20Tenant's%20name.%26nbsp%3B%20However%2C%20you%20can%20change%20the%20FriendlyName%20(which%20is%20the%20displayed%20name)%20using%20the%20Set-RDSTenant%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-javascript%22%3E%3CCODE%3ESet-RdsTenant%20-Name%20TenantNameHere%20-FriendlyName%20%22How%20I%20would%20like%20it%20to%20display%22%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fwindowsvirtualdesktop%2Fset-rdstenant%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fwindowsvirtualdesktop%2Fset-rdstenant%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-841715%22%20slang%3D%22en-US%22%3ERe%3A%20Changing%20Tenant%20Name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841715%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F404811%22%20target%3D%22_blank%22%3E%40KitSMFX%3C%2FA%3E%26nbsp%3BBeen%20down%20that%20road.%26nbsp%3B%20I%20get%20this%20error.%26nbsp%3B%20So%2C%20I%20just%20moved%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESet-RdsTenant%20%3A%20For%20LogAnalytics%2C%20you%20must%20set%20either%20both%20WorkspaceId%20and%20PrimaryKey%20or%20neither.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I'm sure it's an easy answer but I'm all alone today and don't have tome to figure it out.  Is there a way to change our tenant name?  We have Dev in there but we'd probably roll this out as prod and want to get rid of the Dev.  Thanks!

 

2 Replies
Highlighted

@stevenzelenkoIts been a while, so hopefully you've found something by now, but I'm pretty sure like most things in Azure, you can't change the Tenant's name.  However, you can change the FriendlyName (which is the displayed name) using the Set-RDSTenant:

Set-RdsTenant -Name TenantNameHere -FriendlyName "How I would like it to display"

https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/set-rdstenant

@KitSMFX Been down that road.  I get this error.  So, I just moved on.

 

Set-RdsTenant : For LogAnalytics, you must set either both WorkspaceId and PrimaryKey or neither.