Skip to content

Does PNP Powershell Decorate Traffic? #2543

Answered by AndersRask
Andre-DuToit asked this question in Q&A
Discussion options

You must be logged in to vote

Some of the underlying frameworks handle user agent decoration, like NONISV|SharePointPnP|PnPCore/ in PnPHttpClient
In most traffic the PnPFramework RetryHandler will handle soft throttling retries (429)

But it is traffic just as all other traffic, and PnP.* are not officially supported frameworks, so no prioritation is done to my knowledge.

PnP.PowerShell uses almost exclusively CSOM, so you could consider using Graph that tend to use less Resource Units on your RateLimit (amount is depending on how many licenses you have) and also performs much faster.
If you need to use PnP.PowerShell on large lists, make sure your CAML query uses indexed fields and make sure your first filter is the o…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Andre-DuToit
Comment options

@AndersRask
Comment options

@Andre-DuToit
Comment options

@AndersRask
Comment options

Answer selected by Andre-DuToit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants