Getting Started with Microsoft Entra ID

Step‑by‑Step Guide: Entra ID, Tenant, User Creation, Groups, and Custom Domains

Identity is the backbone of cloud adoption. Once you’ve signed up for Azure, the next step is to configure Microsoft Entra ID (formerly Azure Active Directory). This service manages authentication, authorization, and directory services across your cloud environment.

By attaching a custom domain and creating users under it, you ensure professional, secure, and scalable identity management. Adding users to groups further simplifies access control and governance.

If you’d like to watch a step‑by‑step walkthrough of Introduction to Cloud Computing, Azure Plans and Sign-up, Promote a DC, Windows 11 installation, or Domain join, please visit our post-

      1. Introduction to Cloud Computing.
      2. Azure 4 Plans and How to sign-up.
      3. How to Promote a Server to Domain Controller (DC).
      4. How to install Windows 11 with/without TPM.
      5. How to Join a Windows Client to a Domain.

 

If you’d like to watch a step‑by‑step walkthrough of these steps, please visit our YouTube Video.

1. What is Microsoft Entra ID

Microsoft Entra ID is Azure’s identity and access management service. It provides:

      • Authentication: Verifies user identities when they sign in.

      • Authorization: Grants or denies access to resources based on roles and policies.

      • Directory Services: Acts as a cloud-based directory for users, groups, and devices.

      • Single Sign‑On (SSO): Users log in once and access multiple apps seamlessly.

      • Security Features: Multi‑Factor Authentication (MFA), Conditional Access, Identity Protection.

Why it’s important:

      • Every Azure resource is tied to Entra ID for access control.

      • It enables secure collaboration across teams, partners, and customers.

      • It’s the foundation for compliance, governance, and enterprise scalability.

2. Tenant and Tenant ID

When you create an Azure account, you automatically get an Entra ID tenant.

      • Tenant: A dedicated, isolated instance of Microsoft Entra ID that represents your organization. It contains users, groups, applications, and policies. Think of it as your company’s identity boundary in Azure.
      • Tenant ID: A globally unique identifier (GUID) assigned to your tenant. Example: a1b2c3d4-5678-90ab-cdef-1234567890ab.

Where to find Tenant ID:

      1. Go to Azure Portal → Microsoft Entra ID → Overview.
      2. Under Tenant Information, you’ll see:
        • Name (e.g., Default Directory or Name).
        • Tenant ID (GUID).
        • Primary Domain (yourtenant.onmicrosoft.com or custom domain). Microsoft Entra ID - Overview

Why Tenant ID matters:

      • Required when configuring APIs, SDKs, or automation scripts.
      • Used in PowerShell and CLI commands (az account show).
      • Needed for integrating third‑party apps with your directory.

3. Custom Domains in Entra ID

By default, your tenant domain looks like yourtenant.onmicrosoft.com. While functional, it’s not professional for production use.Custom domains (e.g., hktechhub.in) are required when:
      • You want users to log in with corporate emails ([email protected]).
      • You plan to integrate Microsoft 365 services (Exchange, Teams, SharePoint).
      • You need branding consistency across apps and portals.
      • You want to enable federation with on‑premises Active Directory.

Steps to Add a Custom Domain:

      1. Go to Azure Portal → Microsoft Entra ID → Custom Domain Names.
      2. Click + Add Custom Domain.
      3. Enter your domain name (e.g., hktechhub.in) and Click Add domain. Microsoft Entra ID - Custom domain
      4. Copy the TXT record provided by Azure. Microsoft Entra ID - TXT-record
      5. Add the TXT record in your domain registrar’s DNS settings (Hostinger, GoDaddy, etc.). Microsoft Entra ID - Add TXT record
      6. Wait for DNS propagation (5–30 minutes).
      7. Click Verify in Azure Portal.
      8. Once verified, set the custom domain as Primary. Microsoft Entra ID - Make Primary

4. Create a User with Custom Domain

Steps:

      1. Navigate to Azure Portal → Microsoft Entra ID → Users → + New User.
      2. Fill in details:
        • Name: Full name of the user.
        • User Principal Name (UPN): [email protected].
        • Password: Auto‑generated or custom. Microsoft Entra ID - Create User
      3. Click Next and Fill in additional properties.
      4. Click Next and Add Groups or Roles (User, Global Admin, etc.) if needed. Microsoft Entra ID - Add Role group
      5. Review and create the user account.
      6. User can now log in via https://portal.azure.com.

5. Create a Group and Add Users

Groups simplify access management by assigning permissions collectively.

Steps:

      1. Go to Azure Portal → Microsoft Entra ID → Groups → + New Group.
      2. Choose Security Group (for resource access) or Microsoft 365 Group (for collaboration).
      3. Enter:
        • Group Name: e.g., IT-Admins.
        • Group Type: Security.
        • Membership Type: Assigned (manual) or Dynamic (rules-based). Microsoft Entra ID - Create Group
      4. Click on Create.
      5. Open the GroupMembers → + Add Members.
      6. Select the user you created ([email protected]). Microsoft Entra ID - Add Member
      7. Click on Select to save the changes.
Now the user inherits permissions assigned to the group, making management easier.

6. Configure Security Settings

Basic Security Features:

      • Enable MFA for all users.

      • Configure Conditional Access Policies (e.g., block sign‑ins from risky locations or IPs).

      • Set up Self‑Service Password Reset (SSPR) to enable self password reset for user.

      • Audit sign‑ins via Azure AD Sign‑in Logs.

7. Best Practices

      • Always verify domains before assigning users.

      • Use Groups to manage permissions instead of assigning roles individually.

      • Apply least privilege access.

      • Regularly review sign‑in logs and audit reports.

      • Backup directory settings before major changes.

8. Key Takeaways

Key Points:

      • Microsoft Entra ID is the foundation of Azure identity and governance.

      • Tenant and Tenant ID define your organization’s identity boundary and are essential for integrations.

      • Custom domains make your tenant professional and enable Microsoft 365 integration.

      • User creation under custom domains ensures scalable identity management.

      • Groups simplify access control and enforce consistent policies.

      • Security features like MFA and Conditional Access protect against unauthorized access.

Pro Tip Always test with a pilot group before rolling out policies organization‑wide. This helps validate login, MFA, and access settings without disrupting production users.

Discover more:

Head over to our Blog page for the latest posts.

Share Your Thoughts

Your email address will not be published. Required fields are marked *

Scroll to Top