Mar 13 2020 05:52 AM
when i try to remove a user name from an RdsAppGroup and that user has already been deleted from azure ad, i get:
Remove-RdsAppGroupUser : The specified UserPrincipalName does not exist in the Azure AD associated with the RD tenant.
i don't have control of who is able to delete azure ad users, but i want to run a cron cleanup script to prune my RdsAppGroups of users names not in selected security groups.
if the user must exist in aad to be deleted from an appgroup, then deleting a user in aad should delete that user in an appgroup too, otherwise how do we keep appgroups clean?
Mar 13 2020 08:42 AM
I ran into the same issue. Hope there is a way to remove group user without re-creating account in AD.
thanks.
Mar 16 2020 10:37 AM
Apr 14 2020 11:00 AM
Apr 14 2020 11:07 AM
Apr 15 2020 10:10 AM
I fixed this with a powershell script. The script looks in my onpremise AD and sync with powershell to App groups.