You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have the CreateWithOptions() process working on the base-console-app sample project. A few of the other samples have additional requirements (settings for AAD domain, SPO site, etc.) that will require a slightly different implementation to work. Trying to address as cleanly and consistently as possibly across the various projects.
The sample instanciates the
IConfidentialClientApplication
by reading the options and then setting them with .With methods.The code could be even simpler by using `ConfidentialClientApplicationBuilder.CreateWithOptions()
An example is available from https://github.com/Azure-Samples/active-directory-dotnet-iwa-v2/blob/1440daf07be2c1f46a2d2c5719478c7d555e69d0/iwa-console/Program.cs#L57-L60 or https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/blob/b0bfe0d8281945435d4b499d0a47ac5a6d8203a7/daemon-console/Program.cs#L62-L78
The text was updated successfully, but these errors were encountered: