Forum Discussion

bhushangawale's avatar
bhushangawale
Brass Contributor
May 20, 2020
Solved

How to assign users to app groups using New PS Module (Az.DesktopVirtualization)

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!

  • New-AzRoleAssignment -SignInName <userupn> -RoleDefinitionName "Desktop Virtualization User" -ResourceName <appgroupname> -ResourceGroupName <resourcegroupname> -ResourceType 'Microsoft.DesktopVirtualization/applicationGroups'

1 Reply

  • New-AzRoleAssignment -SignInName <userupn> -RoleDefinitionName "Desktop Virtualization User" -ResourceName <appgroupname> -ResourceGroupName <resourcegroupname> -ResourceType 'Microsoft.DesktopVirtualization/applicationGroups'

Resources