asterictnl-lvdw / M365SAT

Microsoft 365 Security Assessment Tool - A Easy-To-Use Microsoft 365 Security Assessment Tool
MIT License
35 stars 16 forks source link

Sometimes running doesn't run all modules correctly #52

Open frisotrip opened 1 week ago

frisotrip commented 1 week ago

Hello

There is a strange thing going on. When i run M365SATTester.ps1 it looks like the Graph module doesn't run completely. The second time i run the script everything is going ok, and i get an popup as seen in the attachment.

Am i doing something wrong? 2024-09-02 14_41_15-Windows 11 M365 Security check - VMware Workstation

asterictnl-lvdw commented 1 week ago

Hello,

I need to look further into this. Since this does not break anything it is considered, this might be because of an issue with the validation which is not done correctly and resulting into another authentication of Microsoft Graph.

I will let you know what causes this issue and if there is a fix available.

For now as a workaround just authenticate twice and accept the permissions given (if you want on behalf of the organization), unless stated otherwise from the organization itself.

~LvdW