Module for creation a session to manage Exchange Online Shell with or without Proxy Settings.Supports MFA

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ExchangeOnlineShell -RequiredVersion

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Andy Svintsitsky


(c) 2018 Andy Svintsitsky. All rights reserved.



Office365 ExchangeOnline ExchangeOnlineShell O365 Proxy ProxySettings PSSession Session PowershellMFA ExchangeOnlineShellMFA MFA MFASupported


Connect-ExchangeOnlineShell Disconnect-ExchangeOnlineShell Show-EOShellSession


Connect-ExchangeOnlineShell Disconnect-ExchangeOnlineShell Show-EOShellSession


This module has no dependencies.

Release Notes

Added changes suggested by Felix_Heilig - Updated Disconnect-ExchangeOnlineShell by adding SessionID parameter, added output of imported session id to Connect-ExchangeOnlineShell. Also added/updated some error handling.

  • ExchangeOnlineShell.nuspec
  • ExchangeOnlineShell.psd1
  • ExchangeOnlineShell.psm1
  • Microsoft.Exchange.Management.ExoPowershellModule.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.dll
  • Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll

Version History

Version Downloads Last updated 40,548 7/27/2020 10,504 4/16/2020 31,545 8/23/2019 (current version) 8,087 2/16/2019 1,254 11/23/2018
2.0.2 2,273 3/16/2018
2.0.1 903 2/22/2018
2.0 8,734 2/19/2018
1.0.1 350 10/3/2017