You may receive the following error message when trying to connect to Exchange Online with PowerShell:
PS C:\> Connect-ExchangeOnline
Connect-ExchangeOnline: The term 'Connect-ExchangeOnline' is not recognized
as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
This indicates that the ExchangeOnline PowerShell module is missing from your system.
Fortunately, you can fix this easily by running the below PowerShell command:
Install-Module ExchangeOnlineManagement
This command automatically connects to the PowerShell Gallery and downloads the latest version of the ExchangeOnline module.
Once the download completes, you’re ready to connect to your Exchange Online. This should now result in the following pretty output:
PS C:\> Connect-ExchangeOnline
----------------------------------------------------------------------------------------
This V3 EXO PowerShell module contains new REST API backed Exchange Online cmdlets which doesn't
require WinRM for Client-Server communication. You can now run these cmdlets after turning off
WinRM Basic Auth in your client machine thus making it more secure.
Unlike the EXO* prefixed cmdlets, the cmdlets in this module support full functional parity with
the RPS (V1) cmdlets.
V3 cmdlets in the downloaded module are resilient to transient failures, handling retries and
throttling errors inherently.
However, REST backed EOP and SCC cmdlets are not available yet. To use those, you will need to
enable WinRM Basic Auth.
For more information check https://aka.ms/exov3-module
----------------------------------------------------------------------------------------
PS C:\>
For advanced troubleshooting of the ExchangeOnline module or running commands from the module, please read this article.
How to Manage Office 365 Mailboxes From AD
Many admins are frustrated that you need PowerShell to configure calendar delegation, Outlook automapping, and more.
With Easy365Manager, all daily Office 365 mailbox operations are available in AD Users & Computers.
Easy365Manager is a small snap-in to AD Users & Computers that enables two new tabs in user properties:
The functionality in these two new tabs allow you to configure advanced Office 365 mailbox settings like calendar delegation (that is otherwise only possible via complex PowerShell scripting):
Easy365Manager provides the following benefits compared to standard management tools:
- You can work from a single familiar interface (AD Users & Computers) instead of using a mixed bag of web consoles and PowerShell.
- You don’t need to worry about attribute authority (you manage everything in one place).
- Junior admins can manage hybrid Office 365 with zero learning curve.
- You can remove your on-premises Exchange Server (save time and money and have a reduced attack surface).
Read about the many features here.
Download your fully functional 30-day trial version here.