Hi Peter,
To restrict the new user’s access to only their Azure Virtual Desktop via Bastion, I can suggest you first to check current access role of this new user by using check permission on the subscription level. In Azure portal > go to subscription > click on your subscription > click on check access and write the user name.
Once you get the role assgiment of the user you can click on each role assigment and remove the user, except the reader role to keep the permission to only read the subscription.
Here more information if you want to dig into (https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-list-portal )
Now you can add the role Virtual Machine User Login to enable access remotly to the virtual machine:
- Navigate to the specific Azure Virtual Desktop (the virtual machine).
- Select Access control (IAM) > Add role assignment.
- Choose the Virtual Machine User Login role and assign it to the new user. This role allows the user to log in to the virtual machine.
Additional references:
- https://learn.microsoft.com/en-us/azure/role-based-access-control/quickstart-assign-role-user-portal
- https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-setup-guide/manage-access
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
Regards,
Luis