Is it possible to use AzureAD authentication with a console application?

Viewed 3947

The idea is to make it work like Azure Powershell, i.e. the standard Active Directory authentication dialog pops up, I enter my credentials, AzureAD does its thing and then the console application cann access a certain webservice.

Is this possible? It shouldn't be that hard but I could find no example.

Looking at the WPF example, I see it sets a client id in the app.config. Is this really necessary? I mean, a single page js app isn't registered with the AD either, is it?

1 Answers
Related