As per subject, I need to export a record of all failed imports which exceed 5000 records. How can I do this please?
HI Partner
Yes there is a limit of 5000 records and this seems to be by design for now, so you will have to export with a batch of 5000 records
You can raise an idea here for this issue https://experience.dynamics.com/ideas/
Hi Akash,
How can I export in batches of 5000 though?
hi,
if you use OnPermise version, run this code on PowerShell:
param(#optional params [string]$ConfigurationEntityName, [string]$SettingName, [object]$SettingValue, [Guid]$Id ) $ConfigurationEntityName = "Deployment" $SettingName = "AggregateQueryRecordLimit" $SettingValue = 50000 $RemoveSnapInWhenDone = $False if (-not (Get-PSSnapin -Name Microsoft.Crm.PowerShell -ErrorAction SilentlyContinue)) { Add-PSSnapin Microsoft.Crm.PowerShell $RemoveSnapInWhenDone = $True } $setting = New-Object "Microsoft.Xrm.Sdk.Deployment.ConfigurationEntity" $setting.LogicalName = $ConfigurationEntityName if($Id) { $setting.Id = $Id } $setting.Attributes = New-Object "Microsoft.Xrm.Sdk.Deployment.AttributeCollection" $keypair = New-Object "System.Collections.Generic.KeyValuePair[String, Object]" ($SettingName, $SettingValue) $setting.Attributes.Add($keypair) Set-CrmAdvancedSetting -Entity $setting if($RemoveSnapInWhenDone) { Remove-PSSnapin Microsoft.Crm.PowerShell }
Best Regards.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
MVP-Daniyal Khaleel 127
Tom_Gioielli 125 Super User 2025 Season 2