[Not A Bug]: Collectors were not found for Microsoft365
Ran Monkey as Admin (or I get a Client ID warning) using this script:
Invoke-Monkey365 -IncludeEntraID -Instance Microsoft365 -OutDir '$AuditFolder' -ExportTo @('CSV','JSON','CLIXML','HTML') -PromptBehavior SelectAccount
What happened?
A clear and concise description of what the bug is or what is not working as expected WARNING: [20:49:49:690] - [Initialize-MonkeyScan] - Collectors were not found for Microsoft365 - warning - XXX - Monkey365InitializeScan WARNING: [20:49:49:700] - [Invoke-MonkeyScanner] - Unable to start Monkey365. Collectors are empty - warning - XXXX - Monkey365Scanner
But Monkey does finish and produce correct results, so not sure if I am missing out on some findings now or its a benigne error?
Or is this because I am running Powershell as admin or unrelated?
From where are you running Monkey365?
Please, complete the following information:
- Resource: [workstation)
- OS: [e.g. Windows 11 ]
- PowerShell Version [
$PsVersionTable]: Name Value ---- ----- PSVersion 5.1.26100.3624 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.26100.3624 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 - Monkey365 Version: just downloaded it
Hi @ezjurgen thanks for using Monkey365.
It's not a bug. You forgot to add the -Collect parameter to Microsoft365 instance, as mentioned here and here for Azure.
Valid options are ExchangeOnline, SharePointOnline, Purview, etc... With the above command you shared you will only get info from Entra ID but nothing about Microsoft 365. The following should work:
Invoke-Monkey365 -IncludeEntraID -Instance Microsoft365 `
-Collect ExchangeOnline,Purview,SharePointOnline `
-OutDir '$AuditFolder' -ExportTo @('CSV','JSON','CLIXML','HTML') `
-PromptBehavior SelectAccount
Please, do let me know if the above works for you. In the meantime, I'll add to the TODO list a task to implement a more detailed warning/error messages.
This issue has been automatically marked as stale because it has not had recent activity. We kindly ask you to check again if the issue you reported is still relevant in the current version of Monkey365. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions.
This issue was closed because it has been inactive for 14 days since being marked as stale. If the issue is still relevant, feel free to re-open it or open a new one.