Skip to content

Optimize search external cmdlets by not always retrieving the ExternalConnection #4556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 19, 2024

Conversation

KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample
  • Optimization

Related Issues?

N/A

What is in this Pull Request ?

Changed the External Search cmdlets so that they don't explicitly retrieve the entire ExternalConnection instance every time the external connection Id is needed. This makes the code execution faster, less chance of running into throttling and no need anymore for ExternalConnection.Read.All permissions when i.e. adding an item to the external search index.

@gautamdsheth gautamdsheth merged commit c75562c into pnp:dev Nov 19, 2024
2 checks passed
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.

2 participants