WithAadUserPromptAuthentication method not available in .NetStandard library
In Kusto.data Nuget for .NET framework WithAadUserPromptAuthentication method is available in KustoCOnnectionStringBuilder class.
However this is missing from .NetStandard Nuget library.
Can this be added?
Ray Min commented
Without the function, how can we log in AAD?
Chris Hamons commented
This affects all public documentation (https://docs.microsoft.com/en-us/azure/kusto/api/netfx/about-kusto-data) and samples.
VladikB - MSFT commented
ADAL, the authentication library currently in use with ADX, does not support popping up an interactive UI for user authentication in .NET Core, so this is an infrastructure limitation.
Specifically to work around this issue, KustoConnectionStringBuilder can be initialized with the following properties to achieve username/password AAD authentication:
This approach has two disadvantages:
1. You pass in the password in cleartext
2. The resulting authentication will never be Multi-Factor
We are working to adapt our SDKs to work with the new authentication library (MSAL), but I am not sure this issue is addressed there.