Virtual Desktop Provisioning Error

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