add the rds app group user

prabhakar 1 Reputation point
2020-06-11T19:28:47.023+00:00

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
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,362 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,651 Reputation points
    2020-06-11T19:29:41.67+00:00

    Hi,

    Remote Desktop Services is currently not supported in the Q&A forums, the supported products are listed over here https://learn.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

    0 comments No comments

  2. Stefan Georgiev-MSFT 96 Reputation points
    2020-06-11T19:32:47.887+00:00

    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

    0 comments No comments