New-PnPBatch limit for create items in a sp list #2754
              
                Unanswered
              
          
                  
                    
                      Christian-Stahl
                    
                  
                
                  asked this question in
                General
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Here comes just a slightly nerdy question :) I tried to create 100.000 items in a SPO site, that worked just fine but trying to create 1.000.000 items, didn't seem to work, nothing seemed to happen. Whats the teoretical limit in this Cmdlet or what else could be the limit here except the list itself, and what happens on the client side when run this, before executing on the serverside
1..500 | ForEach-Object {
Add-PnPListItem -List "TestList" -Values @{"Title"="Item $_"} -Batch $batch
}
Invoke-PnPBatch -Batch $batch
.. or if using a for loop instead
Cheers :)
Beta Was this translation helpful? Give feedback.
All reactions