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

Exchange Online - "Exchange Online PowerShell V2 module (EXO V2 module)"
Exchange Online - "Exchange Online PowerShell V2 module (EXO V2 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) :

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)”

fig : Exchange Online - "Exchange Online PowerShell V2 module (EXO V2 module)"
fig : Exchange Online – “Exchange Online PowerShell V2 module (EXO V2 module)”

  • Here I am using Install-Module PowerShell CMDLET as

PS C:\> Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5

fig : Exchange Online - installing "Exchange Online PowerShell V2 module (EXO V2 module)
fig : Exchange Online – installing “Exchange Online PowerShell V2 module (EXO V2 module)

  • 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

fig : Exchange Online - connecting to "Exchange Online PowerShell V2 module (EXO V2 module)
fig : Exchange Online – connecting to “Exchange Online PowerShell V2 module (EXO V2 module)
  • 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

Exchange Online - Executing Exchange PowerShell CMDLET - Get-Mailbox
fig : Exchange Online – Executing Exchange PowerShell CMDLET – Get-Mailbox

Thanks for reading !!! Please feel free to discuss / suggestions / share thoughts !!!

HAVE A GREAT TIME AHEAD !!! LIFE IS BEAUTIFUL 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: