Adding and validating a domain in Microsoft Azure using the new portal based on Azure Resource Manager (ARM). The new portal has been out there for a while, but since it is the latest one we can still consider the “new” portal until we have the classic portal around.
Before starting this Tutorial, make sure that you have access to the Public DNZ zone that we are going to add during this Tutorial.
I was a pleased customer with the classic portal and the process to manage Active Directory, however Microsoft Azure Team improved the experience on this new release which at this moment is in preview.
Logged on the Microsoft Azure portal, click on Active Directory and the new blade will have an overview of all main features being offered on the left side and useful information on the right side. The administrator is able to have a really good understanding of the environment in a single glimpse.
Click on Domains, a list of all domains associated to the Azure Active Directory will be listed on the right side. By default, at least one domain onmicrosoft.com will be listed and that domain is created during the provision process of the tenant.
Click on Add to add a new domain into the Azure Active Directory.
In the new blade, type in the domain name and click Add Domain.
In order to add a new domain, the administrator must prove that domain is own by the organization and there a couple of ways to do that. By default is creating a TXT record with the information provided on this stage of the creation. We can select other methods, such as MX records, however the default one is easy to validate.
The administrator can even send that information to an e-mail, by clicking on Share these settings via e-mail link. Keep in mind that the verification string will not change if we do not finish the validation at this moment. If for some reason the administrator has to continue in a couple of hours the string will be the same.
Configuring the DNS Zone..
The DNS configuration depends where is your DNS is hosted. In this Tutorial, we are using GoDaddy (keep in mind that your public DNS can be moved to Microsoft Azure).
The final result will be something similar to this on your zone.
Returning to validate the domain..
Let’s say that the validation did not go through at the first time for any reason. If you have to fix some stuff and afterwards validate that is going to be the process that you would follow.
Click on the same Domains, and we will notice that there is a warning signal besides of the domain that we created. That icon means that the validation is not complete. Click on the desired domain.
Click on Verify, and at this time the message informing that the process was sucessful will be displayed.
By default, the onmicrosoft.com is the primary domain, however since we have a valid domain which matches with our Active Directory, the tendency here is to make it the primary domain. In order to do that, click on Make primary, and confirm by hitting Yes.
Now, when we look at the Domain Names we should be able to see the new domain that we have just added as valid.