Compare commits

...

1 Commits

Author SHA1 Message Date
Dustin L. Howett
c166ba1cf2 build: adjust for changes in the Az.Accounts module
They made secure strings the default. Doing it this way maintains compatibility with the version before and after the default changed.
2025-06-11 15:43:40 -05:00

View File

@@ -68,7 +68,7 @@ jobs:
pwsh: true
ScriptType: InlineScript
Inline: |-
$AzToken = (Get-AzAccessToken -ResourceUrl api://30471ccf-0966-45b9-a979-065dbedb24c1).Token
$AzToken = (Get-AzAccessToken -AsSecureString -ResourceUrl api://30471ccf-0966-45b9-a979-065dbedb24c1).Token | ConvertFrom-SecureString -AsPlainText
Write-Host "##vso[task.setvariable variable=SymbolAccessToken;issecret=true]$AzToken"