Comments (8)
I get the same error and and unable to run the report!
Disclaimer
Do you agree with the above disclaimer?
[Y] Yes [N] No [?] Help (default is "Y"): y
Please provide an output directory: C:\Hawk\New
Get-MGDomain : One or more errors occurred.
At line:81 char:9
-
[string]$TenantName = (Get-MGDomain | Where-Object {$_.isDefa ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Get-MgDomain_List], AggregateException
- FullyQualifiedErrorId : System.AggregateException,Microsoft.Graph.PowerShell.Cmdlets.GetMgDomain_List
PS C:\Windows\system32>
from hawk.
from hawk.
from hawk.
I noticed I'm also receiving the error below after entering start-hawktenantinvestigation, not sure if this indicates another issue? the previously noted error appears to be resolved
PS C:\Windows\system32> start-hawktenantinvestigation
Initializing Application Insights
Checking for latest version online
Found Version 3.1.0 Online
Latest Version Installed
Skipping Upgrade
Testing Graph Connection
Connecting to MGGraph using MGGraph Module
Welcome to Microsoft Graph!
Connected via delegated access using 14d82eec-204b-4c2f-b7e8-296a70dab67e
Readme: https://aka.ms/graph/sdk/powershell
SDK Docs: https://aka.ms/graph/sdk/powershell/docs
API Docs: https://aka.ms/graph/docs
NOTE: You can use the -NoWelcome parameter to suppress this message.
WARNING: Unable to find type [Microsoft.Graph.PowerShell.Authentication.Utilities.DependencyAssemblyResolver].
Select-MgProfile : The term 'Select-MgProfile' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:31 char:9
-
Select-MgProfile -Name "v1.0"
-
~~~~~~~~~~~~~~~~
- CategoryInfo : ObjectNotFound: (Select-MgProfile:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Setting Up initial Hawk environment variable
from hawk.
from hawk.
@jonesconsulting - Are you able to run "Connect-MGGraph" before running Hawk? Connect to the Graph before you run it and run "Get-MGGraph". It should return your domain list. If it doesn't return your domain or gives and error, then it might be a permission issue connecting to the graph.
Readme: https://aka.ms/graph/sdk/powershell
SDK Docs: https://aka.ms/graph/sdk/powershell/docs
API Docs: https://aka.ms/graph/docs
from hawk.
from hawk.
Uninstall-Module -Name MSOnline -RequiredVersion 1.1.183.80
Install-Module -Name MSOnline -RequiredVersion 1.1.183.66
Try after doing that. Should work now, this is how I fixed it. Found issue in another thread
microsoftgraph/msgraph-sdk-powershell#2227
from hawk.
Related Issues (20)
- Update Microsoft URL
- Change scan name HOT 7
- AzureAD Module HOT 1
- Adds incorrect domain to results HOT 6
- Error entering haveibeenpwned.com apikey HOT 1
- Date/time error: Cannot convert value "07/14/2023" to type "Microsoft.Exchange.ExchangeSystem.ExDateTime" HOT 5
- Adding parameters to Start-HawkUserInvestigation, avoiding user interactions.
- Add SearchQueryInitiated to data pull
- Error running HAWK HOT 1
- Retirement of AdminAuditLog and MailboxAuditLog cmdlets HOT 1
- Fails to install due to no RobustCloudCommand HOT 1
- New Tenant Investigations going into wrong tenant folder HOT 1
- Select-MgProfile : The term 'Select-MgProfile' is not recognized as the name of a cmdlet HOT 1
- Initialize-HawkGlobalObject does not read parameter DaysToLookBack
- Unable to load .msg file
- Hawk is not installing nor updating HOT 1
- Connect-MGGraph error after executing Start-HawkTenantInvestigation HOT 10
- Search-HawkTenantEXOAuditLog Search-AdminAuditLog limit
- Error Acquiring Token: System.Threading.ThreadStateException: ActiveX control HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hawk.