Oct 14 2019 06:34 AM
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 cmdlet with the appropriate user principal names. <<
-> is there any workaround for adding AD-Groups? Our customer has a lot of accounts to add.
Thanks,
Erik
Oct 25 2019 02:23 PM
Solution@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>
Nov 20 2019 03:51 AM
Dec 13 2019 11:54 AM - edited Dec 13 2019 11:56 AM
Jan 16 2020 09:19 AM
is there a new update/enhancement for this to make things easier? maybe in WVD Management portalA?
Jan 16 2020 09:21 AM
@mr2urbo : This work is part of our integration into the Azure Portal. We do not have a specific date for preview, but targeting this Spring.
Jan 16 2020 11:54 AM
May 22 2020 04:30 PM
Just checking in to see if there was any update to being able to directly use security groups yet?
May 23 2020 07:44 AM
@AlexDLevin its coming as per this post.
https://www.petri.com/everything-you-need-to-know-about-windows-april-2020
Apr 01 2021 04:21 AM
Apr 12 2021 08:14 AM
Oct 25 2019 02:23 PM
Solution@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>