[Bug]: HTML report displays wrong "resources" within Dashboard table
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:
- 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").
- Install Monkey365 with no issues.
- Run
Invoke-Monkey365 -TenantId 0000000-0000-0000-0000-000000000000 -IncludeEntraID -Instance Microsoft365 -Collect AdminPortal,ExchangeOnline,MicrosoftTeams,Purview,SharePointOnline -ExportTo HTML - Connect when prompted for, using the Global Administrator account OR any Account setup with Global Reader and SharepointAdministrator.
- 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
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
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.
Thanks!
Related #138
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.