Troubleshoot Managed DevOps Pools issues

This article provides solutions to common Managed DevOps Pools issues.

Pool creation errors

Error code Description
PoolProvisioningFailed Pool creation failure due to Azure DevOps organization permissions
UnauthorizedAccessToVirtualNetwork Pool creation failure due to VNet permissions

Pool creation failure due to Azure DevOps organization permissions

Pool creation fails with an error similar to one the following error messages.

The logged in user was not found in the Azure DevOps organization

  • Validation failure "PoolProvisioningFailed": "Failed to provision agent pool. Exception: The logged in user, <your user>, was not found in the Azure DevOps organization provided, <your Azure DevOps organization>."

To resolve the issue:

The logged in user does not have Manage permissions in the Azure DevOps organization

  • Validation failure "PoolProvisioningFailed": "Failed to provision agent pool. Exception: The logged in user, <your user>, does not have Manage permissions in the Azure DevOps organization provided, <your Azure DevOps organization>."

To resolve the issue:

Pool creation failure due to VNet permissions

Pool creation fails with a UnauthorizedAccessToVirtualNetwork error similar to the following error: Validation failure "UnauthorizedAccessToVirtualNetwork": "DevOpsInfrastructure service principal does not have Read access to virtual network <your VNet> in resource group <your resource group>. Give Reader and Network Contributor access to DevOpsInfrastructure service principal and try again..

To resolve this issue:

See also