ADAL Mac returns 300 AD_ERROR_CACHE_MULTIPLE_USERS error
问题 We are using the ADAL Mac library to authenticate. When using this library we get a 300 error (AD_ERROR_CACHE_MULTIPLE_USERS) with the description: The token cache store for this resource contains more than one user. Please set the 'userId' parameter to the one that will be used. When does this happen? How should one handle this scenario? 回答1: Background ADAL has a token cache for all access/refresh tokens on the device. The cache keys on things like the user, resource being requested, etc.