Scenario: When attempting to install the newer Exchange Online Management PowerShell tools, you receive a wall of red errors similar to the following:
PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider ‘Nuget’
PackageManagement\Get-PackageProvider : Unable to find package provider ‘NuGet’. It may not be imported yet.
Install-Module : NuGet provider is required to interact with NuGet-based repositories.
Solution: Run PowerShell as Administrator and run the following:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12