Exchange Online : Major Update – Retirement of Exchange Online PowerShell with MFA module

Hi All,
Greetings for the day!!!
Today one of the MAJOR UPDATE related to Exchange Online.
Major Update – Retirement of Exchange Online PowerShell with MFA module
Details:
- Microsoft published this update / news on 29 July 2022
- This update is related to older version of Exchange Online PowerShell module with MFA
- Microsoft is retiring “the Exchange Online PowerShell module with MFA” on Dec 31, 2022
- Support for this module (“the Exchange Online PowerShell module with MFA“) will end on 31 August, 2022
- Reference to this old module : V1 module – Connect to Exchange Online PowerShell using MFA
- Microsoft Recommendation – Henceforward we should use “Exchange Online PowerShell V2 module (EXO V2 module)”
Exchange Online PowerShell V2 module (EXO V2 module) :
- We could download this module from the PowerShell gallery at https://www.powershellgallery.com/packages/ExchangeOnlineManagement
- This module uses Modern Authentication and supports both accounts with MFA or without MFA
- More information about Exchange Online PowerShell V2 module (EXO V2 module) – About the Exchange Online PowerShell V2 module
What action we need to take in our organization :
- We need to update our users who uses older version of Exchange Online PowerShell module
Installing and connecting to “Exchange Online PowerShell V2 module (EXO V2 module)”
- Download this module from the PowerShell gallery at https://www.powershellgallery.com/packages/ExchangeOnlineManagement
- We have various option to install
- Using “Install Module” PowerShell CMDLET
- Azure Automation
- Manual Download – By manually downloading .nupkg package file
- Here I am using Install-Module PowerShell CMDLET as
PS C:\> Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
- Once we installed the module successfully we are ready to connect
- First we will import the module using Import-Module CMDLET as
Import-Module ExchangeOnlineManagement
- Once imported we will connect to use respective PowerShell CMDLETs in module using – Connect-ExchangeOnline CMDLET as
Connect-ExchangeOnline -UserPrincipalName prasham@knowledgejunction1.onmicrosoft.com
- The above CMDLET will prompt for credential
- On successful entering credentials, we will be connected to Exchange Online as shown in below fig
- On successful connection we are ready to execute related PowerShell CMDLET
- We will fetch the mailBox of current user using Get-Mailbox PowerShell CMDLET as
Get-Mailbox
Thanks for reading !!! Please feel free to discuss / suggestions / share thoughts !!!
HAVE A GREAT TIME AHEAD !!! LIFE IS BEAUTIFUL 🙂
You must log in to post a comment.