I have a SQL view with 1,101 rows. I've setup a Flow to:
get all SQL rows (no issues)
get all items in a SharePoint list (no issues)
Initialize a variable of type array (no issues) then append my SharePoint get items list results to the array variable.

Here you can see there are only 500 items instead of 1,101.

When I was testing, I filtered out data so I only received less than 100 rows. This worked as expected. Now, when I run my Flow and more than 500 SharePoint items are returned, the Flow does a comparison to see if my row in SQL exists in my SharePoint list. After the 500th item, new items are getting created as a duplicate.
I checked the settings of the Apply to each step and Append to array variable. There is not a setting that can be changed to pull in more than 500 items. I suspect it's the Append to array variable step as I have another Apply to each that I'm not using a variable on and that shows all 1,101 items waiting to get updated.
Does anybody have a workaround for this? I can't find any MS documentation stating there's a 500 item limit when working with an array.