From a57c0737ffd794c4134e716db75bb6e7fcc88462 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Wed, 29 May 2024 10:26:43 -0700 Subject: [PATCH] Change scope used for OSS portal client (#8350) --- tools/identity-resolution/Helpers/GitHubToAADConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/identity-resolution/Helpers/GitHubToAADConverter.cs b/tools/identity-resolution/Helpers/GitHubToAADConverter.cs index 9e8129492a1..24ae1e112fa 100644 --- a/tools/identity-resolution/Helpers/GitHubToAADConverter.cs +++ b/tools/identity-resolution/Helpers/GitHubToAADConverter.cs @@ -77,7 +77,7 @@ private async Task GetPeopleLinksAsync() try { // This is aad scope of opensource rest API. - string[] scopes = new [] { "api://66b6ea26-954d-4b68-8f48-71e3faec7ad1/.default" }; + string[] scopes = new [] { "66b6ea26-954d-4b68-8f48-71e3faec7ad1/.default" }; opsAuthToken = await credential.GetTokenAsync(new TokenRequestContext(scopes), CancellationToken.None); } catch (Exception ex)