Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running HAWK #115

Open
alamanna993 opened this issue Jan 23, 2024 · 1 comment
Open

Error running HAWK #115

alamanna993 opened this issue Jan 23, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@alamanna993
Copy link

After Connecting to Azure AD and Exchange I run the Start-HawkTenantInvestigation command. I then get:

Start-HawkTenantInvestigation : The 'Start-HawkTenantInvestigation' command
was found in the module 'HAWK', but the module could not be loaded. For more
information, run 'Import-Module HAWK'.
At line:1 char:1

  • Start-HawkTenantInvestigation
  •   + CategoryInfo          : ObjectNotFound: (Start-HawkTenantInvestigation:S 
     tring) [], CommandNotFoundException
      + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
      
      
    

I then run Import-Module HAWK and get this error:

PS C:\WINDOWS\system32> Import-Module HAWK
Import-Module : Could not load file or assembly 'Azure.Core, Version=1.33.0.0,
Culture=neutral, PublicKeyToken=92742159e12e44c8' or one of its dependencies.
The system cannot find the file specified.
At line:1 char:1

  • Import-Module HAWK
  •   + CategoryInfo          : NotSpecified: (:) [Import-Module], FileNotFoundE 
     xception
      + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerS 
     hell.Commands.ImportModuleCommand
    
@alamanna993 alamanna993 added the Bug Something isn't working label Jan 23, 2024
@NavyVet81
Copy link

NavyVet81 commented Jan 24, 2024

I had this issue as well, mine was giving a similar error on the AzureAD module. I had to uninstall EVERY version of Azure in powershell, then I uninstalled Hawk.

I reinstalled using the psresource command -force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants