How do we add a purchased domain to Azure Active Directory
![How do we add a purchased domain to Azure Active Directory](https://www.dataplatform.gr/wp-content/uploads/2021/01/dp_azure.png)
- How can we connect Oracle Database to SQL Server using Oracle Gateway on Linux - 1 July 2024
- How do we automate the process of checking the integrity of databases in SQL Server without using a maintenance plan - 10 May 2024
- How can we connect Oracle Database to SQL Server using Oracle Gateway on Windows - 5 April 2024
In the article we will see how we add to Azure Active Directory one custom domain us that we will be able to have bought it from any provider.
What is its utility
When we create a Tenant / Azure Active Directory a name associated with the name we gave to is automatically created Tenant of the shape TenantName.onmicrosoft.com.
But instead of this domain, we can use one of ours that we have bought, e.g. dataplatform.gr.
So we will then be able to create web apps and new users in Active Directory who will have our custom domain.
The example
In our example we will see how we add the custom domain we have purchased from papaki.gr .
To begin with, we connect to Azure Portal and we select Azure Active Directory.
![How do we add a purchased domain to Azure Active Directory](https://www.dataplatform.gr/wp-content/uploads/2020/12/cd-01-927x1024.png)
Then we select it Custom domain names. There we will see what was automatically created in our case dataplatformgr.onmicrosoft.com. So we continue choosing Add custom domain.
![How do we add a purchased domain to Azure Active Directory](https://www.dataplatform.gr/wp-content/uploads/2020/12/cd-02.png)
As soon as we add it, we will see some information that we will have to pass to the domain provider (eg papaki.gr).
![How do we add a purchased domain to Azure Active Directory](https://www.dataplatform.gr/wp-content/uploads/2020/12/cd-03.png)
Now we connect to the domain provider (papaki.gr). We choose DNS service.
![How do we add a purchased domain to Azure Active Directory](https://www.dataplatform.gr/wp-content/uploads/2020/12/cd-05-959x1024.png)
There we will have to choose For advanced , Insert new TXT record. In the txt record we enter the Destination or points to address from Azure. We leave the name blank and that's it Save.
![How do we add a purchased domain to Azure Active Directory](https://www.dataplatform.gr/wp-content/uploads/2020/12/cd-04-1024x526.png)
We go back to Azure by selecting verify. We can select the domain we added as default with the option Make primary.
![How do we add a purchased domain to Azure Active Directory](https://www.dataplatform.gr/wp-content/uploads/2020/12/cd-06.png)
Finishing the process we will see that when we go to e.g. to add a new user to Azure Active Directory will have the suffix of our domain e.g. dataplatform.gr.
![How do we add a purchased domain to Azure Active Directory](https://www.dataplatform.gr/wp-content/uploads/2020/12/cd-07-1024x948.png)