Skip to content

Conversation

@n3rada
Copy link

@n3rada n3rada commented Jul 9, 2025

Hello @dafthack 👋

Little PR to add some enhancements:

  • Added MaxSites parameter to optionally limit number of unique SharePoint sites fetched
  • Improved live progress output for large fetches
  • Fixes Get-SharePointSiteURLs gets only the top 500 results #32
    Implements full pagination using hitsContainers.moreResultsAvailable; no longer limited to top 500 results.

You can easily try this by going to Graph Explorer, copying the JWT, and running:

Invoke-ImportTokens -AccessToken <JWT>

Then:

image

image

@n3rada n3rada changed the title fix #32 (fetch all SharePoint sites) and add MaxSites parameter fix #32 (fetch all SharePoint sites) and add MaxSites parameter Jul 9, 2025
@n3rada
Copy link
Author

n3rada commented Nov 3, 2025

@dafthack up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get-SharePointSiteURLs gets only the top 500 results

1 participant