WithAadUserPromptAuthentication mising so i cant use sample code which is provided by Microsoft documentation? That Is :
var serviceUri = "Service URI, typically of the form https://cluster.region.kusto.windows.net";
var authority = "contoso.com"; // Or the AAD tenant GUID: "..."
// Recommended syntax
var kustoConnectionStringBuilder = new KustoConnectionStringBuilder(serviceUri)
.WithAadUserPromptAuthentication(authority);
// Legacy syntax
var kustoConnectionStringBuilder = new KustoConnectionStringBuilder(serviceUri)
{
FederatedSecurity = true,
InitialCatalog = "NetDefaultDB",
Authority = authority,
};
// Equivalent Kusto connection string: $"Data Source={serviceUri};Database=NetDefaultDB;Fed=True;Authority Id={authority}"
Is there is any new solution instead of WithAadUserPromptAuthentication methode?

