Forum Discussion
eriknu
Oct 14, 2019Copper Contributor
Assign users security group to the desktop application group?
Hy, >> The Add-RdsAppGroupUser cmdlet doesn't support adding security groups and only adds one user at a time to the app group. If you want to add multiple users to the app group, rerun the cmdle...
- Oct 25, 2019
eriknu : One way that a lot of folks achieve this is by polling an Azure AD group, then refreshing every morning (or couple of hours). I don't have the exact PowerShell, but basically a script that does:
- Get a list of all users in <AADSecurityGroup>
- Get a list of all users in <RdsAppGroup>
- Find users in <RdsAppGroup> but not <AADSecurityGroup>
- Foreach user, remove the user from <RdsAppGroup>
- Find users in <AADSecurityGroup> but not <RdsAppGroup>
- Foreach user, add the user to the <RdsAppGroup>
AlexDLevin
May 22, 2020Copper Contributor
Just checking in to see if there was any update to being able to directly use security groups yet?
Christian Taveras
May 23, 2020Iron Contributor
AlexDLevin its coming as per this post.
https://www.petri.com/everything-you-need-to-know-about-windows-april-2020
- kumaranshuApr 01, 2021Copper ContributorIf this update feature or some other way to add Groups directly to Application group is available now, could someone point me to that
- eriknuApr 12, 2021Copper Contributorgo to azure portal - Windows Virtual Desktop - Application group - choose your group - Assignments - Add -> Select Azure AD users or user groups