
Rather than relying entirely on Server Logic, I would recommend using Power Automate or, ideally, an Azure Function to handle the batch processing.
Your sequence could look like this:
Prepare batches in Power Pages → Use Server Logic to submit the request → Power Automate/Azure Function processes the batches
This approach keeps Server Logic lightweight and avoids the risk of hitting execution-time limits during large-volume processing.