Reader Access

Glenn Maxwell 10,146 Reputation points
2022-05-06T07:57:45.42+00:00

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"

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,367 questions
0 comments No comments
{count} votes

Accepted answer
  1. srbhatta-MSFT 8,546 Reputation points Microsoft Employee
    2022-05-09T03:33:37.957+00:00

    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?


0 additional answers

Sort by: Most helpful