hands-on lab

Managing User Mailboxes Using Exchange Online PowerShell

Difficulty: Intermediate
Duration: Up to 1 hour and 15 minutes
Students: 101
Rating: 4.2/5
This lab is currently under maintenance. You can start the lab, but some instructions and screenshots may be inaccurate. We are actively working to resolve this issue and we apologize for any inconvenience.

Microsoft has currently disabled new registrations for the MS 365 Dev program. For the time being, please treat the lab as read-only or bring your own MS 365 account. Our team is currently working on an update, thank you for your understanding.

Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Exchange Online PowerShell lets you manage your Exchange Online mailboxes from the command line. You can use Exchange Online PowerShell to manage user mailboxes for example assigning mailbox permissions.

In this lab, you will query mailboxes for information, assign mailbox permissions to a delegate user mailbox and convert mailboxes to shared mailboxes.

Note: Due to this lab requiring the creation of a Microsoft 365 organization with an Admin Center, if you don't already have one you will need to provide a mobile phone number to pass the account creation process.

Learning Objectives

Upon completion of this lab, you will be able to:

  • Get a list of all user mailboxes
  • Assign user mailbox permissions to delegate users
  • Convert regular user mailboxes to user mailboxes

Intended Audience

  • Microsoft 365 System Administrators interested in scripting to automate and speed up the management of users in Microsoft 365
  • IT Support Analysts  

Prerequisites

Familiarity with the following is recommended:

  • Microsoft 365 Admin Center

The following content can be used to fulfill the prerequisite:

Updates

August 7th, 2023 - Pinned ExchangeOnlineManagement version

Covered topics

Lab steps

Setting Up A Microsoft 365 Developer Account
Connecting to Exchange Online PowerShell
Querying User Mailboxes and Assigning Mailbox Permissions
Converting User Mailboxes to Shared Mailboxes