Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » How to Create a User and Custom Domain in Entra ID
  • windows 10 creators update wallpaper
    Run or Edit and Delete Tasks via Windows Task Scheduler Windows
  • add or remove features on the specified server failed
    Error 0x80073701: The request to add or remove features on the specified server failed Windows Server
  • Windows Storage Sense Enable
    Storage Sense: Manage Storage Drives on Windows Storage
  • Featured image BSOD
    How to troubleshoot and fix Windows 11 blue screen Windows
  • FEATURE IMAGE BASE URL 1
    How to solve cannot find a valid base URL for repo: base/7/x86_64 Linux
  • 2022 1
    Install Windows Server 2022 on VirtualBox Network | Monitoring
  • ChatGPT on Linux
    Set Up and Use ChatGPT in Linux Terminal Linux
  • image 36
    Keepalive Settings: Understanding keepalive configuration Linux

How to Create a User and Custom Domain in Entra ID

Posted on 19/11/202419/11/2024 Christian By Christian No Comments on How to Create a User and Custom Domain in Entra ID
Create a User and Custom Domain in Entra ID

Since Microsoft Entra (formerly Azure Active Directory) tenants come with an initial domain name like “<name>.onmicrosoft.com” that you can not change or delete. But you can add your organization’s DNS name as a custom domain and set it as the primary domain. Therefore, in this article, I will show you how to create a User and Custom Domain in Entra ID. Please see AADSTS50020: User from Identity Provider does not exist in Tenant, and Delete Azure Tenant: Remove Custom Domain from Entra ID.

Note: Before you can add a custom domain name, create your domain name with a domain registrar if you do not already have one.

Make sure the domain name isn’t already in use in another directory. A domain name can only be verified in one directory. If your domain name is currently verified in another directory, it can’t also be verified in the new directory. To fix this duplication problem, you must delete the domain name from the old directory

Also, see how to add and verify a custom domain name to Azure Active Directory, how to Install OpenSSL on Windows Computers, and Why is BitLocker unable to encrypt Removable Drives via MBAM?

Why Create a Custom Domain?

Creating a custom domain in Entra ID provides several advantages, especially for organisations and businesses looking to maintain a professional identity and streamline their cloud environment.

  • Using a custom domain for instance techdirectarchive.com instead of the default onmicrosoft.com domain enhances your brand’s uniqueness.
  • A custom domain simplifies SSO configuration for applications by using your organisation’s domain for authentication.

The list is endless! Therefore, we will be adding a custom domain and this will require us to verify our domain via DNS records

Please see how to “Register Devices to Intune and EntraID Using Company Portal“, how to create a custom view in Windows Event Viewer, and how to Join Bulk Devices using a Provisioning Package to Azure.

Add a Custom Domain in Entra ID

To add a custom domain, please log in to the Azure Portal with an Log in with an account that has Global Administrator permissions.

Search for Entra ID, and click on it. In the left-hand navigation, select Custom domain names and click on “Add custom domain“.

Add custom domain

Enter your domain name, and click on Add Domain.

Add domain

You will be required to verify your domain. As you can see below, we have the option to create a TXT or MX record with my Domain Name Registrar with the information below.

verify domain

Add your DNS information to the domain registrar

To do this, I will navigate to WordPress in order to create a DNS record. Add the required TXT record to your domain DNS settings.

After creating the record, Save the DNS changes and return to the Entra ID portal by clicking on Add DNS Record as shown below.

Screenshot 2024-11-14 at 22.40.59

After updating the DNS record, click Verify in the Entra ID portal to confirm domain ownership. Entra ID will check the DNS records and verify your ownership.

domain verification
Note: DNS records must propagate before you can verify the domain. This process can take an hour or more.

As you can see below. We have successfully verified our domain name.

notification - domain verified

Next, we will have to make the Domain the primary domain in order to simplify our user authentication.

Domain verified

Since I still have the blade open, I will have to enable my account the ability to manage all Azure subscriptions and management groups by setting, To do this, enable the switch below.

change-directory-name

Once the domain is verified, you can make it the default domain for new user accounts

Please see Domain Name System: How to create a DNS record, and Domain Name System Protocol: Client Registration Issue. Also, see How to setup a Third-Party DNS Server on a Linux Server.

Make Custom Domain Primary

Navigate to Entra ID and click on Custom domain names. Click on your custom domain and select Make primary.

Make Primary Domain

In the confirmation window below, select “Yes” to make it the primary domain.

Accapt to make domain primary

That is all that you need to do to create and make a custom Domain primary in Entra ID.

Create a User in Entra ID

Launch Entra ID and select All Users as shown below. Click on New user and then on “Create new user”

Create Entra ID user

Please populate the new user window with the basic information, and click on “Review and Create”, or on Next “Properties” and then to Assignment as you wish.

user creation

Since I have decided to click on Review and Create at the moment, I will assign a password and click on create.

review and create user

As you can see, we have successfully ceated a user in Entra ID with the right User Principal Name (UPN) of our custom domain

user created

I hope you found this article very useful on how to Create a User and Custom Domain in Entra ID. Please feel free to leave a comment below.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:Azure, Azure Active Directory, Azure AD

Post navigation

Previous Post: AADSTS50020: User from Identity Provider does not exist in Tenant
Next Post: Block IP Addresses Using Group Policy (GPO) in Active Directory

Related Posts

  • Azure Backup 1
    How to Install Azure Backup Agent AWS/Azure/OpenShift
  • DeleteAzureVM
    Remove Azure VM: How to delete a Virtual Machine via the Azure Portal AWS/Azure/OpenShift
  • sonarcloud
    How to Integrate SonarCloud with Azure DevOps Pipeline AWS/Azure/OpenShift
  • EC2
    How to Add and Format a New Virtual Disk to an EC2 Instance AWS/Azure/OpenShift
  • Azure App Service
    How to Restore Deleted Azure App Service Using PowerShell Automation
  • AzureAD
    Azure Active Directory integration with on-premise AD using PTA AWS/Azure/OpenShift

More Related Articles

Azure Backup 1 How to Install Azure Backup Agent AWS/Azure/OpenShift
DeleteAzureVM Remove Azure VM: How to delete a Virtual Machine via the Azure Portal AWS/Azure/OpenShift
sonarcloud How to Integrate SonarCloud with Azure DevOps Pipeline AWS/Azure/OpenShift
EC2 How to Add and Format a New Virtual Disk to an EC2 Instance AWS/Azure/OpenShift
Azure App Service How to Restore Deleted Azure App Service Using PowerShell Automation
AzureAD Azure Active Directory integration with on-premise AD using PTA AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • windows 10 creators update wallpaper
    Run or Edit and Delete Tasks via Windows Task Scheduler Windows
  • add or remove features on the specified server failed
    Error 0x80073701: The request to add or remove features on the specified server failed Windows Server
  • Windows Storage Sense Enable
    Storage Sense: Manage Storage Drives on Windows Storage
  • Featured image BSOD
    How to troubleshoot and fix Windows 11 blue screen Windows
  • FEATURE IMAGE BASE URL 1
    How to solve cannot find a valid base URL for repo: base/7/x86_64 Linux
  • 2022 1
    Install Windows Server 2022 on VirtualBox Network | Monitoring
  • ChatGPT on Linux
    Set Up and Use ChatGPT in Linux Terminal Linux
  • image 36
    Keepalive Settings: Understanding keepalive configuration Linux

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,839 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.