SharePoint SPSiteDataQuery List Limit

I have recently encountered the following error when running an SPSiteDataQuery.

“The query cannot be completed because the number of lists in the query exceeded the allowable limit. For better results, limit the scope of the query to the current site or list or use a custom column index to help reduce the number of lists.”

It looks like an SPSiteDataQuery is limited to 1000 lists / document libraries.

You May Also Like

About the Author: rnowik

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.