Enhancements: Updates to API Paging Limitations

Hi Karsten, unfortunately that’s because the script uses a cursor which SP have deprecated. I’ll get around to posting an updated version one of these days if needed but @M_rtenH’s code above should provide you with the logic needed if you wish to update the script yourself.
Or you can replicate the code blocks used for get roles and get APs.
It’s a shame SP have deprecated the cursor as it was quite helpful in keeping code tidy and concise.