2.1 How to Add a Custom Domain to a Microsoft 365 Tenant

 

Introduction

When a new Microsoft 365 tenant is created, Microsoft automatically assigns a default domain in the format tenantname.onmicrosoft.com.

For example:

  • contoso.onmicrosoft.com 
  • abccompany.onmicrosoft.com  

Although this default domain can be used for accessing Microsoft 365 services, most organizations prefer to use their own business domain for professional communication.

A custom domain allows users to have professional email addresses such as john@company.com.

instead of: john@company.onmicrosoft.com

By adding a custom domain to Microsoft 365, organizations can improve branding, enhance credibility, and provide a better user experience.

 

Why Add a Custom Domain?

A custom domain helps organizations establish a professional identity while using Microsoft 365 services.

Benefits of Using a Custom Domain

  • Professional email addresses 
  • Improved business branding 
  • Better customer trust 
  • Consistent user sign-in names 
  • Simplified identity management 
  • Integration with Microsoft 365 services 

 

Prerequisites

Before adding a custom domain, the following requirements should be fulfilled:

Microsoft 365 Tenant—An active Microsoft 365 tenant must already exist. 

Domain Ownership—

The organization should own a domain purchased from a domain registrar, such as:

  • GoDaddy 
  • Namecheap 
  • Hostinger 
  • BigRock  

Administrative Permissions

The user performing the task should have:

  • Global Administrator role 

or

  • Domain Management permissions 

 

Process of Adding a Custom Domain

Adding a custom domain to Microsoft 365 involves verification and DNS configuration. The process can be divided into several stages.

 

Step 1: Access Microsoft 365 Admin Center

Sign in to the Microsoft 365 Admin Center using an administrator account.

Admin Portal: admin.microsoft.com

After a successful sign-in, the Microsoft 365 Admin Center dashboard appears.

 

Step 2: Navigate to the Domains Section

From the left navigation pane: Settings → Domains

The Domains page displays:

  • Default onmicrosoft.com domain 
  • Existing custom domains 
  • Domain management options 

This section is used to add and manage domains within the tenant.

 

Step 3: Add a New Domain

Select: Add Domain

A wizard will start asking for the domain name.

Example: company.com

After entering the domain name, select Use This Domain.

Microsoft then begins the verification process.

 

Step 4: Verify Domain Ownership

Before Microsoft allows the domain to be used, ownership must be verified.

The most common verification method uses a TXT record.

Microsoft generates a unique TXT record similar to:

Type: TXT

Value: MS=ms12345678

The administrator must add this TXT record in the DNS management portal of the domain provider.

 

Step 5: Add Verification Record to DNS

Log in to the domain registrar's portal.

Examples:

  • GoDaddy 
  • Hostinger 
  • Namecheap  

Open DNS Management and create the TXT record provided by Microsoft.

After saving the record, Microsoft checks public DNS and verifies ownership.

This process may take several minutes, depending on DNS propagation.

 

Step 6: Configure Microsoft 365 DNS Records

After successful verification, Microsoft provides additional DNS records required for services such as:

  • Exchange Online 
  • Microsoft Teams 
  • SharePoint Online 
  • OneDrive 
  • Outlook AutoDiscover 

Common records include: 

MX Record—Used for email delivery.

CNAME Record—Used for service discovery and Outlook configuration.

TXT Record—Used for verification and security purposes.

SRV Record—Used by communication services such as Teams.

These records must be added to the DNS zone of the domain.

 

Step 7: Complete Domain Setup

After all required DNS records have been configured, Microsoft validates the configuration.

Once validation is successful:

  • The domain status changes to Healthy. 
  • Microsoft 365 services become available for the domain. 

The custom domain is now fully integrated with the Microsoft 365 tenant.

 

Step 8: Assign the Domain to Users

After the domain has been added successfully, administrators can assign it to users.

Example:

Before: john@company.onmicrosoft.com

After: john@company.com

The custom domain can also be assigned to:

  • Shared mailboxes 
  • Groups 
  • Resource mailboxes 
  • Service accounts 

 

DNS Records Commonly Used During Domain Setup

 

Record TypePurpose
TXT RecordDomain Verification
MX RecordEmail Routing
CNAME RecordService Discovery
SRV RecordTeams and Communication Services

 

Common Issues During Domain Configuration:

Administrators may encounter some common problems while adding a custom domain.

1. Domain Verification Failure

Cause: TXT record not added correctly.

Solution: Verify DNS configuration and wait for DNS propagation.

2. Email Not Working

Cause: MX record missing or incorrect.

Solution: Verify Exchange Online MX record configuration.

3. Outlook AutoDiscover Issues

Cause: Missing CNAME record.

Solution: Configure the AutoDiscover CNAME record correctly.

4. DNS Propagation Delay

Cause: DNS changes require time to replicate globally.

Solution: Wait for propagation and retry verification.

 

Example:

ABC Technologies purchases the domain: abctech.com

The company creates a Microsoft 365 tenant and initially receives admin@abctech.onmicrosoft.com.

The administrator adds the custom domain abctech.com through the Microsoft 365 Admin Center and verifies ownership using a TXT record.

After configuring MX and CNAME records, employees receive professional email addresses such as:

  • raj@abctech.com 
  • support@abctech.com 
  • hr@abctech.com  

The organization can now use the custom domain across Microsoft 365 services, including Exchange Online, Teams, SharePoint, and OneDrive.

 

 

2.2 Creating Multiple Users in Microsoft 365 (Manual Method and CSV Import)

 

Introduction

User accounts are required for employees to access Microsoft 365 services such as Outlook, Teams, OneDrive, SharePoint, and other cloud applications. Every employee who needs access to Microsoft 365 resources must have a user account and an appropriate license assigned to them.

In small organizations, administrators can manually create user accounts one at a time. However, in medium and large organizations where hundreds of employees need accounts, manually creating each user becomes time-consuming. To simplify this process, Microsoft 365 provides a bulk user creation feature using CSV files.

Microsoft 365, therefore, supports two methods for creating users:

  • Creating users manually (one by one)  
  • Creating users in bulk using a CSV file 

 

Method 1: Creating Users Manually

What is manual user creation?

Manual user creation is the process of creating individual user accounts directly from the Microsoft 365 Admin Center.

This method is suitable when:

  • A new employee joins the organization.
  • Only a few user accounts need to be created. 
  • Individual user configurations are required. 

 

Steps to Create a User Manually

 

Step 1: Open Microsoft 365 Admin Center

Sign in using an administrator account.

Portal: admin.microsoft.com

 

Step 2: Navigate to Active Users

From the left navigation pane: Users → Active Users

This section displays all existing users within the tenant.

 

Step 3: Add a New User

Select: Add a User

A user creation wizard appears.

 

Step 4: Enter User Information

Provide the required details such as:

  • First Name 
  • Last Name 
  • Display Name 
  • Username 
  • Domain  

Example:

First Name: John

Last Name: Smith

Username: john.smith@company.com

 

Step 5: Assign a License

Select an appropriate license, such as:

  • Microsoft 365 E3 
  • Microsoft 365 E5 
  • Office 365 E3 

The assigned license determines which Microsoft 365 services the user can access.

 

Step 6: Assign Administrative Roles (Optional)

If the user requires administrative permissions, an administrator role can be assigned.

Examples:

  • Global Administrator 
  • User Administrator 
  • Exchange Administrator 

For regular employees, no administrative role is usually assigned.

 

Step 7: Complete User Creation

Review the information and select: Finish Adding

Microsoft 365 creates the account and generates login credentials.

The user can now access Microsoft 365 services.

 

Advantages of Manual User Creation

  • Simple process 
  • Suitable for small organizations 
  • Allows individual customization 
  • Easy to assign specific settings 

Limitations

  • Time-consuming for large organizations 
  • Repetitive administrative effort 
  • Not practical for creating hundreds of users 

 

Method 2: Creating Multiple Users Using a CSV File

What is Bulk User Creation?

Bulk user creation allows administrators to create multiple users simultaneously by importing a CSV (Comma-Separated Values) file.

Instead of creating users individually, administrators prepare user information in a spreadsheet and upload it to Microsoft 365.

This method significantly reduces administrative effort and improves efficiency.

 

When is CSV Import Used?

CSV import is commonly used when:

  • A new organization is migrating to Microsoft 365. 
  • Multiple employees join the company. 
  • Large-scale onboarding projects occur. 
  • User accounts need to be created quickly. 

 

What is a CSV file?

A CSV file is a spreadsheet file that stores information in rows and columns.

Each row represents a user account.

Example:

Display NameUsernameFirst NameLast Name
Raj Sharmaraj.sharma@company.comRajSharma
Priya Singhpriya.singh@company.comPriyaSingh
Amit Kumaramit.kumar@company.comAmitKumar

 

Steps to Create Users Using CSV Import

 

Step 1: Open Microsoft 365 Admin Center

Sign in using a global administrator account.

 

Step 2: Navigate to Active Users

Go to: Users → Active Users

 

Step 3: Select Bulk Add Users

Choose: Add Multiple Users

Microsoft provides a CSV template that contains the required columns.

 

Step 4: Download the CSV Template

Download Microsoft's sample CSV file.

The template includes fields such as:

  • Username 
  • First Name 
  • Last Name 
  • Display Name 
  • Department 
  • Job Title 

 

Step 5: Populate User Information

Open the CSV file and enter user details.

Example:

UsernameFirst NameLast Name
raj@company.comRajSharma
priya@company.comPriyaSingh
amit@company.comAmitKumar

Save the file after entering all user information.

 

Step 6: Upload the CSV File

Return to the Microsoft 365 Admin Center and upload the completed CSV file.

Microsoft validates the data before creating accounts.

 

Step 7: Assign Licenses

After successful validation, assign licenses to the imported users.

Examples:

  • Microsoft 365 E3 
  • Office 365 E3 
  • Microsoft 365 E5 

 

Step 8: Complete Import Process

Microsoft creates all user accounts simultaneously.

A report is generated showing:

  • Successfully created users 
  • Failed user entries 
  • Error messages, if any exist 

 

Advantages of CSV Import:

  1. Faster User Provisioning: Hundreds of users can be created within minutes.
  2. Reduced Administrative Effort: Administrators avoid repetitive manual tasks.
  3. Consistent User Information: Standardized user data can be maintained across the organization.
  4. Suitable for Large Organizations: Ideal for enterprise environments.

 

Common Issues During CSV Import

 

1. Invalid Usernames

Cause: Incorrect username format.

Solution: Verify usernames follow the correct email format.

 

2. Duplicate Accounts

Cause: User already exists.

Solution: Check existing user accounts before importing.

 

3. Missing Required Fields

Cause: Mandatory fields are left blank.

Solution: Complete all required columns in the CSV file.

 

4. License Assignment Errors

Cause: Insufficient available licenses.

Solution: Purchase or assign additional licenses.

 

Manual User Creation vs CSV Import

 

FeatureManual CreationCSV Import
Number of UsersSingle UserMultiple Users
SpeedSlowFast
Administrative EffortHighLow
Suitable ForSmall OrganizationsMedium and Large Organizations
User CustomizationHighModerate
Bulk OnboardingNoYes

 

 

2.3 Creating Groups in Microsoft 365

 

Introduction

In every organization, users often need access to the same resources, applications, files, or communication channels. Instead of assigning permissions individually to each user, administrators can create groups and manage users collectively.

A group is a collection of users that can be managed as a single unit. Groups simplify administration, improve collaboration, and make permission management more efficient.

For example, instead of assigning access to 50 employees individually, an administrator can create a group called HR Department and grant permissions to the group. All users who are members of that group automatically receive the required access.

Microsoft 365 provides different types of groups that serve different business purposes.

 

What is a group?

A group is an object that contains multiple users and allows administrators to manage permissions, communication, and collaboration more efficiently.

Groups help organizations:

  • Simplify user management 
  • Assign permissions collectively 
  • Improve collaboration 
  • Reduce administrative effort 
  • Manage access centrally 

 

Why Are Groups Important?

Managing permissions user by user becomes difficult as the organization grows.

Instead of assigning permissions individually, administrators can:

  1. Create a group. 
  2. Add users to the group. 
  3. Assign permissions to the group. 

All members automatically receive the assigned permissions.

This approach saves time and reduces configuration errors.

 

Types of Groups in Microsoft 365

Microsoft 365 supports several types of groups.

Microsoft 365 Group

A Microsoft 365 Group is designed for collaboration and provides shared resources such as:

  • Shared mailbox 
  • Shared calendar 
  • Teams integration 
  • SharePoint site 
  • Planner  

This is the most commonly used group type in Microsoft 365.

 

Security Group

A security group is primarily used to assign permissions to users.

Administrators use Security Groups to:

  • Control access to applications 
  • Manage permissions 
  • Secure organizational resources 

Security Groups do not provide collaboration features such as shared mailboxes or Teams.

 

Distribution Group

A distribution group is used for email communication.

When an email is sent to the group, all members receive the message.

Example: hr@company.com

Instead of sending emails to each HR employee individually, users can send an email to the distribution group.

 

Mail-Enabled Security Group

A mail-enabled security group combines the features of

  • Security Groups 
  • Distribution Groups 

It can be used for:

  • Permission assignment 
  • Group email communication 

 

Benefits of Using Groups:

Organizations use groups because they provide several advantages.

  1. Simplified Administration: Administrators can manage multiple users through a single object.
  2. Easier Permission Management: Permissions can be assigned to groups instead of individual users.
  3. Improved Collaboration: Microsoft 365 Groups provide collaboration resources for teams.
  4. Faster User Onboarding: New employees can be added to existing groups and immediately receive access to required resources.
  5. Reduced Administrative Errors: Managing permissions through groups minimizes the risk of missing individual user assignments.

 

Creating a Group in Microsoft 365

Administrators create groups through the Microsoft 365 Admin Center.

 

Step 1: Open Microsoft 365 Admin Center

Sign in using an administrator account.

Portal: admin.microsoft.com

 

Step 2: Navigate to Groups

From the left navigation menu: 

Teams & Groups → Active Teams & Groups

or

Groups → Active Groups

This section displays all existing groups in the organization.

 

Step 3: Select Add a Group

Choose: Add a Group

Microsoft displays available group types.

Examples:

  • Microsoft 365 Group 
  • Security Group 
  • Distribution Group 
  • Mail-Enabled Security Group 

 

Step 4: Choose Group Type

Select the appropriate group based on business requirements.

Example: Microsoft 365 Group

 

Step 5: Configure Group Information

Provide details such as:

  • Group Name—Example: HR Department
  • Description—Example: Group for Human Resources employees
  • Email Address—Example: hr@company.com

 

Step 6: Configure Group Settings

Depending on the group type, administrators can configure:

  • Privacy settings 
  • Email options 
  • Membership settings 
  • Access permissions 

 

Step 7: Add Members

Users can be added during group creation or later.

Example Members:

  • Raj Sharma 
  • Priya Singh 
  • Amit Kumar 

 

Step 8: Complete Group Creation

Review the settings and select: Create Group

Microsoft creates the group and makes it available for use.

 

Common Use Cases of Groups:

  • HR Department Group: Used for HR employees to collaborate and share resources.
  • Finance Group: Used to manage financial documents and permissions.
  • IT Support Group: Used to assign access to technical resources and applications.
  • Sales Team Group: Used for collaboration, meetings, and communication among sales staff.

 

Example:

A company has 30 employees in the Human Resources department.

Instead of assigning SharePoint permissions individually to each employee, the administrator creates an HR Department Microsoft 365 Group.

The administrator then grants access to the SharePoint site to the group.

Whenever a new HR employee joins the company, the administrator simply adds the employee to the HR group, and the required permissions are automatically applied.

This approach simplifies administration and ensures consistent access management.

 

Best Practices for Group Management

 

Use Meaningful Group Names

Examples:

  • HR Department 
  • Finance Team 
  • IT Support 
  • Follow the Principle of Least Privilege (Only add users who genuinely require access).
  • Regularly Review Membership (Remove users who no longer require access).
  • Use Security Groups for Permissions (Assign permissions to groups rather than directly to users).
  • Document Group Purpose (Provide clear descriptions to simplify administration).

 

2.4 Adding Users to a Group in Microsoft 365

 

Introduction

Creating a group is only the first step in managing users and resources within Microsoft 365. To make a group useful, administrators must add users as members of the group.

When users are added to a group, they automatically receive the permissions, access rights, and collaboration benefits associated with that group. This approach eliminates the need to configure permissions for each user individually.

For example, if an organization has an HR Department group, adding an employee to that group immediately grants access to HR-related resources, documents, and communication channels.

 

Why Add Users to Groups?

Groups simplify administration and improve resource management.

Instead of assigning permissions directly to individual users, administrators can:

  1. Create a group. 
  2. Add users to the group. 
  3. Assign permissions to the group. 

All group members automatically inherit the assigned permissions.

This makes user management more efficient and scalable.

 

Benefits of Group Membership:

  • Simplified Administration: Administrators manage permissions at the group level rather than individually.
  • Consistent Access Management: All members receive the same access rights and permissions.
  • Faster User Onboarding: New employees can be granted required access simply by adding them to the appropriate groups.
  • Easier Permission Changes: Administrators can update permissions for the entire group instead of modifying each user account.
  • Improved Collaboration: Members can easily collaborate using shared resources associated with Microsoft 365 Groups.

 

Methods of Adding Users to a Group

Users can be added to groups:

During Group Creation - Members can be selected while creating the group.

After Group Creation - Users can be added or removed at any time through the Microsoft 365 Admin Center.

 

Steps to Add Users to a Group:

 

Step 1: Open Microsoft 365 Admin Center

Sign in using an administrator account.

Portal: admin.microsoft.com

 

Step 2: Navigate to Groups

From the left navigation menu:

Teams & Groups → Active Teams & Groups

or

Groups → Active Groups

This section displays all groups available in the organization.

 

Step 3: Select the Group

Choose the group to which users will be added.

Example:

HR Department

Sales Team

IT Support

Finance Team

 

Step 4: Open Members Section

Within the group settings, locate the ‘Members’ section

This section displays all current members of the group.

 

Step 5: Add Members

Select: Add Members

A list of available users appears.

Search for and select the required users.

Example:

  • Raj Sharma 
  • Priya Singh 
  • Amit Kumar 

Multiple users can be selected simultaneously.

 

Step 6: Save Changes

After selecting users, click “Save.”

The selected users become members of the group.

 

Step 7: Verify Membership

Return to the Members section and confirm that the users have been added successfully.

The group membership list should now display the newly added users.

 

Adding Multiple Users to a Group

Microsoft 365 allows administrators to add multiple users to a group at the same time.

This is useful when:

  • A new department is created. 
  • Multiple employees join the organization. 
  • Teams are migrated from another environment. 

Adding multiple users simultaneously reduces administrative effort and saves time.

 

What Happens After a User is Added?

Once a user becomes a member of a group, they automatically receive access based on the group type.

  1. Microsoft 365 Group
  2. Security Group
  3. Distribution Group

The user receives access to:

  • Shared mailbox 
  • Shared calendar 
  • Microsoft Teams resources 
  • SharePoint site 
  • OneDrive collaboration features 

The user receives:

  • Assigned permissions 
  • Application access 
  • Resource access 

The user receives group email communications. 

1. Mail-Enabled Security Group

The user receives:

  • Group emails 
  • Assigned permissions 

 

Removing a User from a Group

Administrators can remove users when access is no longer required.

Common reasons include:

  • Employee transfer to another department 
  • Role change 
  • Employee resignation 
  • Security requirements 

Removing a user from a group automatically removes access associated with that group.

 

Common Scenarios:

1. HR Department Access

A new HR employee joins the company.

The administrator adds the employee to the HR Department group, automatically providing access to HR resources.

 

2. Sales Team Collaboration

A salesperson joins the sales team.

The administrator adds the user to the Sales Team Microsoft 365 Group, granting access to team documents, calendars, and communication tools.

 

3. Application Access Management

An organization uses a security group to control access to a business application.

When a user is added to the Security Group, application access is automatically granted.

 

Best Practices:

  • Use Groups Instead of Individual Permissions—Assign permissions to groups whenever possible.
  • Review Group Membership Regularly—Ensure only authorized users remain members.
  • Follow the Principle of Least Privilege—Add users only to groups required for their job responsibilities.
  • Use Meaningful Group Names

Examples:

  • HR Department 
  • Finance Team 
  • IT Support 
  • Sales Team 
  • Remove Unnecessary Members Promptly—This helps maintain security and reduces unauthorized access.

 

Example:

ABC Technologies has an HR department consisting of 25 employees.

The administrator creates a Microsoft 365 group called HR Department

This group has access to:

  • HR SharePoint Site 
  • HR Teams Channel 
  • Shared HR Mailbox 
  • Department Calendar 

When a new employee named Raj joins the HR department, the administrator simply adds Raj to the HR department group.

Immediately, Raj gains access to all HR resources without requiring individual permission assignments.

This saves administrative time and ensures consistent access management.