I was trying one of the Azure Active Directory samples Microsoft has published here: https://github.com/AzureADSamples/WebApp-WebAPI-OpenIDConnect-DotNet
I managed t
In ADAL v3, you create a class that implements IAdalLogCallback:
public class AdalLoggerCallback : IAdalLogCallback
{
public void Log(LogLevel level, string message)
{
Console.Write(message);
}
}
Then, set the Callback property of the static LoggerCallbackHandler object:
LoggerCallbackHandler.Callback = new AdalLoggerCallback();