Important: End Of Life announced for MSOnline PowerShell modules lower than 1.1.166.0

Important: End Of Life announced for MSOnline PowerShell modules lower than 1.1.166.0

Hello everyone,

Microsoft has officially phased out legacy authentication in the MSOnline PowerShell module on 30 June, 2024, which was used in versions lower than 1.1.166.0. This module is essential for M365 Manager Plus to collect data for its License Details report and to execute the MFA Settings management task. To continue using these actions, we recommend upgrading your MSOnline module to its latest version—1.1.183.81.


Here's how you can update it.

  • Check the version of MSOnline module installed in the machine that hosts M365 Manager Plus by running the following command in Windows PowerShell.
    Get-Module -ListAvailable -Name MSOnline | ft Name,Version


    If the version of MSOnline installed in your machine is lower than 1.1.183.81, please follow the appropriate steps mentioned below to update your MSOnline module.
  • Shutdown M365 Manager Plus.
    • If the product runs as an application, navigate to Start → All Programs → M365 Manager Plus and click Stop M365 Manager Plus.
    • If the product runs as a Windows service, navigate to Start → Run, type services.msc, right-click on M365 Manager Plus from the list of services, and click Stop
  • Uninstall the MSOnline module by following the steps provided for your version of MSOnline.
    •  If your MSOnline version is 1.0 or lower,
      • Open Control Panel and click Uninstall a program.
      • Search for Azure Active Directory Module For Windows PowerShell, select it, and click Uninstall.
    • If your MSOnline version is higher than 1.0, run the following command in Windows PowerShell as an administrator.
      Uninstall-Module MSOnline -Force
  • To install the latest version, run the following command after opening Windows PowerShell as an administrator.
    Install-Module -Name MSOnline -RequiredVersion 1.1.183.81 -Force

    Please note that Microsoft plans to deprecate the entire MSOnline PowerShell module by 30 March, 2025. We are actively working to eliminate this dependency with an upcoming update.

                  New to ADSelfService Plus?