mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +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"
|
[Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls13"
|
||||||
|
|
||||||
$headers = @{
|
$headers = @{
|
||||||
Authorization = "Basic $accessToken"
|
Authorization = "Bearer $accessToken"
|
||||||
}
|
}
|
||||||
|
|
||||||
$uri = "$($baseUri)/distributedtask/pools?api-version=6.0"
|
$uri = "$($baseUri)/distributedtask/pools?api-version=6.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue