I was setting up a new hobby project and was just setting up my Azure DevOps CI/CD pipeline. When I ran the pipeline the first time, I got this new 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
Bit weird so that I did some googling and I came across this article
We have 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.
So that's not cool! Anyway, do what the error says and submit a form at https://aka.ms/azpipelines-parallelism-request and you should get your access in a few days.
If you really can't wait, this is how you set up a self hosted agent pool. This is kind of the same thing except you're doing it on your own desktop.
server URL => your DevOps organisation (https://dev.azure.com/wai0211)
authentication type => PAT
Go to DevOps -> Account -> Security -> Personal Access Token
Configure it by giving the relevant permissions
Copy the token and put it into the powershell window
Enter the rest of the commands as required
Make sure you point the pipeline to the new agent pool