Apr 03 2019 04:34 AM - edited Apr 03 2019 05:07 AM
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
Apr 03 2019 11:33 AM
@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
Apr 04 2019 05:12 AM
@Stefan Georgiev the account i am using has
TenantCreator role under WVD-Users & Groups
&
Configuration Owner role under WVD-Owners
Ronan
Apr 04 2019 09:32 AM
@RonanM do you mean the account has tenant creator under WVD enterprise app
Apr 08 2019 09:58 AM
@Ronan_Moriarty It seems like you are missing some parameters when running the cmd
https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/add-rdsappgroupuser
Apr 11 2019 07:05 AM
@Stefan Georgiev Thanks! Will try with these additional switches