Hello @Glenn Maxwell , thanks for reaching out to Microsoft QnA.
The first Powershell command for WVD seems correct to me. However, when I tried the second command in my lab for AVD, I got an error. I am checking on how the correct syntax in order to remove the error. Did you by any chance try running any of the above commands?
Reader Access
Hi All
I am using Windows virtual desktop classic edition and Azure Virtual Desktop. i want to give reader access to an AD group where i want to give read access to the users of this AD to Windows Virtual Desktop and Azure Virtual Desktop. i.e i want users of this AD group fetch session hostnames. are the below syntaxes correct
WVD
New-RdsRoleAssignment -RoleDefinitionName "RDS Reader" -GroupObjectId "aaaa-aaaa-aaaa-aaaa-aaaa" -TenantGroupName "contosoTenantGroup" -TenantName "contosoA"
AVD
New-AzRoleAssignment -RoleDefinitionName "RDS Reader" -GroupObjectId "aaaa-aaaa-aaaa-aaaa-aaaa" -TenantGroupName "contosoTenantGroup" -TenantName "contosoA"
-
srbhatta-MSFT 8,551 Reputation points Microsoft Employee
2022-05-09T03:33:37.957+00:00