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

Fixed timeouts on Get-PnPSiteCollectionAdmin #2769

Merged
merged 4 commits into from
Jul 7, 2020

Conversation

MrTantum
Copy link
Contributor

@MrTantum MrTantum commented Jun 29, 2020

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
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.

None yet

3 participants