ExchangeOnlineManagement
3.5.1
Please check the documentation here - https:/
Please check the documentation here - https://aka.ms/exov3-module.
For issues related to the module, contact Microsoft support.
Minimum PowerShell version
3.0
See the version list below for details.
Installation Options
Owners
Copyright
(c) 2021 Microsoft. All rights reserved.
Package Details
Author(s)
- Microsoft Corporation
Tags
Exchange ExchangeOnline EXO EXOV2 EXOV3 Mailbox Management
Cmdlets
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-VivaFeatureCategory Get-VivaInsightsSettings Get-VivaModuleFeature Get-VivaModuleFeatureEnablement Get-VivaModuleFeaturePolicy Remove-VivaModuleFeaturePolicy Set-DefaultTenantBriefingConfig Set-DefaultTenantMyAnalyticsFeatureConfig Set-MyAnalyticsFeatureConfig Set-UserBriefingConfig Set-VivaInsightsSettings Update-VivaModuleFeaturePolicy
Functions
Connect-ExchangeOnline Connect-IPPSSession Disconnect-ExchangeOnline
Dependencies
-
- PackageManagement (>= 1.0.0.1)
- PowerShellGet (>= 1.0.0.1)
Release Notes
---------------------------------------------------------------------------------------------
What is new in this release:
v3.5.1 :
1. Bug fixes in Get-EXOMailboxPermission and Get-EXOMailbox.
2. The module has been upgraded to run on .NET 8, replacing the previous version based on .NET 6.
3. Enhancements in Add-VivaModuleFeaturePolicy.
---------------------------------------------------------------------------------------------
Previous Releases:
v3.5.0 :
1. Added new cmdlet Get-VivaFeatureCategory
2. Added support for policy operations at a category level for Viva GFAC (aka. VFAM - Viva Feature Access Management).
3. Added a new return value IsFeatureEnabledByDefault in cmdlet Get-VivaModuleFeaturePolicy. This value informs of the default enablement state for users in the tenant when no tenant or user/group policies have been created.
v3.4.0 :
1. Bug fixes in Connect-ExchangeOnline, Get-EXORecipientPermission and Get-EXOMailboxFolderPermission.
2. Support to use Constrained Language Mode(CLM) using SigningCertificate parameter.
v3.3.0 :
1. Support to skip loading cmdlet help files with Connect-ExchangeOnline.
2. Global variable EXO_LastExecutionStatus can now be used to check the status of the last cmdlet that was executed.
3. Bug fixes in Connect-ExchangeOnline and Connect-IPPSSession.
4. Support of user controls enablement by policy for features that are onboarded to Viva feature access management.
v3.2.0 :
1. General Availability 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)
- 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/group (Get-VivaModuleFeatureEnablement)
2. General Availability of REST based cmdlets for Security and Compliance PowerShell.
3. Support to get REST connection informations from Get-ConnectionInformation cmdlet and disconnect REST connections using Disconnect-ExchangeOnline cmdlet for specific connection(s).
4. Support to sign the temporary generated module with a client certificate to use the module in all PowerShell execution policies.
5. 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 https://docs.microsoft.com/en-us/powershell/module/exchange/get-connectioninformation?view=exchange-ps 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.
v2.0.4 :
1. Manage EXO using Linux devices along with Browser based SSO Authentication for enhanced interactive management experience. No need to enter UserName and password everytime you run the PowerShell script.
2. Manage EXO using Apple Macintosh devices. Supported versions of Apple MAC OS are Mojave, Catalina & Big Sur. Steps for installing PowerShell on MAC OS is documented here - https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-7.1
3. Real time policy & security enforcement in all user based authentication. Continuous Access Evaluation (CAE) has been enabled in EXO V2 Module. Read more about CAE here - https://techcommunity.microsoft.com/t5/azure-active-directory-identity/moving-towards-real-time-policy-and-security-enforcement/ba-p/1276933
4. Use parameter InlineCredential to pass credentials of Non-MFA accounts on the go without the need of storing credentials in a variable
5. More secure method to fetch access token using safe Reply URLs.
6. Breaking change :- Change in cmdlet signature to configure MyAnalytics access for users in your tenant. Get/Set-UserAnalyticsConfig has been replaced by Get/Set-MyAnalyticsFeatureConfig Additionally, you can have more granular controls and configure access at feature level. For more steps read here - https://docs.microsoft.com/en-us/workplace-analytics/myanalytics/setup/configure-myanalytics
v2.0.3 :
1. General availability of Certificate Based Authentication feature which enables using Modern Authentication in Unattended Scripting or background automation scenarios.
2. Certificate Based Authentication accepts Certificate File directly from terminal thus enabling certificate files to be stored in Azure Key Vault and being fetched Just-In-Time for enhanced security. See parameter Certificate in Connect-ExchangeOnline.
3. Connect with Exchange Online and Security Compliance Center simultaneously in a single PowerShell window.
4. Ability to restrict the PowerShell cmdlets imported in a session using CommandName parameter, thus reducing memory footprint in case of high usage PowerShell applications.
5. Get-ExoMailboxFolderPermission now supports ExternalDirectoryObjectID in the Identity parameter.
6. Optimized latency of first V2 Cmdlet call. (Lab results show first call latency has been reduced from 8 seconds to ~1 seconds. Actual results will depend on result size and Tenant environment.)
v1.0.1 :
1. This is the General Availability (GA) version of EXO PowerShell V2 Module. It is stable and ready for being used in production environments.
2. Get-ExoMobileDeviceStatistics cmdlet now supports Identity parameter.
3. Improved reliability of session auto-connect in certain cases where script was executing for ~50minutes and threw "Cmdlet not found" error due to a bug in auto-reconnect logic.
4. Fixed data-type issues of two commonly used attributed "User" and "MailboxFolderUser" for easy migration of scripts.
5. Enhanced support for filters as it now supports 4 more operators - endswith, contains, not and notlike support. Please check online documentation for attributes which are not supported in filter string.
---------------------------------------------------------------------------------------------
FileList
- ExchangeOnlineManagement.nuspec
- ExchangeOnlineManagement.psd1
- netCore\Microsoft.OData.Edm.dll
- netFramework\Create-SelfSignedCertificate.ps1
- netFramework\Microsoft.OData.Edm.dll
- license.txt
- netCore\Microsoft.Online.CSE.RestApiPowerShellModule.Instrumentation.dll
- netFramework\ExchangeOnlineManagement.psm1
- netFramework\Microsoft.OData.Edm.xml
- en-US\ExchangeOnlineManagement-help.xml
- netCore\Microsoft.Online.CSE.RestApiPowerShellModule.Instrumentation.xml
- netFramework\Microsoft.Bcl.AsyncInterfaces.dll
- netFramework\Microsoft.Online.CSE.RestApiPowerShellModule.Instrumentation.dll
- en-US\Microsoft.Exchange.Management.ExoPowershellGalleryModule.dll-Help.xml
- netCore\Microsoft.Spatial.dll
- netFramework\Microsoft.Bcl.AsyncInterfaces.xml
- netFramework\Microsoft.Online.CSE.RestApiPowerShellModule.Instrumentation.xml
- en-US\Microsoft.Exchange.Management.RestApiClient.dll-Help.xml
- netCore\Microsoft.Win32.Registry.AccessControl.dll
- netFramework\Microsoft.Exchange.Management.AdminApiProvider.dll
- netFramework\Microsoft.Spatial.dll
- netCore\Azure.Core.dll
- netCore\Microsoft.Win32.SystemEvents.dll
- netFramework\Microsoft.Exchange.Management.AdminApiProvider.xml
- netFramework\Microsoft.Spatial.xml
- netCore\ExchangeOnlineManagement.psm1
- netCore\msvcp140.dll
- netFramework\Microsoft.Exchange.Management.ExoPowershellGalleryModule.dll
- netFramework\Newtonsoft.Json.dll
- netCore\Microsoft.Bcl.AsyncInterfaces.dll
- netCore\Newtonsoft.Json.dll
- netFramework\Microsoft.Exchange.Management.ExoPowershellGalleryModule.xml
- netFramework\Newtonsoft.Json.xml
- netCore\Microsoft.Bcl.HashCode.dll
- netCore\System.CodeDom.dll
- netFramework\Microsoft.Exchange.Management.RestApiClient.dll
- netFramework\System.Buffers.dll
- netCore\Microsoft.Exchange.Management.AdminApiProvider.dll
- netCore\System.Configuration.ConfigurationManager.dll
- netFramework\Microsoft.Exchange.Management.RestApiClient.xml
- netFramework\System.Buffers.xml
- netCore\Microsoft.Exchange.Management.AdminApiProvider.xml
- netCore\System.Diagnostics.EventLog.dll
- netFramework\Microsoft.Identity.Client.dll
- netFramework\System.IdentityModel.Tokens.Jwt.dll
- netCore\Microsoft.Exchange.Management.ExoPowershellGalleryModule.deps.json
- netCore\System.Diagnostics.PerformanceCounter.dll
- netFramework\Microsoft.Identity.Client.xml
- netFramework\System.IdentityModel.Tokens.Jwt.xml
- netCore\Microsoft.Exchange.Management.ExoPowershellGalleryModule.dll
- netCore\System.DirectoryServices.dll
- netFramework\Microsoft.IdentityModel.Abstractions.dll
- netFramework\System.Management.Automation.dll
- netCore\Microsoft.Exchange.Management.ExoPowershellGalleryModule.xml
- netCore\System.Drawing.Common.dll
- netFramework\Microsoft.IdentityModel.Abstractions.xml
- netFramework\System.Memory.dll
- netCore\Microsoft.Exchange.Management.RestApiClient.dll
- netCore\System.IdentityModel.Tokens.Jwt.dll
- netFramework\Microsoft.IdentityModel.JsonWebTokens.dll
- netFramework\System.Memory.xml
- netCore\Microsoft.Exchange.Management.RestApiClient.xml
- netCore\System.Management.Automation.dll
- netFramework\Microsoft.IdentityModel.JsonWebTokens.xml
- netFramework\System.Numerics.Vectors.dll
- netCore\Microsoft.Extensions.ObjectPool.dll
- netCore\System.Management.dll
- netFramework\Microsoft.IdentityModel.Logging.dll
- netFramework\System.Numerics.Vectors.xml
- netCore\Microsoft.Identity.Client.dll
- netCore\System.Memory.Data.dll
- netFramework\Microsoft.IdentityModel.Logging.xml
- netFramework\System.Runtime.CompilerServices.Unsafe.dll
- netCore\Microsoft.IdentityModel.Abstractions.dll
- netCore\System.Security.Cryptography.Pkcs.dll
- netFramework\Microsoft.IdentityModel.Tokens.dll
- netFramework\System.Runtime.CompilerServices.Unsafe.xml
- netCore\Microsoft.IdentityModel.JsonWebTokens.dll
- netCore\System.Security.Cryptography.ProtectedData.dll
- netFramework\Microsoft.IdentityModel.Tokens.xml
- netFramework\System.Text.Json.dll
- netCore\Microsoft.IdentityModel.Logging.dll
- netCore\System.Security.Permissions.dll
- netFramework\Microsoft.OData.Client.dll
- netFramework\System.Text.Json.xml
- netCore\Microsoft.IdentityModel.Tokens.dll
- netCore\System.Windows.Extensions.dll
- netFramework\Microsoft.OData.Client.xml
- netFramework\System.Threading.Tasks.Extensions.dll
- netCore\Microsoft.OData.Client.dll
- netCore\vcruntime140.dll
- netFramework\Microsoft.OData.Core.dll
- netFramework\System.Threading.Tasks.Extensions.xml
- netCore\Microsoft.OData.Core.dll
- netCore\vcruntime140_1.dll
- netFramework\Microsoft.OData.Core.xml
- netFramework\ref\Microsoft.Exchange.Management.ExoPowershellGalleryModule.dll
- netCore\ref\Microsoft.Exchange.Management.ExoPowershellGalleryModule.dll
Version History
Version | Downloads | Last updated |
---|---|---|
3.6.0 | 1,800,791 | 9/25/2024 |
3.6.0-Preview1 | 7,219 | 9/6/2024 |
3.5.1 (current version) | 2,936,800 | 7/10/2024 |
3.5.1-Preview2 | 8,806 | 6/25/2024 |
3.5.1-Preview1 | 6,593 | 6/4/2024 |
3.5.0 | 1,796,148 | 5/17/2024 |
3.5.0-Preview2 | 3,714 | 5/3/2024 |
3.4.2-Preview1 | 8,346 | 3/4/2024 |
3.4.1-Preview1 | 10,031 | 12/12/2023 |
3.4.0 | 8,203,840 | 10/10/2023 |
3.4.0-Preview1 | 1,951 | 9/25/2023 |
3.3.1-Preview1 | 769 | 9/18/2023 |
3.3.0 | 1,680,639 | 9/7/2023 |
3.3.0-Preview1 | 3,930 | 8/4/2023 |
3.2.0 | 3,151,478 | 6/21/2023 |
3.2.0-Preview4 | 4,647 | 5/26/2023 |
3.2.0-Preview3 | 5,805 | 4/28/2023 |
3.2.0-Preview2 | 5,115 | 3/20/2023 |
3.2.0-Preview1 | 3,056 | 2/27/2023 |
3.1.0 | 2,267,207 | 1/9/2023 |
3.1.0-Preview2 | 1,939 | 12/19/2022 |
3.1.0-Preview1 | 1,502 | 12/5/2022 |
3.0.1-Preview1 | 1,764 | 11/14/2022 |
3.0.0 | 9,024,836 | 9/19/2022 |
2.0.6-Preview8 | 4,226 | 9/9/2022 |
2.0.6-Preview7 | 1,660,668 | 8/13/2022 |
2.0.6-Preview6 | 55,462 | 5/20/2022 |
2.0.6-Preview5 | 54,618 | 3/17/2022 |
2.0.6-preview4 | 3,424 | 1/13/2022 |
2.0.6-Preview3 | 11,866 | 10/20/2021 |
2.0.5 | 7,251,966 | 5/11/2021 |
2.0.5-Preview2 | 640 | 4/30/2021 |
2.0.5-Preview1 | 1,097 | 4/21/2021 |
2.0.4 | 640,915 | 2/5/2021 |
2.0.4-Preview9 | 2,057 | 1/19/2021 |
2.0.4-Preview8 | 261 | 1/4/2021 |
2.0.4-Preview6 | 23,324 | 11/6/2020 |
2.0.4-Preview2 | 107,016 | 9/22/2020 |
2.0.3 | 529,332 | 9/21/2020 |
2.0.3-Preview | 8,869 | 6/30/2020 |
1.0.1 | 261,603 | 6/3/2020 |
0.4578.0 | 518,601 | 4/16/2020 |
0.4368.1 | 23,410 | 3/30/2020 |
0.3582.0 | 39,366 | 2/10/2020 |
0.3555.1 | 13,915 | 1/22/2020 |
0.3374.11 | 11,981 | 1/15/2020 |
0.3374.10 | 5,483 | 12/27/2019 |
0.3374.9 | 17,593 | 11/26/2019 |
0.3374.4 | 7,744 | 10/31/2019 |
0.3374.1 | 830 | 10/25/2019 |
0.3374.0 | 644 | 10/22/2019 |