Home

Virtual Desktop Provisioning Error

%3CLINGO-SUB%20id%3D%22lingo-sub-393751%22%20slang%3D%22en-US%22%3EVirtual%20Desktop%20Provisioning%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-393751%22%20slang%3D%22en-US%22%3E%3CP%3EGetting%3A%20%22User%20is%20not%20authorized%20to%20query%20the%20management%20service%22%20when%20running%20command%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdd-RdsAppGroupUser%20customer.onmicrosoft.com%20ClientHostPool%20%22Desktop%20Application%20Group%22%20-UserPrincipalName%20xxxx-admin%40xxxxxxx.com%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20please%20help%20us%20understand%20why%20it's%20throwing%20this%20error%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ERonan%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-402693%22%20slang%3D%22en-US%22%3ERe%3A%20Virtual%20Desktop%20Provisioning%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-402693%22%20slang%3D%22en-US%22%3EHi%20Stefan%2C%20yes%20correct.%3CBR%20%2F%3E%3CBR%20%2F%3ERonan%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394757%22%20slang%3D%22en-US%22%3ERe%3A%20Virtual%20Desktop%20Provisioning%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394757%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F313322%22%20target%3D%22_blank%22%3E%40RonanM%3C%2FA%3E%20do%20you%20mean%20the%20account%20has%20tenant%20creator%20under%20WVD%20enterprise%20app%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394588%22%20slang%3D%22en-US%22%3ERe%3A%20Virtual%20Desktop%20Provisioning%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394588%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3Bthe%20account%20i%20am%20using%20has%3C%2FP%3E%3CP%3ETenantCreator%20role%20under%20WVD-Users%20%26amp%3B%20Groups%3C%2FP%3E%3CP%3E%26amp%3B%3C%2FP%3E%3CP%3EConfiguration%20Owner%20role%20under%20WVD-Owners%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERonan%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-394060%22%20slang%3D%22en-US%22%3ERe%3A%20Virtual%20Desktop%20Provisioning%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-394060%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F313322%22%20target%3D%22_blank%22%3E%40RonanM%3C%2FA%3E%20What%20account%20are%20you%20using%20to%20connect%20to%20WVD%20service%20via%20the%20add-rdsaccount%3F%20is%20an%20account%20that%20already%20has%20permissions%20as%20RDS%20owner%20on%20the%20tenant%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-409069%22%20slang%3D%22en-US%22%3ERe%3A%20Virtual%20Desktop%20Provisioning%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-409069%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F246135%22%20target%3D%22_blank%22%3E%40Ronan_Moriarty%3C%2FA%3E%20It%20seems%20like%20you%20are%20missing%20some%20parameters%20when%20running%20the%20cmd%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%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%2Fadd-rdsappgroupuser%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%2Fadd-rdsappgroupuser%3C%2FA%3E%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-437458%22%20slang%3D%22en-US%22%3ERe%3A%20Virtual%20Desktop%20Provisioning%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-437458%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F195573%22%20target%3D%22_blank%22%3E%40Stefan%20Georgiev%3C%2FA%3E%26nbsp%3BThanks!%20Will%20try%20with%20these%20additional%20switches%3C%2FP%3E%3C%2FLINGO-BODY%3E
RonanM
New Contributor

Getting: "User is not authorized to query the management service" when running command 

 

Add-RdsAppGroupUser customer.onmicrosoft.com ClientHostPool "Desktop Application Group" -UserPrincipalName xxxx-admin@xxxxxxx.com

 

Can you please help us understand why it's throwing this error? 

 

Thanks,

Ronan 

6 Replies

@RonanM What account are you using to connect to WVD service via the add-rdsaccount? is an account that already has permissions as RDS owner on the tenant

@Stefan Georgiev the account i am using has

TenantCreator role under WVD-Users & Groups

&

Configuration Owner role under WVD-Owners

 

Ronan  

@RonanM do you mean the account has tenant creator under WVD enterprise app

Hi Stefan, yes correct.

Ronan

@Stefan Georgiev Thanks! Will try with these additional switches

Related Conversations
Edge Insider doesn't show notifications
ThatWeirdAndrew in Discussions on
10 Replies
How to create Team Site with REST API
Stefaan De Vreese in SharePoint Developer on
3 Replies
Problem to start Teams in the browser
André Diekmann in Microsoft Teams on
9 Replies
Add App pinning to Windows 10
HotCakeX in Windows Insider Program on
0 Replies