-
Notifications
You must be signed in to change notification settings - Fork 382
Open
Labels
Possible-SolutionSimilar-Issueneeds attentionDelete label after triageDelete label after triagepublic-clientuntriagedDo not delete. Needed for AutomationDo not delete. Needed for Automation
Description
Library version used
4.68.0
.NET version
9.0.102
Scenario
PublicClient - desktop app
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
When following the documentation at https://learn.microsoft.com/en-us/entra/identity-platform/scenario-desktop-acquire-token-device-code-flow?tabs=dotnet to acquire an access token via device request, NotImplementedException is thrown. This appears to be coming from
Line 43 in 235d32d
throw new NotImplementedException();
Relevant code snippets
var Scopes = new string[] { "user.read" };
var pca = PublicClientApplicationBuilder
.Create(ClientId)
.WithExperimentalFeatures()
.WithOidcAuthority(Authority)
.WithDefaultRedirectUri()
.Build();
pca.AcquireTokenWithDeviceCode(Scopes, deviceCodeResult =>
{
Console.WriteLine(deviceCodeResult.Message);
return Task.FromResult(0);
}).ExecuteAsync();Expected behavior
No response
Identity provider
Other
Regression
No response
Solution and workarounds
No response
Metadata
Metadata
Assignees
Labels
Possible-SolutionSimilar-Issueneeds attentionDelete label after triageDelete label after triagepublic-clientuntriagedDo not delete. Needed for AutomationDo not delete. Needed for Automation