Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Fixed timeouts on Get-PnPSiteCollectionAdmin - #2769

Merged
erwinvanhunen merged 4 commits into
pnp:devfrom
MrTantum:SiteCollectionAdminsFix
Jul 7, 2020
Merged

Fixed timeouts on Get-PnPSiteCollectionAdmin#2769
erwinvanhunen merged 4 commits into
pnp:devfrom
MrTantum:SiteCollectionAdminsFix

Conversation

@MrTantum

@MrTantum MrTantum commented Jun 29, 2020

Copy link
Copy Markdown
Contributor

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

Fixed timeouts when using Get-PnPSiteCollectionAdmin on site collections with many users. The old logic loaded all users of the site and filtered afterwards. The new logic includes the filter in the query itself.

The same problem will occur when using GetAdministrators from SecurityExtensions in PnP-Sites-Core. This will need an additional fix.

Fixed timeouts on Get-PnPSiteCollectionAdmin on site collections with many users.
@KoenZomers KoenZomers added the status:checked and ready for merge ✔ PR has been checked and is ready for merge label Jun 29, 2020
@KoenZomers

Copy link
Copy Markdown
Collaborator

Thanks @MrTantum !

@erwinvanhunen
erwinvanhunen merged commit 88dfc06 into pnp:dev Jul 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

status:checked and ready for merge ✔ PR has been checked and is ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants