monkey365 icon indicating copy to clipboard operation
monkey365 copied to clipboard

[Bug]: HTML report displays wrong "resources" within Dashboard table

Open Edwards25519 opened this issue 9 months ago • 2 comments

What happened?
Running Monkey365 against a HomeLab FreeTrial M365 Environment returns 0 users and 0 groups but still flags them when not compliant with secure settings.

How to reproduce it
Steps to reproduce the behavior:

  1. Setup a Free Trial M365 with up to 25 users. Assign as many as you need (include Guest external user with default settings. It indicates the tool is still flagging it despite not being "listed").
  2. Install Monkey365 with no issues.
  3. Run Invoke-Monkey365 -TenantId 0000000-0000-0000-0000-000000000000 -IncludeEntraID -Instance Microsoft365 -Collect AdminPortal,ExchangeOnline,MicrosoftTeams,Purview,SharePointOnline -ExportTo HTML
  4. Connect when prompted for, using the Global Administrator account OR any Account setup with Global Reader and SharepointAdministrator.
  5. Visualize output and notice Users and Groups resources at 0.

Expected behavior
Groups and Users numbers should return expected results. Note that the specified TenantID (optional, not specifying returns the same output) is the one associated to the M365 Group created on startup and effectively includes the created users.

Screenshots or Logs
Image

From where are you running Monkey365?
Please, complete the following information:

  • Resource: Using VM
  • OS: Windows 11
  • PowerShell : 5.1.26100.2161
  • Monkey365 Version: Monkey365 v0.94.6-beta

Edwards25519 avatar Mar 18 '25 16:03 Edwards25519

Hi @Edwards25519 thanks for letting me know about that, it's really appreciated.

I can reproduce your issue, and in my case it seems like resources object within that HTML table is being ignored. The main issue is that HTML table is displaying wrong data about resources. If you move through sidebar menu, you'll see that rules regarding users and groups are working as expected.

Image

Thanks!

silverhack avatar Mar 18 '25 18:03 silverhack

Related #138

silverhack avatar Mar 18 '25 19:03 silverhack

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.

github-actions[bot] avatar Jul 17 '25 02:07 github-actions[bot]

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.

github-actions[bot] avatar Jul 31 '25 02:07 github-actions[bot]