May 20 2020
Is there any way to assign users to app groups (be it desktop or remote app groups) using newly launched PS module i.e. Az.DesktopVirtualization?
I only see a relevant command i.e. Update-AzWvdApplicationGroup, however not sure of its usage when it comes to doing user assignments from PS, anyone experienced this or have any pointers to do it?
Thanks in advance!
View best response
May 21 2020
New-AzRoleAssignment -SignInName <userupn> -RoleDefinitionName "Desktop Virtualization User" -ResourceName <appgroupname> -ResourceGroupName <resourcegroupname> -ResourceType 'Microsoft.DesktopVirtualization/applicationGroups'