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, can be added to the Azure AD tenant.
To add a custom domain to Azure AD from the Azure portal, follow these steps:
- Navigate to the Azure portal by going to https://portal.azure.com.
- From 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 from the top menu, as follows:
Adding a custom domain
- Type the custom domain name into the Custom domain name field (for example, packtpub.com) and select Add domain, as follows:
Providing a custom...