Yes, it can't be dynamic. You can set it to max 50 and it will execute parallel threads up to 50 only.
This link has the workarounds given: https://learn.microsoft.com/en-us/azure/data-factory/control-flow-for-each-activity#limitations-and-workarounds
----------
Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav