Skip to content

Commit 4cf492e

Browse files
authored
build: adjust for changes in the Az.Accounts module (#19020)
1 parent 8a01833 commit 4cf492e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/pipelines/templates-v2/job-publish-symbols-using-symbolrequestprod-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
pwsh: true
6262
ScriptType: InlineScript
6363
Inline: |-
64-
$AzToken = (Get-AzAccessToken -ResourceUrl api://30471ccf-0966-45b9-a979-065dbedb24c1).Token
64+
$AzToken = (Get-AzAccessToken -AsSecureString -ResourceUrl api://30471ccf-0966-45b9-a979-065dbedb24c1).Token | ConvertFrom-SecureString -AsPlainText
6565
Write-Host "##vso[task.setvariable variable=SymbolAccessToken;issecret=true]$AzToken"
6666
6767

0 commit comments

Comments
 (0)