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 Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

Leave a Reply

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