Installing Exchange Management Module - Nuget Error

Installing Exchange Online Management Module in Powershell- Nuget Error

You may find that you get an error when installing Exchange Management Module in Powershell.

The error you may see is something along the lines of:

1
2
3
  PackageManagement\Install-PackageProvider : 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

To get around this error message, you will need to run the following:

1
 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

I then installed the Nuget package provider, to do this enter the following:

1
  Install-PackageProvider -Name NuGet

Once both of the above commands have been run you will then be able to install the Exchange Online Management module as normal by running:

1
  Install-Module -Name ExchangeOnlineManagement
Built with Hugo
Theme Stack designed by Jimmy