Skip to content

Commit 919f6f3

Browse files
azure-sdksima-zhu
andauthored
Use the new audience field (Azure#19587)
Co-authored-by: sima-zhu <sizhu@microsoft.com>
1 parent b0e952a commit 919f6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/common/scripts/Helpers/Metadata-Helpers.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Generate-AadToken ($TenantId, $ClientId, $ClientSecret)
1010
"grant_type" = "client_credentials"
1111
"client_id" = $ClientId
1212
"client_secret" = $ClientSecret
13-
"resource" = "api://repos.opensource.microsoft.com/audience/7e04aa67"
13+
"resource" = "api://2789159d-8d8b-4d13-b90b-ca29c1707afd"
1414
}
1515
Write-Host "Generating aad token..."
1616
$resp = Invoke-RestMethod $LoginAPIBaseURI -Method 'POST' -Headers $headers -Body $body

0 commit comments

Comments
 (0)