Set up managed identities
Because Azure Virtual Desktop doesn't currently support external profiles, or "identities," your users won't be able to access the apps you host with their own corporate credentials. Instead, you'll need to create identities for them in the Active Directory Domain that you'll use for remote app streaming and sync user objects to the associated Azure Active Directory (Azure AD) tenant.
In this article, we'll explain how you can manage user identities to provide a secure environment for your customers. We'll also talk about the different parts that make up an identity.
Requirements
The identities you create need to follow these guidelines:
- Identities must be hybrid identities, which means they exist in both the Active Directory (AD) and Azure Active Directory (Azure AD). You can use either Active Directory Domain Services (AD DS) or Azure Active Directory Domain Services (Azure AD DS) to create these identities. To learn more about each method, see Compare identity solutions.
- You should keep users from different organizations in separate Azure AD tenants to prevent security breaches. We recommend creating one Active Directory Domain and Azure Active Directory tenant per customer organization. That tenant should have its own associated Azure AD DS or AD DS subscription dedicated to that customer.
The following two sections will tell you how to create identities with AD DS and Azure AD DS. To follow the security guidelines for cross-organizational apps, you'll need to repeat the process for each customer.
Managing users with Active Directory Domain Services
In this method, you'll set up hybrid identities using an Active Directory Domain Controller to manage user identities and sync them to Azure AD.
This method involves setting up Active Directory Domain Controllers to manage the user identities and syncing the users to Azure AD to create hybrid identities. These identities can then be used to access hosted applications in Azure Virtual Desktop. In this configuration, users are synced from Active Directory to Azure AD and the session host VMs are joined to the AD DS domain.
To set up an identity in AD DS:
Create an Azure AD tenant and a subscription for your customer.
Install Active Directory Domain Services on the Windows Server virtual machine (VM) you're using for the customer.
Install and configure Azure AD Connect on a separate domain-joined VM to sync the user accounts from Active Directory to Azure Active Directory.
If you plan to manage the VMs using Intune, enable Hybrid Azure AD-joined devices with Azure AD Connect.
Once you've configured the environment, create new users in the Active Directory. These users should automatically be synced with Azure AD.
When deploying session hosts in your host pool, use the Active Directory domain name to join the VMs and ensure the session hosts have line-of-sight to the domain controller.
This configuration will give you more control over your environment, but its complexity can make it less easy to manage. However, this option lets you provide your users with Azure AD-based apps. It also lets you manage your users' VMs with Intune.
Managing users with Azure Active Directory Domain Services
Azure AD DS identities are stored in a Microsoft managed Active Directory platform as a service (PaaS) where Microsoft manages two AD domain controllers that lets users use AD DS within their Azure subscriptions. In this configuration, users are synced from Azure AD to Azure AD DS, and the session hosts are joined to the Azure AD DS domain. Azure AD DS identities are easier to manage, but don't offer as much control as regular AD DS identities. You can only join the Azure Virtual Desktop VMs to the Azure AD DS domain, and you can't manage them with Intune.
To create an identity with Azure AD DS:
Create an Azure AD tenant and subscription for your customer.
Deploy Azure AD Directory Services in the user’s subscription.
Once you've finished configuring the environment, create new users in Azure Active Directory. These user objects will automatically sync with Azure AD DS.
When deploying session hosts in a host pool, use the Azure AD DS domain name to join the VMs.
Next steps
If you'd like to learn more about security considerations for setting up identities and tenants, see the Security guidelines for cross-organizational apps.
Maklum balas
Kirim dan lihat maklum balas untuk