Skip to content

Commit

Permalink
Update to newer resource id for open source api (#23460)
Browse files Browse the repository at this point in the history
Co-authored-by: Wes Haggard <Wes.Haggard@microsoft.com>
  • Loading branch information
azure-sdk and weshaggard committed Sep 18, 2024
1 parent 88e6a07 commit a5d81d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/scripts/Helpers/Metadata-Helpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Generate-AadToken ($TenantId, $ClientId, $ClientSecret)
"grant_type" = "client_credentials"
"client_id" = $ClientId
"client_secret" = $ClientSecret
"resource" = "api://2789159d-8d8b-4d13-b90b-ca29c1707afd"
"resource" = "api://2efaf292-00a0-426c-ba7d-f5d2b214b8fc"
}
Write-Host "Generating aad token..."
$resp = Invoke-RestMethod $LoginAPIBaseURI -Method 'POST' -Headers $headers -Body $body
Expand Down

0 comments on commit a5d81d8

Please sign in to comment.