I have setup WebApi application and under permissions it has access to Windows Azure Active Directory.
The application is able to access the graph api, and there is no prompt for the user to login.
How can I achieve a similar setup for my WebApi? I want only applications that have permissions setup to access it. I set it up this way: http://bitoftech.net/2014/09/12/secure-asp-net-web-api-2-azure-active-directory-owin-middleware-adal/
But unlike when accessing the graph api for "Windows Azure Active Directory", it prompts for a login.