I needed to install Azure AD PowerShell v1 (MSOnline) module on AD FS server running on Windows Server 2016 and was getting the error:
WARNING: Unable to download from URI ‘https://go.microsoft.com/fwlink/?…’
WARNING: Unable to download the list of available providers. Check your internet connection.
PackageManagement\Install-PachageProvider : No match was found for the specified search criteria for the provider ‘NuGet’. The package provider requires ‘PackageManagement’ and ‘Provider’ tags. Please check if the specified package has the tags.
The solution found here was to run following command:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Restarted the server and was able to complete module installation.