Desinstalar a versão do shell da gestão on -line do SharePoint
#check for installed version
Get-Module -Name Microsoft.Online.SharePoint.PowerShell -ListAvailable | Select Name,Version
#replace the <version number> with the version to remove: example 16.0.21714.0
Uninstall-Module -Name Microsoft.Online.SharePoint.PowerShell -MinimumVersion <version-number>
Lucky-Magnet