question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Get-PartnerCustomerBillingProfile : There were not enough free threads in the ThreadPool to complete the operation

See original GitHub issue

Steps to reproduce

ForEach-Object loops through CustomerIDs issuing cmdlets like Get-PartnerCustomerBillingProfile

Expected behavior

Expected output to be valid not reporting ThreadPool issue

Actual behavior

Error message stating Get-PartnerCustomerBillingProfile : There were not enough free threads in the ThreadPool to complete the operation

Environment

OsName               : Microsoft Windows 10 Enterprise
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-bit
WindowsVersion       : 1903
WindowsBuildLabEx    : 18362.1.amd64fre.19h1_release.190318-1202
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

 $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      18362  145

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
ghostcommented, Dec 27, 2019

I have confirmed with another individual who was encountering this issue that it has been resolved. If you are still having issues please let us know.

0reactions
ghostcommented, Dec 19, 2019

@adrianwells can you update to version 3.0.2 and try this operation again?

The issue has been resolved, but before I close this I wanted to confirm with you that everything is working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"There were not enough free threads in the ThreadPool to ...
There were not enough free threads in the ThreadPool to complete the operation. Should I try to change the default settings for the...
Read more >
There were not enough free threads in the ThreadPool to ...
InvalidOperationException, There were not enough free threads in the ThreadPool to complete the operation, Worker threads,
Read more >
There were not enough free threads in the ThreadPool to ...
I has one mistake. System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation. What are ...
Read more >
[RESOLVED] Not enough free threads in the ThreadPool
Hello There, anybody familiar with these error? "There were not enough free threads in the ThreadPool object to complete the operation".
Read more >
Solved: Threadpool - best practice
Find answers to Threadpool - best practice from the expert ... "There were not enough free threads to complete the operation" error
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found