I'm strugling for several days in order to get login from an Android app on Microsoft Active Directory. I'm using the latest version of the AndroidAdalBinding dll. AcquireToken is called like this:
context = new AuthenticationContext(this, AadAuthority, true, cache);<br />
context.AcquireToken(this, AadResource, AadClientID, AadRedirect, "", new AdalCallback(this));<br />
This shows, as expected the login screen asking for user name and password. So far so good. After entering these details I Always receive the unusefull message: Error Code:-2 Couldn't find the URL.
It would be usefull to know which URL cannot be found, is it the Redirect URL or the so called AadResource URL. It looks to me the Authority URL is correct as I get at the Login page.