-
Notifications
You must be signed in to change notification settings - Fork 141
Description
What happened?
getting the following error run HAWK :
[2026-02-23 20:38:20Z] - [ACTION] - Connecting to EXO using Exchange Online Module
Method not found: 'Microsoft.Identity.Client.PublicClientApplicationBuilder
Microsoft.Identity.Client.Broker.BrokerExtension.WithBroker(Microsoft.Identity.Client.PublicClientApplicationBuilder,
Microsoft.Identity.Client.BrokerOptions)'.
At C:\Program
Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.9.2\netFramework\ExchangeOnlineManagement.psm1:591 char:21
-
throw $_.Exception.InnerException; -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : OperationStopped: (:) [], MissingMethodException
- FullyQualifiedErrorId : Method not found: 'Microsoft.Identity.Client.PublicClientApplicationBuilder Microsoft.Id
entity.Client.Broker.BrokerExtension.WithBroker(Microsoft.Identity.Client.PublicClientApplicationBuilder, Microsof
t.Identity.Client.BrokerOptions)'.
PS C:\WINDOWS\system32>
Commands run:
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
Get-InstalledModule | ForEach-Object {
Update-Module -Name $_.Name -Force
}
Update-Module -Name hawk -Force
Connect-MGGraph -Scopes 'User.Read.All', 'Directory.Read.All',"Organization.Read.All",
'DeviceManagementServiceConfig.Read.All', 'AuditLog.Read.All', 'IdentityRiskEvent.Read.All', 'IdentityRiskyUser.Read.All'
start-hawktenantinvestigation
Steps to Reproduce
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process
Get-InstalledModule | ForEach-Object {
Update-Module -Name $_.Name -Force
}
Update-Module -Name hawk -Force
Connect-MGGraph -Scopes 'User.Read.All', 'Directory.Read.All',"Organization.Read.All",
'DeviceManagementServiceConfig.Read.All', 'AuditLog.Read.All', 'IdentityRiskEvent.Read.All', 'IdentityRiskyUser.Read.All'
start-hawktenantinvestigation
Hawk Version
4.0
Technical Analysis
No response
Implementation Plan
No response
Acceptance Criteria
No response