Introduction
Azure Active Directory (Azure AD) is Microsoft’s multi-tenant cloud based directory and identity management service.
More in-depth detail about Azure AD can be found here.
a fresh Azure AD installation will have the following constraints:
- Usernames at this stage will be <username>@<AzureADName>.onmicrosoft.com;
Users will be required to remember usernames. (Most users find it difficult remember their passwords);
- Manual process is required for creating user accounts (GUI, PowerShell or CSV import);
- User passwords will not be in-sync with their network password;
This article will only focus in addressing the constraints above, with the least possible effort. More complex options are available and will depend on security & business requirements.
Configuration / Installation
Each optional tasks below should be followed chronological order to address the constraints above.
1. Add Email Domain (Optional)
This step should be done first before proceeding with step 2.
Only one Azure AD can own the organization email domain and Microsoft will not allow registering the email domain into another Azure AD Subscriptions.
Follow these steps to allow usernames to be the same as the organization email address:
- Go to https://manage.windowsazure.com
- On the left menu click “Active Directory”
- Open your new create Azure AD, you should see the following screen:
- Click “Domain” Tab
- Click “ADD A CUSTOM DOMAIN”, the following wizard will appear:
- Enter company domain name, example: “schmarr.com”, click “add”
- On Page 2, will have the TXT record that should be created in the company domain external DNS service. Please see example:
- Once the DNS TXT record is created, Click “verify” (Please allow DNS replication to complete up to 48 hours)
- Change the user accounts manually to reflect user emails addresses
For automating user creation and password sync, please proceed to step 2.
2. Automate Account creation in Azure AD (Optional)
It is recommended that step 1 should be completed first, otherwise all users account will be created with system created domain name e.g. “<username>@<AzureADName>.onmicrosoft.com”
Assumptions / Requirements
The following assumptions are made in this section:
- Internal Active Directory up and running
- Windows 2012 R2 Member server of the Active Directory, ready to install Azure AD Connect
- The member server has internet access
- Active Directory userPrincipalName(UPN) reflects the user’s mail address
- This assumption is in most cases are a challenge for most organizations and the following options are available:
- Run the Azure AD Connect (Steps below is expert install) in advanced mode and choose “mail” attribute instead of userPrincipalName(UPN) – Easy fix;
- Fix the UPN to be the same as email address, here is a microsoft tool that can assist;
- This assumption is in most cases are a challenge for most organizations and the following options are available:
- Azure AD
- A Active Directory enterprise administrator account
- global admin account is created with default domain context e.g. admin@<AzureADName>.onmicrosoft.com
Azure AD Configuration
- Go to https://manage.windowsazure.com
- On the left menu click “Active Directory”
- Open your new create Azure AD, you should see the following screen:
- Click “DIRECTORY INTEGRATION” Tab
- Click “ATIVATED”, then click “SAVE”
Azure AD Connect Installation
The following tasks will be completed on the domain member server.
- Download Azure AD Connect from Here
- Run the downloaded setup file on the Windows 2012 R2 member server
- Click “Continue”
- Click “Use express settings”
- Enter your Azure AD Admin username e.g. admin@<AzureADName>.onmicrosoft.com and password
- Click “Next”
- Enter the Active Directory Enterprise Admin account and password
- Click “Next”
- Click “Install”
Once the installation is complete all user accounts will be created in Azure AD automatically with the current user email address. Password synchronization will also be automatically enabled.
Advanced installation will allow disabling password sync if not required.
Conclusion
User will be now be able to login into Azure AD using exiting email address and network password.
One thought on “Essential Azure AD Configuration”