Azure creates an initial domain for every Azure AD tenant that is created in a subscription. This domain name consists of the tenant name, followed by onmicrosoft.com (packtpub.onmicrosoft.com). You cannot change or delete the initial domain name, but you can add custom domains to your Azure AD tenant.
This custom domain name can be registered at a third-party domain registrar and, after registration, you can add it to the Azure AD tenant.
To add a custom domain to Azure AD from the Azure portal, you have to perform the following steps:
- Navigate to the Azure portal by opening https://portal.azure.com.
- In the left menu, select Azure Active Directory.
- In the Azure AD overview blade, under Manage, select Custom domain names. To add a custom domain, select the + Add custom domain button in the top menu, as follows:
Adding a custom domain
- Type the custom...