Creating and Managing Contacts
Earn 25 points (50 with Pro) in two steps
- ① Read through the lesson — each section gets a ✓ as you scroll through it.
- ② When every section has a ✓, tap Complete lesson.
0 of 9 read · keep scrolling
✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro
Managing External Contacts in Microsoft 365: A Comprehensive Guide
Introduction: The Role of Contacts in Modern Collaboration
In the ecosystem of Microsoft 365, managing the flow of information is not limited to the employees within your organization. Every business relies on a network of external partners, vendors, consultants, and clients. While many of these individuals might eventually be invited as "Guest Users" in Microsoft Entra ID (formerly Azure AD) to collaborate on Teams or SharePoint, there is a distinct, lightweight category of identities known as Mail Contacts.
A Mail Contact in Microsoft 365 is a directory object that contains information about people who exist outside your organization. Unlike a Guest User, a Mail Contact does not have a set of credentials to log into your tenant. Instead, they act as a "pointer" or a placeholder in your Global Address List (GAL). When you add a Mail Contact, you are essentially providing your internal users with a way to find, email, and include these external individuals in distribution groups without having to manually type out their external email addresses every time.
Understanding how to manage these contacts is critical for maintaining an organized directory. As your organization grows, the number of external stakeholders increases. If you do not have a standard process for managing these contacts, your Global Address List will become cluttered, outdated, and difficult to navigate. This lesson will guide you through the technical aspects of creating, managing, and maintaining Mail Contacts, ensuring that your communication channels remain efficient and accurate.
Not read yet
Understanding the Architecture of Mail Contacts
Before diving into the creation process, it is important to understand exactly what a Mail Contact is from a technical perspective. In Microsoft 365, all directory objects are stored in the Microsoft Entra ID (Azure AD) directory. When you create a Mail Contact, the system creates an object that is "mail-enabled." This means it has an associated external email address stored in the externalEmailAddress attribute.
Key Characteristics of Mail Contacts
- No Authentication: Because these individuals do not have an account in your tenant, they cannot sign in to your Microsoft 365 apps.
- Directory Visibility: They appear in the Global Address List (GAL) by default, making them visible to all users in your organization when they search for contacts in Outlook or Teams.
- Group Membership: You can add Mail Contacts as members of Distribution Groups (not to be confused with Microsoft 365 Groups or Teams). This allows you to send an email to a single alias that includes both internal staff and external partners.
- No Licensing: Since they are not users, they do not consume any Microsoft 365 licenses.
Callout: Mail Contact vs. Guest User It is common for administrators to confuse Mail Contacts with Guest Users. A Mail Contact is purely for directory representation and email routing. A Guest User is an actual identity in your tenant that can be granted access to specific resources like SharePoint sites, Teams channels, and Planner boards. Use a Mail Contact when you only need to email someone; use a Guest User when you need to collaborate with them in a shared workspace.
Not read yet
Creating Mail Contacts: Methods and Procedures
There are three primary ways to manage Mail Contacts in Microsoft 365: the Exchange Admin Center (EAC), the Microsoft 365 Admin Center, and PowerShell. Each method serves different needs, ranging from quick one-off additions to bulk automation.
Method 1: Using the Exchange Admin Center (EAC)
The Exchange Admin Center is the most intuitive interface for managing mail-related objects. This is the recommended approach for administrators who prefer a graphical user interface and need to perform occasional updates.
- Log in to the Exchange Admin Center.
- In the left-hand navigation pane, expand Recipients and select Contacts.
- Click the + Add a contact button.
- Select Mail contact from the options provided.
- Fill in the required fields:
- First Name and Last Name: Use the full legal name of the individual.
- Display Name: This is how the contact appears in the address book. Use a consistent format, such as "Last Name, First Name" or "Company Name - Name."
- Email Address: Enter the actual external email address where the person receives mail.
- Click Next to review your settings and then click Add to finalize the creation.
Method 2: Using PowerShell (The Scalable Approach)
For organizations that need to import a list of hundreds of contacts from a CSV file, the GUI becomes inefficient. PowerShell is the industry standard for these tasks because it allows for repeatable, scripted operations.
To get started, you must connect to Exchange Online PowerShell:
# Connect to Exchange Online
Connect-ExchangeOnline -UserPrincipalName [email protected]
Once connected, you can create a single contact using the New-MailContact cmdlet:
New-MailContact -Name "Jane Doe" `
-ExternalEmailAddress "[email protected]" `
-DisplayName "Jane Doe (Consultant)" `
-FirstName "Jane" `
-LastName "Doe"
Tip: Standardizing Display Names Establish a naming convention for your Mail Contacts early on. Including the company name in the Display Name (e.g., "John Smith - Contoso") helps your users distinguish between multiple partners who might have the same first name.
Not read yet
Bulk Importing Contacts via PowerShell
If you have a CSV file containing columns for FirstName, LastName, DisplayName, and EmailAddress, you can automate the creation process. This is a common requirement when onboarding a new vendor or partner team.
Step-by-Step Bulk Import Process
- Prepare your CSV file: Create a file named
contacts.csvwith the headers matching your script variables. - Run the Import Script:
$contacts = Import-Csv "C:\Temp\contacts.csv"
foreach ($row in $contacts) {
New-MailContact -Name $row.DisplayName `
-ExternalEmailAddress $row.EmailAddress `
-DisplayName $row.DisplayName `
-FirstName $row.FirstName `
-LastName $row.LastName
Write-Host "Created contact for $($row.DisplayName)"
}
This script iterates through every row in your CSV and executes the creation command for each entry. It provides immediate feedback in the console, allowing you to see exactly which contacts were successfully processed.
Not read yet
Managing Contacts: Updates and Maintenance
Over time, contact information changes. People switch jobs, companies change their domain names, or names are updated. Because Mail Contacts are directory objects, they require ongoing maintenance just like user accounts.
Updating Contact Details
If a contact's email address changes, you must update the ExternalEmailAddress attribute. You can do this via the EAC by clicking on the contact and editing the "Contact information" section, or via PowerShell:
Set-MailContact -Identity "Jane Doe" -ExternalEmailAddress "[email protected]"
Removing Obsolete Contacts
A common pitfall in Microsoft 365 management is the "directory rot"—where the Global Address List becomes filled with contacts for people who no longer work with your organization. Conduct a quarterly audit of your Mail Contacts. If a partner is no longer active, remove them to keep your address book clean and relevant.
Remove-MailContact -Identity "Jane Doe" -Confirm:$false
Warning: Impact of Deletion Before deleting a Mail Contact, verify if that contact is a member of any Distribution Groups. Removing the contact will automatically remove them from these groups, which might disrupt communication flows if the group is used for active projects.
Not read yet
Best Practices for Contact Management
Effective management of Mail Contacts goes beyond technical execution; it requires a strategic approach to data hygiene and organizational structure.
1. Enforce Naming Conventions
As mentioned previously, use a standard format for DisplayName. Consider including the company name or the department if the contact serves a specific function. This prevents confusion when multiple people have similar names.
2. Implement a Lifecycle Policy
Do not leave contacts in your directory indefinitely. If a project ends, conduct a review to see if the external contacts associated with that project are still necessary. If they are not, remove them.
3. Use Distribution Groups Wisely
Mail Contacts are most powerful when grouped together. If you have a group of five consultants from the same vendor, create a Distribution Group and add all five contacts to it. This allows your internal team to email the entire vendor team by sending a message to a single address (e.g., [email protected]).
4. Audit Regularly
Use the Get-MailContact cmdlet to export your contact list annually. Review the list with department heads to confirm that the contacts are still current.
Get-MailContact | Select-Object DisplayName, ExternalEmailAddress, WhenCreated | Export-Csv "CurrentContacts.csv"
Not read yet
Comparison Table: Mail Contacts vs. Other Identity Types
To help you choose the right object type for your needs, refer to the following table:
| Feature | Mail Contact | Guest User | Internal User |
|---|---|---|---|
| Authentication | None | Microsoft Account/Azure AD | Microsoft 365 Account |
| License Required | No | No (usually) | Yes |
| App Access | No | Yes (Teams/SharePoint) | Yes |
| GAL Appearance | Yes | Optional | Yes |
| Primary Use | Email routing | Collaboration | Internal work |
Callout: The "Mail-Enabled User" Exception You may occasionally encounter "Mail-Enabled Users." These are objects that have a username and password in your tenant but also have an external email address. This is typically used in hybrid environments where a user has a local Active Directory account synced to the cloud. For pure cloud-only tenants, stick to Mail Contacts or Guest Users to avoid confusion.
Common Pitfalls and Troubleshooting
Even with a straightforward process, administrators often run into specific issues. Here is how to navigate the most common ones.
Issue 1: Contacts Not Appearing in Outlook
If a contact was just created, it may take up to 24 hours for the Global Address List to update across all desktop clients. Users can often force an update by clicking the "Update Folder" button in Outlook or by restarting their client. If the issue persists, verify that the contact is not set to "Hide from address lists" in their properties.
Issue 2: Email Bouncing
If an internal user sends an email to a Mail Contact and receives a Non-Delivery Report (NDR), check the ExternalEmailAddress attribute. A common mistake is a typo in the domain name or a missing character. PowerShell is the best way to verify the exact string stored in the object:
Get-MailContact -Identity "Jane Doe" | Select-Object ExternalEmailAddress
Issue 3: Duplicate Contacts
Over time, users might create duplicate contacts for the same external person. Use the EAC to search by email address. If you find duplicates, merge the information into one primary contact and delete the redundant ones. It is helpful to communicate to your staff that they should check the GAL before creating a new contact entry.
Not read yet
Advanced Management: Custom Attributes
Sometimes, you need to store more information about a contact than just their name and email address. You might want to track their company name, their project role, or their contract expiration date. Microsoft 365 allows you to use CustomAttribute1 through CustomAttribute15 for this purpose.
Using Custom Attributes
You can populate these attributes using PowerShell:
Set-MailContact -Identity "Jane Doe" -CustomAttribute1 "Project-Alpha" -CustomAttribute2 "Consultant"
These attributes can be useful for filtering or categorizing your contacts. For example, if you want to find all contacts associated with "Project-Alpha," you can run:
Get-MailContact | Where-Object {$_.CustomAttribute1 -eq "Project-Alpha"}
This level of detail makes your directory a powerful database for organizational information, rather than just a simple address book.
The Role of Address Book Policies (ABP)
In larger organizations, you may want to restrict which contacts certain users can see. For example, you might not want the Finance department to see the contacts for the Marketing department's vendors. This is where Address Book Policies (ABPs) come into play.
ABPs allow you to segment the Global Address List. You can assign a specific ABP to a user, and that user will only see the contacts and groups that belong to their specific segment. While setting up ABPs is an advanced administrative task, it is a critical tool for maintaining data privacy and reducing noise in the directory for large enterprises.
Implementing a Basic ABP Strategy:
- Define Segments: Determine which groups of users need to see which contacts.
- Create Address Lists: Create custom address lists based on attributes (e.g., all contacts where
CustomAttribute1equals "Marketing"). - Create Global Address List (GAL): Create a specific GAL for the segment.
- Create Offline Address Book (OAB): Create an OAB for the segment.
- Assign ABP: Use the
Set-Mailboxcommand to assign the policy to the relevant users.
While this adds complexity, it is a best practice for organizations with strict compliance requirements regarding who can communicate with whom.
Not read yet
Security Considerations
Managing external contacts involves potential security risks. If a contact's email is compromised, your users might receive phishing emails that appear to come from a "trusted" source because the sender is in your Global Address List.
Best Practices for Security:
- Verify External Email Addresses: Always verify that the email address provided for a contact is legitimate and belongs to the person you intend to add.
- Regular Audits: As mentioned earlier, keeping the list clean ensures that you aren't leaving "backdoors" open for communication with accounts that are no longer monitored by the external partner.
- Training: Educate your users that just because someone is in the Global Address List, it does not mean they are an employee. Remind them to be cautious with links and attachments from any external source.
Summary and Key Takeaways
Managing Mail Contacts is a fundamental administrative task that ensures your organization can communicate effectively with the outside world. By treating your directory as a living asset rather than a static list, you improve productivity and minimize the risk of communication errors.
Key Takeaways:
- Understand the Object Type: Mail Contacts are directory objects for email routing only; they do not provide login access and do not require licenses. Use them for vendors, partners, and clients who do not need to sign into your tenant.
- Standardize Your Directory: Adopt a clear naming convention for the
DisplayNameattribute. This makes the Global Address List easier for your employees to navigate and reduces the likelihood of duplicate entries. - Leverage Automation: For large numbers of contacts, use PowerShell and CSV files. This reduces manual data entry errors and ensures consistency across your directory.
- Maintain Hygiene: Conduct regular audits of your contact list. Remove obsolete entries to keep the directory clean and to prevent security risks associated with stale communication channels.
- Use Groups for Efficiency: Instead of emailing individuals one by one, add your Mail Contacts to Distribution Groups to streamline communication with external teams.
- Respect Privacy and Compliance: In larger organizations, consider implementing Address Book Policies to segment your directory and ensure users only see the contacts relevant to their specific roles.
- Security Awareness: Remind your users that the presence of a contact in the GAL is not a guarantee of the sender's identity. Maintain standard security protocols for all external communications.
By following these practices, you will ensure that your Microsoft 365 tenant remains an organized, efficient, and secure environment for all your collaborative needs. Whether you are a small business with a handful of vendors or a large enterprise with thousands of external stakeholders, these principles of contact management will serve as the backbone of your directory operations.
Not read yet
Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.
- Creating a Microsoft 365 Tenant
- Creating a Microsoft 365 Tenant Quiz5q
- Implementing and Managing Domains
- Implementing and Managing Domains Quiz5q
- Configuring Organization Settings
- Configuring Organization Settings Quiz5q
- Monitoring Microsoft 365 Service Health
- Monitoring Microsoft 365 Service Health Quiz5q
- Configuring Network Connectivity Insights
- Configuring Network Connectivity Insights Quiz5q
- Managing Software Updates in Microsoft 365
- Managing Software Updates in Microsoft 365 Quiz5q
- Monitoring Microsoft 365 Adoption and Usage
- Monitoring Microsoft 365 Adoption and Usage Quiz5q
- Configuring Microsoft 365 Backup
- Configuring Microsoft 365 Backup Quiz5q
- Creating and Managing Users in Microsoft Entra ID
- Creating and Managing Users in Microsoft Entra ID Quiz5q
- Managing External Users and Guest Access
- Managing External Users and Guest Access Quiz5q
- Creating and Managing Contacts
- Creating and Managing Contacts Quiz5q
- Creating and Managing Microsoft 365 Groups
- Creating and Managing Microsoft 365 Groups Quiz5q
- Managing Shared Mailboxes
- Managing Shared Mailboxes Quiz5q
- Managing Microsoft 365 Licenses
- Managing Microsoft 365 Licenses Quiz5q
- Performing Bulk User Management with PowerShell
- Performing Bulk User Management with PowerShell Quiz5q
- Implementing Group-Based Licensing
- Implementing Group-Based Licensing Quiz5q
- Implementing Roles in Microsoft 365
- Implementing Roles in Microsoft 365 Quiz5q
- Managing Microsoft Entra ID Roles
- Managing Microsoft Entra ID Roles Quiz5q
- Managing Permissions for Microsoft Defender XDR
- Managing Permissions for Microsoft Defender XDR Quiz5q
- Managing Delegation with Administrative Units
- Managing Delegation with Administrative Units Quiz5q
- Managing Roles with Privileged Identity Management
- Managing Roles with Privileged Identity Management Quiz5q
- Managing Microsoft Purview Permissions
- Managing Microsoft Purview Permissions Quiz5q
- Preparing for Identity Synchronization
- Preparing for Identity Synchronization Quiz5q
- Using IdFix for Directory Cleanup
- Using IdFix for Directory Cleanup Quiz5q
- Implementing Microsoft Entra Connect Sync
- Implementing Microsoft Entra Connect Sync Quiz5q
- Implementing Microsoft Entra Cloud Sync
- Implementing Microsoft Entra Cloud Sync Quiz5q
- Monitoring with Microsoft Entra Connect Health
- Monitoring with Microsoft Entra Connect Health Quiz5q
- Troubleshooting Synchronization Issues
- Troubleshooting Synchronization Issues Quiz5q
- Implementing Authentication Methods
- Implementing Authentication Methods Quiz5q
- Implementing Self-Service Password Reset
- Implementing Self-Service Password Reset Quiz5q
- Implementing Microsoft Entra Password Protection
- Implementing Microsoft Entra Password Protection Quiz5q
- Investigating Authentication Issues
- Investigating Authentication Issues Quiz5q
- Configuring Passwordless Authentication
- Configuring Passwordless Authentication Quiz5q
- Planning for Identity Protection
- Planning for Identity Protection Quiz5q
- Implementing Microsoft Entra Identity Protection
- Implementing Microsoft Entra Identity Protection Quiz5q
- Planning Conditional Access Policies
- Planning Conditional Access Policies Quiz5q
- Implementing Conditional Access Policies
- Implementing Conditional Access Policies Quiz5q
- Implementing Multifactor Authentication
- Implementing Multifactor Authentication Quiz5q
- Configuring Named Locations
- Configuring Named Locations Quiz5q
- Understanding Microsoft Security Exposure Management
- Understanding Microsoft Security Exposure Management Quiz5q
- Managing Microsoft Secure Score
- Managing Microsoft Secure Score Quiz5q
- Reviewing and Responding to Incidents
- Reviewing and Responding to Incidents Quiz5q
- Using Advanced Hunting in Defender XDR
- Using Advanced Hunting in Defender XDR Quiz5q
- Reviewing Defender XDR Reports
- Reviewing Defender XDR Reports Quiz5q
- Using Microsoft Defender Threat Intelligence
- Using Microsoft Defender Threat Intelligence Quiz5q
- Configuring Custom Detection Rules
- Configuring Custom Detection Rules Quiz5q
- Implementing Threat Policies in Defender for Office 365
- Implementing Threat Policies in Defender for Office 365 Quiz5q
- Configuring Alert Policies
- Configuring Alert Policies Quiz5q
- Investigating Email and Collaboration Threats
- Investigating Email and Collaboration Threats Quiz5q
- Managing Attack Simulation Training
- Managing Attack Simulation Training Quiz5q
- Managing Restricted Entities
- Managing Restricted Entities Quiz5q
- Onboarding Devices to Defender for Endpoint
- Onboarding Devices to Defender for Endpoint Quiz5q
- Configuring Endpoint Settings
- Configuring Endpoint Settings Quiz5q
- Using Vulnerability Management Dashboard
- Using Vulnerability Management Dashboard Quiz5q
- Responding to Endpoint Vulnerabilities
- Responding to Endpoint Vulnerabilities Quiz5q
- Managing Automated Investigation and Remediation
- Managing Automated Investigation and Remediation Quiz5q
- Configuring App Connector for Microsoft 365
- Configuring App Connector for Microsoft 365 Quiz5q
- Configuring Cloud Apps Policies
- Configuring Cloud Apps Policies Quiz5q
- Interpreting Activity Logs
- Interpreting Activity Logs Quiz5q
- Configuring Cloud App Discovery
- Configuring Cloud App Discovery Quiz5q
- Responding to Cloud App Discovery Issues
- Responding to Cloud App Discovery Issues Quiz5q
- Implementing Sensitive Information Types
- Implementing Sensitive Information Types Quiz5q
- Using Keywords and Regular Expressions
- Using Keywords and Regular Expressions Quiz5q
- Implementing Retention Labels and Policies
- Implementing Retention Labels and Policies Quiz5q
- Implementing Sensitivity Labels and Policies
- Implementing Sensitivity Labels and Policies Quiz5q
- Monitoring Label Usage with Content Explorer
- Monitoring Label Usage with Content Explorer Quiz5q
- Using Activity Explorer and Label Reports
- Using Activity Explorer and Label Reports Quiz5q
- Configuring Auto-Labeling Policies
- Configuring Auto-Labeling Policies Quiz5q
- Configuring DLP Policies for Exchange Online
- Configuring DLP Policies for Exchange Online Quiz5q
- Configuring DLP for SharePoint and OneDrive
- Configuring DLP for SharePoint and OneDrive Quiz5q
- Configuring DLP for Teams and Power BI
- Configuring DLP for Teams and Power BI Quiz5q
- Configuring DLP for Microsoft 365 Copilot
- Configuring DLP for Microsoft 365 Copilot Quiz5q
- Configuring Endpoint DLP
- Configuring Endpoint DLP Quiz5q
- Reviewing DLP Alerts and Events
- Reviewing DLP Alerts and Events Quiz5q
- Responding to DLP Reports
- Responding to DLP Reports Quiz5q
Spend your points to unlock exam-style practice questions
Spend points to unlock MS-102 exam-style practice questions.
Practice for MS-102