Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to Create a User and Custom Domain in Entra ID

Posted on 19/11/202424/06/2026 Christian By Christian No Comments on How to Create a User and Custom Domain in Entra ID
  1. Home
  2. AWS/Azure/OpenShift
  3. 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.

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

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
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

  • image 166
    How to deploy a .NET application to AWS Elastic Beanstalk using AWS Tool Kit AWS/Azure/OpenShift
  • Microsoft Enterprise Root Certification Authority and Forest Domain to Azure migration
    Migrate Microsoft Enterprise Root Certification Authority and Forest Domain to Azure AWS/Azure/OpenShift
  • Opswork blog 1440x800 1
    Get Started with OpsWorks for Chef Automate AWS/Azure/OpenShift
  • Simple Notification Service AWS SNS
    Create Simple Notification Service (SNS) Notification on AWS AWS/Azure/OpenShift
  • azure 1
    Fix SSO sign-in and non-routable domain issues AWS/Azure/OpenShift
  • FEATUREDC
    How to create Confidential VMs in Azure AWS/Azure/OpenShift

More Related Articles

computefeature How to use Azure Compute Gallery AWS/Azure/OpenShift
Simple Notification Service AWS SNS Create Simple Notification Service (SNS) Notification on AWS AWS/Azure/OpenShift
S3 Bucket Replication Set up Cross-Region Replication for S3 Buckets AWS/Azure/OpenShift
azure 1 Fix SSO sign-in and non-routable domain issues AWS/Azure/OpenShift
Azure CI CD Pipeline CI/CD Pipeline: Your First in Azure DevOps with ASP.Net Core AWS/Azure/OpenShift
HybridCloudTrust WHFB Hybrid Cloud Kerberos Trust Model is now available AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • Block ZIPRAR Attachments in Outlook 2016 – 2007
    How to Block ZIP/RAR Attachments in Outlook Windows
  • Feature image
    When Should I Use TPM or TPM + PIN Security | Vulnerability Scans and Assessment
  • dns records
    What are the different types of DNS Records Windows Server
  • AWS import issues OVA
    Error importing OVA file to AWS: Client error saved empty is empty AWS/Azure/OpenShift
  • Header picture 1
    Find BIOS Serial Number and System Information on Windows 11 Windows
  • Screenshot 2020 05 13 at 23.07.56
    ENA Driver on Amazon EC2: Easy Installation Guide AWS/Azure/OpenShift
  • ghm
    Single App Kiosk Mode Configuration using MDM Bridge WMI Provider Windows
  • Screenshot 2020 11 17 at 12.20.15
    PA Server Monitor Ultra: How to setup PA Server Monitor Reviews

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.