AzViz icon indicating copy to clipboard operation
AzViz copied to clipboard

Export template is not supported for resource groups that have more than '200' resources

Open Jeremyp87 opened this issue 1 year ago • 5 comments

▶ Exporting ARM template of Azure resource group: 'qssazrgeu'

Export-AzResourceGroup : Export template is not supported for resource groups that have more than '200' resources. StatusCode: 409 ReasonPhrase: Conflict OperationID : At C:\Program Files\WindowsPowerShell\Modules\AzViz\1.2.1\src\private\ConvertFrom-ARM.ps1:55 char:34

  • ... template = (Export-AzResourceGroup -ResourceGroupName $Target -SkipAl ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : CloseError: (:) [Export-AzResourceGroup], ResourceManagerCloudException
    • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.ExportAzureResourceGroup Cmdlet

Jeremyp87 avatar May 23 '23 11:05 Jeremyp87

Running into this restriction too. Not sure if there is a way to exclude certain resource types from being counted/graphed.

EngelenH avatar Jun 08 '23 21:06 EngelenH

Getting this same error.

Is it possible for AzViz to potentially do this in chunks? like 200 at a time?

jasenf avatar Nov 30 '23 19:11 jasenf

Hello, I am also running into this issue, but when I check the resource count in azure, there are only 158 resources in the resource group. any updates?

t-bates123 avatar Nov 30 '23 23:11 t-bates123

has there been any fix or workaround for this?

datnodude avatar Apr 23 '24 00:04 datnodude

Also looking for a way to exclude some resource or to limit the export to high level resources I need (like VMs, storage accounts, etc.)

pabloheimplatz avatar May 05 '24 12:05 pabloheimplatz