Skip to content
Daniel Dobalian edited this page Jul 11, 2018 · 9 revisions

Frequently Asked Questions (FAQ)

  1. If I call AcquireTokenByRefreshToken(), the UserInfo in AuthenticationResult is always null. This doesn’t happen if I call AcquireToken(), in which case UserInfo is provided for Azure Active Directory authorities.
    The token service does not pass the user information from the token endpoint, when using a refresh token to obtain a new access token. The only reason why AcquireToken works fine in this case is that AcquireToken leverages the cached UserInfo already associated with the refresh token. In general, we recommend using AcquireToken only, as the method will leverage automatically the cache (either the last access token if still valid or using the available refresh token), while AcquireTokenByRefreshToken is a manual approach.

  2. How do I debug and capture fiddler trace or any other network track to debug Android AuthN issues?
    Please follow the instructions here: https://github.com/AzureAD/azure-activedirectory-library-for-android#network-traces

Clone this wiki locally