46

If I run my Azure DevOps pipeline I am getting the below-mentioned error. If anyone knows about this issue please help me.

[error]No hosted parallelism has been purchased or granted. To request a free parallelism grant, please fill out the following form https://aka.ms/azpipelines-parallelism-request

enter image description here

4b0
  • 21,981
  • 30
  • 95
  • 142
Harish Azure
  • 469
  • 1
  • 4
  • 3
  • 1
    Worth looking at this: https://www.compilemode.com/2021/04/no-hosted-parallelism-has-been-purchased-or-granted-azure-devops.html looks like it's recently changed – Corporalis Jun 18 '21 at 15:33
  • 1
    https://devblogs.microsoft.com/devops/change-in-azure-pipelines-grant-for-private-projects/ or https://devblogs.microsoft.com/devops/change-in-azure-pipelines-grant-for-public-projects/ for a bit more information – Corporalis Jun 18 '21 at 15:36
  • 1
    And how about creating a self hosted agent rather than waiting for Microsofts approval. Check out my video and especially check out Chapter 14 which shows how Selfhosted agents can be created https://www.youtube.com/watch?v=aonA7Kb7WGE – Shivprasad Koirala Mar 31 '23 at 18:13

3 Answers3

27

Microsoft has temporarily disabled the free grant of parallel jobs for public projects and for certain private projects in new organizations. However, you can request this grant by submitting a request. Existing organizations and projects are not affected. Please note that it takes us 2-3 business days to respond to your free tier requests.

https://learn.microsoft.com/en-us/azure/devops/pipelines/licensing/concurrent-jobs?view=azure-devops&tabs=ms-hosted

  • 1
    I know this is the most voted answer but one thing you can also do is create a self hosted agent. In other words make your local computer as an agent and register it on Azure Devops. You can go through by Azure devops step by step video and watch Chapter 14 where i shown how to create Self hosted agents https://www.youtube.com/watch?v=aonA7Kb7WGE Its just a simple power shell script which we need to run. – Shivprasad Koirala Mar 17 '23 at 07:46
11

Microsoft has changed the policy to allow the free tier of a hosted agent pools for public and private projects of newly created DevOps organizations by citing the reason that many are abusing this feature by sending a huge amount of traffic on these hosted agents pools. Due to this reason, many are getting the following error during the build pipeline.

Try this solution:

https://www.compilemode.com/2021/04/no-hosted-parallelism-has-been-purchased-or-granted-azure-devops.html

Omid Karami
  • 156
  • 5
7

To get free tier access you can submit request on below Microsoft portal. Generally, it takes 2-3 business days.

https://aka.ms/azpipelines-parallelism-request