microsoft / ARI

Azure Resource Inventory - It's a Powerful tool to create EXCEL inventory from Azure Resources with low effort
MIT License
1.12k stars 397 forks source link

Visio diagram not being generated #149

Closed spaelling closed 10 months ago

spaelling commented 1 year ago

the code for that part is commented out. I am looking for the network topology diagram, which I do no see in the draw.io diagram?

Claudio-Merola commented 1 year ago

The xml file is being generated?

spaelling commented 1 year ago

yes, but I see no network topology in that. My understanding is that the network topology is in the Visio diagram?

crimez commented 1 year ago

I guess I'm experiencing the same problem, no "Network topology" sheet in the Diagram file. I have to include the parameter -DiagramFullEnvironment in order to get the topology

red-erik commented 1 year ago

Hello, I confirm no network topology with of without "DiagramFullEnvironment" parameter. Regards, Red.

Claudio-Merola commented 1 year ago

I'm not being able to replicate this issue.

1) Do you guys have Virtual Network Gateways in the environment?

2) There is Express Route in the environment?

3) There is vWAN in the environment?

red-erik commented 1 year ago

Hello Claudio, yes, we have all of them. Regards, Red.

Claudio-Merola commented 12 months ago

Hi @red-erik

Can you try the last version of the script and see if this still happens?

red-erik commented 11 months ago

Hello, the latest version seems to be working much better. Thank you very much.

Regards, Red.

red-erik commented 11 months ago

Hello, to give you more detailed feedback, it works on small Subs with not too many objects while on larger ones, it does not produce any output (Diagram). Regards, Red.

crimez commented 11 months ago

I'm still having the issue even with the last version of the script

red-erik commented 11 months ago

Hello, just as a reminder, the code inside the script is commented out so you need to uncomment it

<######################################################### VISIO DIAGRAM JOB ######################################################################> <# Write-Debug ('Checking if Visio Diagram Job Should be Run.') if ($Diagram.IsPresent) { Write-Debug ('Starting Visio Diagram Processing Job.') Start-job -Name 'VisioDiagram' -ScriptBlock {

            If ($($args[5]) -eq $true) {
                $ModuSeq = (New-Object System.Net.WebClient).DownloadString($($args[7]) + '/Extras/VisioDiagram.ps1')
            }
            Else {
                $ModuSeq0 = New-Object System.IO.StreamReader($($args[0]) + '\Extras\VisioDiagram.ps1')
                $ModuSeq = $ModuSeq0.ReadToEnd()
                $ModuSeq0.Dispose()  
            }                  

            $ScriptBlock = [Scriptblock]::Create($ModuSeq)

            $VisioRun = ([PowerShell]::Create()).AddScript($ScriptBlock).AddArgument($($args[1])).AddArgument($($args[2])).AddArgument($($args[3])).AddArgument($($args[4]))

            $VisioJob = $VisioRun.BeginInvoke()

            while ($VisioJob.IsCompleted -contains $false) {}

            $VisioRun.EndInvoke($VisioJob)

            $VisioRun.Dispose()

        } -ArgumentList $PSScriptRoot, $Subscriptions, $Resources, $Advisories, $DFile, $RunOnline, $Repo, $RawRepo   | Out-Null
    }
    #>
Claudio-Merola commented 11 months ago

Ohhh I see.

We are no longer working with VISIO diagram...

At the moment we only develop the Draw.io diagram...

red-erik commented 11 months ago

Thank you for clarifying that.

Regards, Red.

github-actions[bot] commented 10 months ago

This Issue is stale and may be automatically close soon.