This is a Public Preview release of the Exchange Online PowerShell V3 module. Exchange Online cmdlets in this module are REST-backed and do not require Basic Authentication to be enabled in WinRM.
Please check the documentation here -
For issues related to the module, contact Microsoft support.

Minimum PowerShell version


This is a prerelease version of ExchangeOnlineManagement.
There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.2.0-Preview2 -AllowPrerelease

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


Microsoft Corporation


(c) 2021 Microsoft. All rights reserved.

Package Details



Exchange ExchangeOnline EXO EXOV2 Mailbox Management


Add-VivaModuleFeaturePolicy Get-ConnectionInformation Get-DefaultTenantBriefingConfig Get-DefaultTenantMyAnalyticsFeatureConfig Get-EXOCasMailbox Get-EXOMailbox Get-EXOMailboxFolderPermission Get-EXOMailboxFolderStatistics Get-EXOMailboxPermission Get-EXOMailboxStatistics Get-EXOMobileDeviceStatistics Get-EXORecipient Get-EXORecipientPermission Get-MyAnalyticsFeatureConfig Get-UserBriefingConfig Get-VivaInsightsSettings Get-VivaModuleFeature Get-VivaModuleFeatureEnablement Get-VivaModuleFeaturePolicy Remove-VivaModuleFeaturePolicy Set-DefaultTenantBriefingConfig Set-DefaultTenantMyAnalyticsFeatureConfig Set-MyAnalyticsFeatureConfig Set-UserBriefingConfig Set-VivaInsightsSettings Update-VivaModuleFeaturePolicy


Connect-ExchangeOnline Connect-IPPSSession Disconnect-ExchangeOnline


This module has no dependencies.

Release Notes

Whats new in this release:

v3.2.0-Preview2 :
   1.  Preview Release of new cmdlets:
       -  View the features in Viva that support setting access management policies (Get-VivaModuleFeature)
       -  Create and manage Viva app feature policies
          -  Get-VivaModuleFeaturePolicy
          -  Add-VivaModuleFeaturePolicy
          -  Remove-VivaModuleFeaturePolicy
          -  Update-VivaModuleFeaturePolicy
       -  View whether or not a Viva feature is enabled for a specific user (Get-VivaModuleFeatureEnablement)
       This release is to support private preview of access management policies in Viva, and the new cmdlets listed above will only work for tenants participating in that program.

   2.  Support to get REST connection informations from Get-ConnectionInformation cmdlet for specific connection(s).
   3.  Support to disconnect REST connections using Disconnect-ExchangeOnline cmdlet for specific connection(s).

Previous Releases:

v3.2.0-Preview1 :
   1.  Preview Release of new cmdlets:
       -  Updating Briefing Email Settings of a tenant (Get-DefaultTenantBriefingConfig and Set-DefaultTenantBriefingConfig)
       -  Updating Viva Insights Feature Settings of a tenant (Get-DefaultTenantMyAnalyticsFeatureConfig and Set-DefaultTenantMyAnalyticsFeatureConfig)
   2.  Bug fixes in Connect-ExchangeOnline.

v3.1.0 :
   1.  Support for providing an Access Token with Connect-ExchangeOnline.
   2.  Bug fixes in Connect-ExchangeOnline and Get-ConnectionInformation.
   3.  Bug fix in Connect-IPPSSession for connecting to Security and Compliance PowerShell using Certificate Thumbprint.

v3.0.0 :
   1.  General Availability of REST-backed cmdlets for Exchange Online which do not require WinRM Basic Authentication to be enabled.
   2.  General Availability of Certificate Based Authentication for Security and Compliance PowerShell cmdlets.
   3.  Support for System-Assigned and User-Assigned ManagedIdentities to connect to ExchangeOnline from Azure VMs, Azure Virtual Machine Scale Sets and Azure Functions.
   4.  Breaking changes
       -   Get-PSSession cannot be used to get information about the sessions created as PowerShell Remoting is no longer being used. The Get-ConnectionInformation cmdlet has been introduced instead, to get information about the existing connections to ExchangeOnline. Refer for more information.
       -   Certain cmdlets that used to prompt for confirmation in specific scenarios will no longer have this prompt and the cmdlet will run to completion by default.
       -   The format of the error returned from a failed cmdlet execution has been slightly modified. The Exception contains some additional data such as the exception type, and the FullyQualifiedErrorId does not contain the FailureCategory. The format of the error is subject to further modifications.
       -   Deprecation of the Get-OwnerlessGroupPolicy and Set-OwnerlessGroupPolicy cmdlets.

v2.0.5 :
   1. Manage ownerless Microsoft 365 groups through newly added cmdlets Get-OwnerlessGroupPolicy and Set-OwnerlessGroupPolicy.
   2. Add new cmdlets Get-VivaInsightsSettings and Set-VivaInsightsSettings for Global/ExchangeOnline/Teams administrators to control user access of Headspace features in Viva Insights.



Version History

Version Downloads Last updated
3.2.0-Preview4 1,362 5/26/2023
3.2.0-Preview3 3,974 4/28/2023
3.2.0-Preview2 (current version) 3,873 3/20/2023
3.2.0-Preview1 2,318 2/27/2023
3.1.0 1,626,490 1/9/2023
3.1.0-Preview2 1,662 12/19/2022
3.1.0-Preview1 1,443 12/5/2022
3.0.1-Preview1 1,731 11/14/2022
3.0.0 3,322,341 9/19/2022
2.0.6-Preview8 3,432 9/9/2022
2.0.6-Preview7 1,492,570 8/13/2022
2.0.6-Preview6 39,671 5/20/2022
2.0.6-Preview5 43,847 3/17/2022
2.0.6-preview4 3,298 1/13/2022
2.0.6-Preview3 11,627 10/20/2021
2.0.5 6,953,049 5/11/2021
2.0.5-Preview2 631 4/30/2021
2.0.5-Preview1 834 4/21/2021
2.0.4 494,036 2/5/2021
2.0.4-Preview9 2,050 1/19/2021
2.0.4-Preview8 254 1/4/2021
2.0.4-Preview6 23,206 11/6/2020
2.0.4-Preview2 104,644 9/22/2020
2.0.3 509,952 9/21/2020
2.0.3-Preview 8,780 6/30/2020
1.0.1 257,833 6/3/2020
0.4578.0 518,508 4/16/2020
0.4368.1 23,377 3/30/2020
0.3582.0 39,344 2/10/2020
0.3555.1 13,866 1/22/2020
0.3374.11 11,970 1/15/2020
0.3374.10 5,475 12/27/2019
0.3374.9 17,559 11/26/2019
0.3374.4 7,696 10/31/2019
0.3374.1 812 10/25/2019
0.3374.0 599 10/22/2019
Show more