Fresh Install of Hawk (7/18/2024) on Fresh Win 10 or 11 won't run
After installing getting an error when running Start-HawkTenantInvestigation
Version 3.1.0
Fixed my own issue as soon as I posted this. anyone getting this error
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.4.0
then go into C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement and delete any newer version folder so that only 3.4.0 is there or just Uninstall-Module -Name ExchangeOnlineManagement -RequiredVersion "whatever version you have in that dir"
Looks like getting a fresh install of Hawk/Windows is:
Install-Module -Name MSOnline -RequiredVersion 1.1.183.66
Install-Module -Name RobustCloudCommand -RequiredVersion 2.1.0
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.4.0
Install-Module -Name Hawk
Small adjustment to this as RobustCloudCommand installs the latest version) of ExchangeOnlineManagement if not already installed plus adding in AzureAD and Microsoft.Graph.
So:
Install-Module -Name AzureAD -RequiredVersion 2.0.2.180
Install-Module -Name Microsoft.Graph -RequiredVersion 1.28.0 -SkipPublisherCheck
Install-Module -Name MSOnline -RequiredVersion 1.1.183.66
Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.4.0
Install-Module -Name RobustCloudCommand -RequiredVersion 2.1.0
Install-Module -Name Hawk
Robust Cloud command will removed as dependency and will build in capability to handle throttling into Hawk.