question

prabhakar-7116 avatar image
0 Votes"
prabhakar-7116 asked ·

add the rds app group user

hai

when i try add rds group user this is happening

PS C:\WINDOWS\system32> Add-RdsAppGroupUser

cmdlet Add-RdsAppGroupUser at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
TenantName: vivek
HostPoolName: wvd-demo
AppGroupName: Desktop Application group
UserPrincipalName: vivek@wvdidtgmail.onmicrosoft.com
Add-RdsAppGroupUser : User is not authorized to query the management service.
ActivityId: c3120e83-8a0e-4273-877c-0d98201dca02
Powershell commands to diagnose the failure:
Get-RdsDiagnosticActivities -ActivityId c3120e83-8a0e-4273-877c-0d98201dca02
At line:1 char:1
+ Add-RdsAppGroupUser
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : FromStdErr: (Microsoft.RDInf...RdsAppGroupUser:AddRdsAppGroupUser) [Add-RdsAppGroupUser], RdsPowerShellException
+ FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.RDInfra.RDPowershell.AppGroupUser.AddRdsAppGroupUser

azure-virtual-desktop
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@prabhakar-7116

Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

0 Votes 0 ·
LeonLaude avatar image
0 Votes"
LeonLaude answered ·

Hi,

Remote Desktop Services is currently not supported in the Q&A forums, the supported products are listed over here https://docs.microsoft.com/en-us/answers/products (more to be added later on).

You can ask the experts in the dedicated Remote Desktop Services forum over here:
https://social.technet.microsoft.com/Forums/en-US/home?forum=winserverTS

(Please don't forget to accept helpful replies as answer)

Best regards,
Leon

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

stefangeorgiev avatar image
0 Votes"
stefangeorgiev answered ·

Hi,

The user that is running the command Add-RdsAppGroupUser does not have permissions on the tenant (vivek). If the tenantcreator (the user that created vivek) hasn't assigned RDS owner or RDS contributor to the usre that is running the command it will not work.

Regards

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.