Get-RdsRoleAssignment "Parameter name: xxx is not valid"

New Contributor

Whenever I try to run the cmdlet Get-RdsRoleAssignment I get the following error:

Get-RdsRoleAssignment : Specified argument was out of the range of valid values.
Parameter name: Scope /Default Tenant Group/X5/Desktop Application Group is not valid
At line:1 char:1
+ Get-RdsRoleAssignment
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-RdsRoleAssignment], ArgumentOutOfRangeException
    + FullyQualifiedErrorId : System.ArgumentOutOfRangeException,Microsoft.RDInfra.RDPowershell.Authorization.GetRdsR     oleAssignment

 

I am logged in with our WVD admin account (wvdadmin@domain.tld) which have the roles assigned as can be seen below:Annotation 2020-02-06 090833.png

 

Can anyone help me get past this issue? 

0 Replies