Forum Discussion

Yooakim's avatar
Yooakim
Copper Contributor
Feb 06, 2020

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

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 (mailto:wvdadmin@domain.tld) which have the roles assigned as can be seen below:

 

Can anyone help me get past this issue? 

No RepliesBe the first to reply

Resources