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
  • How to Decrypt Files and Folders Encrypted with EFS in Windows 10
    How to decrypt Files and Folders Encrypted with an Encryption File System (EFS) in Windows Windows
  • fix
    How to fix Windows cannot find the Microsoft software license terms Windows Server
  • HiveNightmare
    Workaround for “SeriousSAM or HiveNightmare” registry vulnerability for Windows 10 and 11 Security | Vulnerability Scans and Assessment
  • vtpm 1
    Enable vTPM and BitLocker HyperV VM: Fix the device that cannot use a TPM module Virtualization
  • Microsoft Windows Windows 1
    How to specify a persistent default printer via the Windows Registry and PowerShell Windows
  • officeinstallationandactivation
    How to install and activate Office 2019 on your Mac PC Microsoft Exchange/Office/365
  • Steps to upgrade VBR to v12.1
    How to upgrade Veeam Backup and Replication v11 to 12.1 Backup
  • Trellix Upgrade
    Trellix ePO On-prem 5.10.0 Service pack 1 Update 3 upgrade Security | Vulnerability Scans and Assessment

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

  • add subheading 5 4
    Access EC2 Linux Instance via the Password AWS/Azure/OpenShift
  • Webp.net resizeimage 1
    Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
  • AWS import issues   OVA
    Error importing OVA file to AWS: Client error saved empty is empty AWS/Azure/OpenShift
  • Move Resources On Azure
    Move Azure Resources between Subscriptions AWS/Azure/OpenShift
  • redirects3endpoint
    How to redirect requests for your bucket’s website endpoint to another bucket or domain AWS/Azure/OpenShift
  • Azure App Service
    How to Restore Deleted Azure App Service Using PowerShell Automation

More Related Articles

add subheading 5 4 Access EC2 Linux Instance via the Password AWS/Azure/OpenShift
Webp.net resizeimage 1 Automate Infrastructure Deployments in the Cloud with Ansible and Azure Pipelines AWS/Azure/OpenShift
AWS import issues   OVA Error importing OVA file to AWS: Client error saved empty is empty AWS/Azure/OpenShift
Move Resources On Azure Move Azure Resources between Subscriptions AWS/Azure/OpenShift
redirects3endpoint How to redirect requests for your bucket’s website endpoint to another bucket or domain AWS/Azure/OpenShift
Azure App Service How to Restore Deleted Azure App Service Using PowerShell Automation

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
 
  • How to Decrypt Files and Folders Encrypted with EFS in Windows 10
    How to decrypt Files and Folders Encrypted with an Encryption File System (EFS) in Windows Windows
  • fix
    How to fix Windows cannot find the Microsoft software license terms Windows Server
  • HiveNightmare
    Workaround for “SeriousSAM or HiveNightmare” registry vulnerability for Windows 10 and 11 Security | Vulnerability Scans and Assessment
  • vtpm 1
    Enable vTPM and BitLocker HyperV VM: Fix the device that cannot use a TPM module Virtualization
  • Microsoft Windows Windows 1
    How to specify a persistent default printer via the Windows Registry and PowerShell Windows
  • officeinstallationandactivation
    How to install and activate Office 2019 on your Mac PC Microsoft Exchange/Office/365
  • Steps to upgrade VBR to v12.1
    How to upgrade Veeam Backup and Replication v11 to 12.1 Backup
  • Trellix Upgrade
    Trellix ePO On-prem 5.10.0 Service pack 1 Update 3 upgrade Security | Vulnerability Scans and Assessment

Subscribe to Blog via Email

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

Join 1,841 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.