MSOnline Powershell Module released

MSOnline Powershell Module released

Hi All,

Yesterday a new Version of the MSOnline PowerShell Module has been released. Sadly there is no Information availabe what has been changed.

It’s a little bit surprising to see updates on such an old Module that has seen it’s last change almost two years ago and will be depreciated on March 30 2024.

I am using the new PSResourceGet here instead of the PowerShellGet commands.

Check the PowerShell Module that is installed and what is available from the PowerShell Gallery

Get-InstalledPSResource MSOnline -Scope AllUsers
Find-PSResource MSOnline

Uninstall old PowerShell Module and install the new one

Uninstall-PSResource MSOnline -Scope AllUsers
Install-PSResource MSOnline -Scope AllUsers
Get-InstalledPSResource MSOnline -Scope AllUsers

Some basic testing. I am not sure if the missing Disconnect-MsolService command is on purpose or if it is an error.

Get-MsolUser -UserPrincipalName <UserPrincipalName>

Andres Bohren

M365 Logo

PowerShell Logo