Thanks for posting your question in the Microsoft Q&A forum.
You'll need to use a combination of Azure RBAC and AVD application group assignments.
- Create separate application groups for each set of VMs you want to restrict access to
- Assign the appropriate users or groups to each application group. This will determine who can access which VMs
- For each VM, assign the "Virtual Machine User Login" role to the appropriate group
- Ensure that the users are also assigned the
Desktop Virtualization User
role for the host pool
If you continue to see the
The sign in method is not allowed
error, verify that:
- The VMs are properly joined to the domain
- The users have the correct licenses assigned
- The network security groupallows RDP traffic from the Azure Virtual Desktop service
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful