Replies: 2 comments 2 replies
|
Hi @vanessav5, Seems that you have only one resource group (not a list of objects) and monkey raises an exception, so it's a bug. I just have updated the dev branch, and this should be now resolved. Could you please try and do let me know? |
1 reply
|
Hi @vanessav5, This is because you are trying to import the PowerShell module using an incorrect path. You should rename the folder If for example the module is located in c:, you should do the following:
Could you please try and do let me know? Gracias, |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I need your help, I'd like to execute monkey365 to obtain all Azure reports. I executed this:
Invoke-Monkey365 -PromptBehavior SelectAccount -Instance Azure -Analysis All -TenantID XXX-XXX-XXX -ExportTo HTML
But obtain the error:
Write-Error : [12:37:56:792] - [Invoke-AzureScanner] - No se puede convertir el argumento "collection", con el valor: "@{id=/subscriptions/XXXXXX/resourceGroups/RG_SENTINEL_WORKSPACE/providers/Microsoft.OperationalInsights/workspaces/XXXx-Sentinel;
name=XXX-Sentinel; type=Microsoft.OperationalInsights/workspaces; location=westeurope; tags=}", para "AddRange", al tipo
"System.Collections.Generic.IEnumerable
1[System.Object]": "No se puede convertir el valor "@{id=/subscriptions/XXXXXXXXXXXXXXXXXXXXXX/ resourceGroups/RG_SENTINEL_WORKSPACE/providers/Microsoft.OperationalInsights/workspaces/XXXX-Sentinel; name=XXXX-Sentinel; type=Microsoft.OperationalInsights/workspaces; location=westeurope; tags=}" de tipo "System.Management.Automation.PSCustomObject" al tipo "System.Collections.Generic.IEnumerable1[System.Object]".". LineNumber: En C:\monkey365\core\analysis\Invoke-AzureScanner.ps1: 97 Carácter: 49En C:\monkey365\core\analysis\Invoke-AzureScanner.ps1: 136 Carácter: 9
Could you help me, please?
Thank you so much for your attention.
Regards
Vanessa
All reactions