we are using ADAL to acquire tokens by a service account silently (no prompt, no redirect). This is our sample code:
var clientId = "";
var tenantDomain = "";
var userName = "";
var password = "";
var context = new AuthenticationContext(string.Format("https://login.windows.net/{0}", tenantDomain));
var credential = new UserPasswordCredential(userName, password);
var result = await context.AcquireTokenAsync("https://management.core.windows.net/", clientId, credential);
How can I acquire tokens using MSAL?
I haven't used this type of authentication in a long time since this is no longer encouraged to be used.
you would also need to set your app reg like this and seems like this option is gone:
code sample
You may want to replace it with an SPN secret auth: https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/service-prin-aad-token