Skip to content

Commit bca2079

Browse files
committed
Use new app ID for OSS portal
1 parent dc306c5 commit bca2079

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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://2789159d-8d8b-4d13-b90b-ca29c1707afd"
13+
"resource" = "api://66b6ea26-954d-4b68-8f48-71e3faec7ad1"
1414
}
1515
Write-Host "Generating aad token..."
1616
$resp = Invoke-RestMethod $LoginAPIBaseURI -Method 'POST' -Headers $headers -Body $body

tools/identity-resolution/Helpers/GitHubToAADConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private async Task<UserLink[]> GetPeopleLinksAsync()
7777
try
7878
{
7979
// This is aad scope of opensource rest API.
80-
string[] scopes = new [] { "api://2789159d-8d8b-4d13-b90b-ca29c1707afd/.default" };
80+
string[] scopes = new [] { "api://66b6ea26-954d-4b68-8f48-71e3faec7ad1/.default" };
8181
opsAuthToken = await credential.GetTokenAsync(new TokenRequestContext(scopes), CancellationToken.None);
8282
}
8383
catch (Exception ex)

0 commit comments

Comments
 (0)