PrateekKumarSingh / AzViz

⚡ ☁ Azure Visualizer aka 'AzViz' : A #powershell module to automatically generate Azure resource topology diagrams by just typing a PowerShell cmdlet and passing the name of one or more Azure Resource groups
MIT License
597 stars 148 forks source link

Export-AzResourceGroup doesn't support more than 200 resources #21

Open PrateekKumarSingh opened 3 years ago

PrateekKumarSingh commented 3 years ago

The module is not able to export more than 200 resources due to a limitation in the Export-AzResourceGroup cmdlet

fmuntean commented 3 years ago

Any chance we can get around this issue?

GraemeCThompson commented 3 years ago

It is a hard limit in the ARM template exporter provided by Microsoft. https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-portal#limitations

The only workaround is to use multiple resource groups and ensure that there are less that 200 resources in each one.