Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Fatal Error involving the Report Creation #1455

Open
slavag opened this issue Dec 3, 2024 · 2 comments
Open

Exception: Fatal Error involving the Report Creation #1455

slavag opened this issue Dec 3, 2024 · 2 comments
Labels
public-reported This issue is reported by the public users of the tool. troubleshooting Issues related to debugging unique set ups

Comments

@slavag
Copy link

slavag commented Dec 3, 2024

🐛 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 gdasher added the public-reported This issue is reported by the public users of the tool. label Dec 4, 2024
@gdasher
Copy link
Collaborator

gdasher commented Dec 4, 2024

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.

@schrolla schrolla added the troubleshooting Issues related to debugging unique set ups label Dec 5, 2024
@scrouet-neocase
Copy link

scrouet-neocase commented Dec 18, 2024

Hello,

I get the same error on Windows 10 22H2 (build 19045.5131) with PowerShell 7.4.6.

WARNING: The names of some imported commands from the module 'Microsoft.PowerApps.AuthModule' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
Get-MgBetaOrganization_List: Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly
'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Write-Error: Error establishing a connection with sharepoint. You cannot call a method on a null-valued expression.
WARNING: sharepoint will be omitted from the output because of failed authentication
WARNING: Error retrieving Tenant details using Get-AADTenantDetail Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
WARNING: Error running Get-MgBetaIdentityConditionalAccessPolicy. Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
WARNING: Error running Get-MgBetaSubscribedSku. Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
WARNING: Omitting calls to Get-PrivilegedRole and Get-PrivilegedUser.
WARNING: Error running Get-MgBetaUserCount. Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
WARNING: Error running Get-MgBetaPolicyAuthorizationPolicy. Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
WARNING: Error running Get-MgBetaDirectorySetting. Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
WARNING: Error running Get-MgBetaPolicyAuthenticationMethodPolicy. Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
WARNING: Error running Get-MgBetaDomain. Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
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 2.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 3.
WARNING: Error running Get-MgBetaUser. Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
WARNING: Resulting JSON is truncated as serialization has exceeded the set depth of 2.
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
public-reported This issue is reported by the public users of the tool. troubleshooting Issues related to debugging unique set ups
Projects
None yet
Development

No branches or pull requests

4 participants