EASYENTRA Blog

News & Updates

Set-Mailbox: Prereqs and Pitfalls

Set-Mailbox - common use cases and shortcomings

The Set-Mailbox CmdLet is a cornerstone of Exchange Online administration. It allows administrators to configure key properties, such as mailbox aliases, proxy addresses, and visibility in address lists.

But here’s the catch: Set-Mailbox only covers a fraction of mailbox-related settings.

For many common support scenarios – such as setting automatic replies, updating regional configurations, or granting mailbox access – you’ll need other CmdLets entirely. This fragmentation increases complexity, making PowerShell a poor fit for ad-hoc first-line IT support.

Let’s break it down.

Prerequisites for Using Set-Mailbox

Before using Set-Mailbox, ensure you have:

Installed the Exchange Online Management (EXO) v3 module:

Install-Module ExchangeOnlineManagement

Connected to Exchange Online:

Connect-ExchangeOnline

Sufficient rights to manage mailboxes (typically reflected in Recipient Management):

Get-ManagementRoleAssignment | ? { $_.RoleAssigneeName -Like '*recipient*'} | ft Name,Role,RoleAssigneeName

Adequate permissions might look like this:

PS C:\> Get-ManagementRoleAssignment | ? { $_.RoleAssigneeName -Like '*recipient*'} | ft Name,Role,RoleAssigneeName

Name                                         Role                    RoleAssigneeName
----                                         ----                    ----------------
Recipient Policies-Recipient Management      Recipient Policies      Recipient Management
Mail Recipients-Recipient Management         Mail Recipients         Recipient Management
Mail Recipient Creation-Recipient Management Mail Recipient Creation Recipient Management
Move Mailboxes-Recipient Management          Move Mailboxes          Recipient Management
Reset Password-Recipient Management          Reset Password          Recipient Management
Message Tracking-Recipient Management        Message Tracking        Recipient Management
Distribution Groups-Recipient Management     Distribution Groups     Recipient Management
Migration-Recipient Management               Migration               Recipient Management

Popular Set-Mailbox Parameters

Here are some of the most used Set-Mailbox examples.

1. Update the Mailbox Alias

Set a new alias for a user:

Set-Mailbox -Identity lene.hau@company.com -Alias LHau

⚠️ Note: For hybrid environments, this change must be made on-premises and synced to Azure AD using Microsoft Entra Connect.

2. Add or Remove Proxy Addresses

Add a new email address to the existing list of email addresses:

Set-Mailbox -Identity lene.hau@company.com `
    -EmailAddresses @{Add="LHau@company.com"}

Remove an existing email address:

Set-Mailbox -Identity lene.hau@company.com `
    -EmailAddresses @{Remove="LHau@company.com"}

⚠️ Note: In hybrid setups, manage proxy addresses in on-premises AD and sync changes via Microsoft Entar Connect.

3. Hide Mailbox from Address Lists

Exclude a mailbox from the GAL:

Set-Mailbox -Identity lene.hau@company.com -HiddenFromAddressListsEnabled $true

⚠️ Note: This setting also needs to be configured on-premises in hybrid environments.


❌ But Set-Mailbox Can’t Do It All

While Set-Mailbox is powerful, many day-to-day mailbox tasks require completely different cmdlets. Examples:


📆 Set Automatic Replies (Out of Office)

Set-MailboxAutoReplyConfiguration -Identity lene.hau@company.com `
    -AutoReplyState Enabled `
    -InternalMessage "I’m out of the office until Monday."

🌍 Configure Regional Settings

Set-MailboxRegionalConfiguration -Identity lene.hau@company.com `
    -Language en-US -TimeZone "Pacific Standard Time" -DateFormat "MM/dd/yyyy"

👥 Grant Another User Access to a Mailbox

Add-RecipientPermission -Identity lene.hau@company.com `
    -Trustee niels.bohr@company.com -AccessRights SendAs

For first-line support, this creates a maze of cmdlets: each with unique syntax, permissions, and quirks. Instead of solving issues, junior IT staff often escalate tickets to senior engineers, wasting time and resources.

✅ EasyEntra: One UI for All Mailbox Tasks

This is where EasyEntra changes the game.

With its ADUC-style interface, EasyEntra eliminates the need for PowerShell scripting entirely for first-line support. Any IT supporter – regardless of skill level – can:

  • Set aliases and proxy addresses.

  • Enable automatic replies and configure regional settings.

  • Grant mailbox permissions and fix delegation issues.

And all can be set directly from AD user properties:

No cmdlets. No syntax errors. No escalations.

Why EasyEntra Is a Game Changer

  • Install and configure in one minute – No lengthy setup, no server prerequisites.

  • Simple client application – No server components, no services, no service accounts.

  • Uses your standard personal authentication – No additional, hard-to-troubleshoot security layers.

  • Zero infrastructure changes required – Just download and start managing attributes.

More Than Just a Replacement for ADUC

EasyEntra isn’t just a new smart-looking UI – it’s also a major productivity upgrade over Active Directory Users & Computers (ADUC):

  • Search results as you type – Acts like a real-time filter on AD.

  • Adaptive password generator – Create strong, compliant passwords effortlessly.

  • Access advanced attributes directly from search results – No more digging through multiple OUs.

  • Modern, clean interface – Designed for speed and usability.

In addition to this, EasyEntra consolidates and simplifies the Microsoft 365 landscape dramatically by merging cloud capabilities with standard AD properties in a unified, intuitive UI:

  • Manage cloud group memberships alongside on-prem AD groups.

  • View and configure MFA settings for Entra ID users.

  • Assign and revoke Microsoft 365 licenses with ease.

  • Plus full mailbox management – calendar delegation, auto-replies, folder localization, and more.

All in one place – no switching between ADUC, M365 Admin Center, Exchange Online Admin Center, or PowerShell.

Turbo-charge your first-line support now by downloading the 30-day trial.

“One of the best products I’ve used.” – CIO, Mirick Law, United States

“We really love working with EasyEntra.” – Head of IT, IKN GmbH, Germany

“It feels almost like a revolution.” – IT Manager, Arjeplog Kommun, Sweden

Free 30-minute demo

try 30 days for free

GET EASYENTRA NEWS

Opt out at any time

“One of the best products I've used.”
Gary Shurland
Chief Information Officer, Mirick, United States
“This tool has been invaluable in streamlining our IT processes.”
Tyson Mckay
Chief Information Officer, Southwest Network, United States
“This product has been a miracle for our Help Desk. EasyEntra has completely transformed how we handle Microsoft 365 administration.”
Doug Sanders
Manager of Technical Customer Support, Junior Achievement USA, United States
“Your product is such a time saver. I love it!”
Scott Fehr
IT Infrastructure, MEC Aerial Work Platforms, United States
“It's a good product and saves us lots of time for these ongoing quick admin tasks.” 
Chris McFerran
Managing Director, CTech IT Solutions Ltd, United Kingdom
“EasyEntra has significantly streamlined our workflow, simplifying everything. It feels almost like a revolution.”
Johan Sadelius
IT-chef, Arjeplog Kommun, Sweden
I greatly appreciate your assistance and willingness to enhance the already outstanding product.”
Michael I. Wilson
Executive Director of Information Technology, Archdiocese Of Washington, United States
“It's great not having to switch back and forth between the O365 admin center and the Teams admin center to assign groups. I am sold!”
Thomas Madden
Director Information Technology, AutoPayPlus, United States
“I would highly recommend organizations use the solution as it greatly simplifies various tasks.”
S. Roger Singh
Chief Technology Officer, Prasad & Company LLP, Canada
“EasyEntra is time-saving. Love the copy/paste for user/computer groups and the copy to new user.”
Damian Nita
Associate Network Administrator, Shenandoah Valley Westminster-Canterbury, United States
“EasyEntra has transformed our daily IT operations by simplifying user management, reducing errors, and enhancing overall efficiency.”
Henrik Nefling
IT- and Digitalization Manager, Animal Protection Denmark, Denmark