Increase number of returned objects in Service Provider Foundation

I was working with Service Provider Foundation (SPF) at a customer and noticed that I didn’t get all objects returned when I did a query against the SPF. So I started to search the web why it only returned 500 object. After no luck I started to look trough the SPF configuration and found the setting in the web.config file in inetpub\SPF\SC2012R2\VMM folder there is a value you can set:


So if you want more objects returned increase the value “maxResults” to a number that fits your needs. In my example below I’ve increased the max returned objects to 5000:

“<EntitySet name=”*” maxResults=”5000” />”

After you change the value you need to restart the IIS application VMM before the new value is loaded in the IIS application.

I hope this can help some of you that work with SPF


This entry was posted in Service Provider Foundation and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s