mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Changed authroisation header value
This commit is contained in:
parent
501e2755bb
commit
ea958641a2
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ Function Get-AzureDevopsAgent() {
|
|||
[Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls13"
|
||||
|
||||
$headers = @{
|
||||
Authorization = "Basic $accessToken"
|
||||
Authorization = "Bearer $accessToken"
|
||||
}
|
||||
|
||||
$uri = "$($baseUri)/distributedtask/pools?api-version=6.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue