diff --git a/.azure/pipelines/create-agent-capabilities-environment-variables.yml b/.azure/pipelines/create-agent-capabilities-environment-variables.yml index 63c218e7..fd158ee6 100644 --- a/.azure/pipelines/create-agent-capabilities-environment-variables.yml +++ b/.azure/pipelines/create-agent-capabilities-environment-variables.yml @@ -29,7 +29,7 @@ steps: [Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls13" $headers = @{ - Authorization = "Bearer $accessToken" + Authorization = "Basic $accessToken" } $uri = "$($baseUri)/distributedtask/pools?api-version=6.0"