How to resolve "No hosted parallelism has been purchased or granted" in free tier?

chw 236 Reputation points
2021-07-15T18:40:29.757+00:00

Hello,

I've just started with Azure DevOps pipelines and just created a very simple pipeline with a Maven task. I don't care for parallelism and I'm not sure in which way I've added it to my pipeline. Is there any way to use the Maven task on the free tier without parallelism?

This is my pipeline:

trigger:
- master

pool:
  vmImage: ubuntu-latest

steps:
- task: Maven@3

Thanks

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
39,702 questions
{count} votes

15 answers

Sort by: Most helpful
  1. Leonardo Porras Gonzalez 1 Reputation point
    2021-11-15T21:28:51.973+00:00

    Hi @chw ,
    If you have your project private with Free tier and Microsoft Hosted, you have 1 parallel jobs, but if you have your project public with Free tier, you dont have parallel jobs.

    You can check in Project Settings, Pipelines, Parallel Jobs

    0 comments No comments

  2. Chris Bratlien 1 Reputation point
    2022-04-14T22:16:24.063+00:00

    @Mika Riekkinen Thank you for sharing about the Self-hosted Agent option.

    I also hit the security snags you mentioned on Catalina. But they went away after I re-extracted the .tgz with this crucial step just before:

    Clear the extended attribute on the tar file: xattr -c vsts-agent-osx-x64-V.v.v.tar.gz.

    https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/v2-osx?view=azure-devops#azure-pipelines

    0 comments No comments

  3. Robert Smith 0 Reputation points
    2023-05-16T10:43:23.9933333+00:00

    Submitted the form.

    We're using this for business purpose over here. Terraform deployment / Host Pools specifically with our software on them for development (for 3 people), as we weren't too satisfied with Windows 365 performance, and had to move to AVD on NV6/NV14 for Game Development. Not the greatest week I'm now having at my studio...

    Here's to hoping nefarious end-users quit while they're ahead. Sorry that you guys got such a headache.

    For more information about this restriction, see this announcement: https://devblogs.microsoft.com/devops/change-in-azure-pipelines-grant-for-private-projects/

    This action is a preventative measure due to some bad actors. You must request access, and be patient. Bad Apples have spoiled the bunch in this specific case. Edit: Microsoft responded within moments! You must connect your subscription in Azure from your Tenant and set your cost and billing plan up. Ours was approved for pro rated, so it was not a problem. if you encounter this error, please connect your Azure subscription. Your subscription must have a budget and cost plan set up soundly, and a payment method connected to be approved for the free 1800 minutes, and your global administrator (Owner) account should be populated well enough for them to identify. It helped us get approved 15 minutes after I posted this. Thank you for a very fast response!

    0 comments No comments

  4. OSCAR BONILLA RODRIGUEZ 35 Reputation points
    2024-01-26T03:07:34.07+00:00

    Hello all

    I found the next in Microsoft documentation.

    I hope this helps anyone else. "Azure Pipelines has temporarily disabled the automatic free grant of Microsoft-hosted parallel jobs in new organizations for public projects and for certain private projects. If you don't have any parallel jobs, your pipelines will fail with the following error: ##[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. Check your Microsoft-hosted parallel jobs as described in the following section, and if you have zero parallel jobs, you can request a free grant of parallel jobs. To request the free grant of parallel jobs for your organization, submit a request. Please allow 2-3 business days to respond to your grant request."

    https://learn.microsoft.com/en-us/azure/devops/pipelines/troubleshooting/troubleshoot-start?view=azure-devops#check-for-available-parallel-jobs


  5. Rudhin M 0 Reputation points
    2024-06-03T19:19:56.3933333+00:00

    I was able to continue following @Kondapalli Karthi Kiran's comment above, created a new subscription with Basic "Pay As You Go" plan, logged in to azure devops and selected the newly created subscription, and changed the MS hosted parallel job value to 1.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.