Problem Statement :
Assuming user has an Azure Subscription.
There is a sample .NET API in the DevOps Repo. Created pipeline as mentioned below.
In Left menu, Click Pipeline->New Pipeline->Choose Repo (Azure Repos Git)
On Clicking Run, below error occurred.
Error: “No hosted parallelism has been purchased or granted”.
Go to DevOps ->Organization Setting->Billing ->Set Up Billing
This will list the azure subscription for the logged in tenant.
Choose the subscription and click save.
Once saved, selected subscription id and respective configuration will be listed.
Change the MS Hosted CI/CD ->Paid parallel jobs to 1(Any number of jobs to run parallelly) and click save at the bottom.
Now we can run the pipeline successfully.
Hope this blog helps in resolving the mentioned error.