cisagov / ScubaGear

Automation to assess the state of your M365 tenant against CISA's baselines
https://www.cisa.gov/resources-tools/services/secure-cloud-business-applications-scuba-project
Creative Commons Zero v1.0 Universal
1.79k stars 230 forks source link

Exception: Fatal Error involving the Report Creation #1455

Open slavag opened 22 hours ago

slavag commented 22 hours ago

🐛 Summary

Exception: Fatal Error involving the Report Creation. Ending ScubaGear execution. See the exception message for more details: Cannot validate argument on parameter 'Config'. The argument is null or empty.
Provide an argument that is not null or empty, and then try the command again.

To reproduce

Steps to reproduce the behavior:

  1. Running ScubaGear on MacPowerShell
  2. Getting JSON files, but not HTML Image

Expected behavior

Expecting html report

Any helpful log output or screenshots

Paste the results here:

Write-Error: Error establishing a connection with powerplatform. The term 'Add-PowerAppsAccount' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.                                                     
WARNING: powerplatform will be omitted from the output because of failed authentication                                 
Write-Error: Error establishing a connection with sharepoint. The term 'Connect-SPOService' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.                                                       
WARNING: sharepoint will be omitted from the output because of failed authentication                                    
Write-Error: Error establishing a connection with teams. The term 'Connect-MicrosoftTeams' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.                                                            
WARNING: teams will be omitted from the output because of failed authentication                                         
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 4.                                  
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.                                  
WARNING: Defender for Office 365 license not available in tenant. Omitting the following commands: Get-AtpPolicyForO365, Get-ATPProtectionPolicyRule.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 5.                                  
Exception: Fatal Error involving the Report Creation.              Ending ScubaGear execution. See the exception message for more details: Cannot validate argument on parameter 'Config'. The argument is null or empty.                                                                                                                 
Provide an argument that is not null or empty, and then try the command again.
gdasher commented 13 hours ago

Thanks for the issue report. PS 7 on Mac is not currently supported because of some issues in the dependencies, which you're encountering. So we're not likely to fix this soon. If you exclude power platform you may have more luck but there are several issues with dependent modules working on non-windows platforms. See this issue for more info, but we haven't looked at this issue in a little while.