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

Export-AzResourceGroup - An error occurred while sending the request. Line 55 #109

Open
Svyatk0 opened this issue Nov 23, 2022 · 0 comments

Comments

@Svyatk0
Copy link

Svyatk0 commented Nov 23, 2022

Hiya. i have used this tool successfully few days ago visualizing the exact same resource group.
Today all of a sudden i am getting the below error. I am running this in Win11

I have tried signing out and back in, switching back to PWShell 7.2 but without success, reinstalling
for some smaller groups it still works but for the larger ones (~50 resources) i am now getting this error.
Any suggestions/help appreciated.

` Export-AzViz -ResourceGroup core-cloud -Theme dark -Show -OutputFormat png -CategoryDepth 2

█████╗ ███████╗██╗   ██╗██╗███████╗

██╔══██╗╚══███╔╝██║ ██║██║╚══███╔╝ Author : Prateek Singh (Twitter @singhprateik)
███████║ ███╔╝ ██║ ██║██║ ███╔╝ Module : Azure Visualizer v1.2.1
██╔══██║ ███╔╝ ╚██╗ ██╔╝██║ ███╔╝ Github : https://github.com/PrateekKumarSingh/AzViz
██║ ██║███████╗ ╚████╔╝ ██║███████╗ Document : https://azviz.readthedocs.io
╚═╝ ╚═╝╚══════╝ ╚═══╝ ╚═╝╚══════╝
▶ Testing Graphviz installation... 534ms
▶ GraphViz installation path : C:\Program Files\Graphviz\bin\dot.exe
▶ Configuring Defaults... 553ms
▶ Target Type : Azure Resource Group
▶ Output Format : png
▶ Exluded Resource Types :
▶ Output File Path : C:\Users\user\AppData\Local\Temp\output.png
▶ Label Verbosity : 1
▶ Category Depth : 2
▶ Sub-graph Direction : top-to-bottom
▶ Theme : dark
▶ Launch Visualization : True
▶ Target Azure Resource Groups... 585ms
▶ core-cloud
▶ Starting to generate Azure visualization... 590ms
▶ Exporting network associations for resource group: 'core-cloud'
▶ Network watcher not found for resource group: 'core-cloud'
▶ Exporting ARM template of Azure resource group: 'core-cloud'

Export-AzResourceGroup: D:\OneDrive\Documents\PowerShell\Modules\AzViz\1.2.1\src\private\ConvertFrom-ARM.ps1:55
Line |
55 | … template = (Export-AzResourceGroup -ResourceGroupName $Target -SkipAl …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| An error occurred while sending the request.
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant