[Bug]: Monkey365 is returning an empty plugin list when string not match
Closed this issue · 1 comments
silverhack commented
What happened?
The internal function that manages plugins is case sensitive, so is returning an empty array when the string passed to the -Analysis variable does not match.
How to reproduce it
The following command will fail, because a capital letter in "SharePointOnline" is wrong.
Invoke-Monkey365 -Instance Microsoft365 -Analysis SharePointOnline -Verbose -Debug -InformationAction Continue -ExportTo HTML
As a workaround, the following command can be used (Please, note the lack of capital letter in SharePointOnline):
Invoke-Monkey365 -Instance Microsoft365 -Analysis SharepointOnline -ExportTo HTML
silverhack commented
Fixed in both main in develop branches