Forum Discussion
azure virtual desktop: adding users after initial deployment
RodNetthanks. we looked at all the documentation and we were able to do this via powershell using add-rdsappgroupuser
Suleyman Ali : Can you tell me more on this, I have deployed the Azure VDI successfully, also I can login to the VDI with global admin user ID and pass. I want to add 2 more users to it. max capacity of the pool is 4 . Thanks in advance.
- RodNetAug 20, 2019Brass ContributorHi Amar619
If you have deployd succesfully the WVDI and whant to add more users to use Just follow the steps:
1- The User must exist on Azure AD with a valid UPN, this will be used to give access to VDI.
2 - Open Power Shell and Run the following cmdlet to sign in to the Windows Virtual Desktop environment:
Add-RdsAccount -DeploymentUrl "https://rdbroker.wvd.microsoft.com"
3- Add users to the desktop application group by using this cmdlet:
Add-RdsAppGroupUser
-TenantName <yourtenantname>
-Hostpoolname <hostpoolname>
- AppGroupName "Desktop Application Group" -UserPrincipalName <userupn ex:user@contoso.com>
The references for this cmdlets and steps are described on:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-azure-marketplace#optional-assign-additional-users-to-the-desktop-application-group
I Hope this could help you.
😀
Remind to pass the same USERUPN for the user on Azure Active Directora.- Aseem NayarDec 05, 2019Copper Contributor
RodNet Is there a way to add via a group or do you have to add each user individually?
What do you do in the case of a large deployment?
- mrktosDec 10, 2019Brass Contributor
HeyAseem Nayar
You can also deploy a VDI Management Portal - which currently can only be configured as an App Service. From what I know Microsoft team is working currently to create a new management portal that will be available from the Azure Portal.
Currently I am administering 3 deployments of VDI in Azure and unfortunately for now you can only add single users which has to be synced in your AAD. If you would like to add multiple users I can share a script with you that it will do this for you. You just have to fill CSV file with Username, AppGroup and HostPool column and then script will add all the users to the specific AppGroup for you automaticly.
Currently there are two licensing models. One that is using CAL licensing and the other that is using M365 License or E5 Lisence if you have Windows 10 Enterprise.
Here is the Microsoft Documentation Page with all the Powershell Comands that you can use with Azure VDI Deployment.
https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/
Regards,
Wojciech